aboutsummaryrefslogtreecommitdiff
path: root/src/armv8
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-10-21 17:56:56 -0700
committeriximeow <me@iximeow.net>2021-10-21 17:56:56 -0700
commit31b377ba5ce318126ecf6a7f3663e5453ae046a1 (patch)
tree0f54aa2bd0fc954352a4c89b75228ef604a7c123 /src/armv8
parent097888dd845b7292bb107af80d87bc926001a9a1 (diff)
fix rev/rev32
Diffstat (limited to 'src/armv8')
-rw-r--r--src/armv8/a64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs
index 3609103..37f02b8 100644
--- a/src/armv8/a64.rs
+++ b/src/armv8/a64.rs
@@ -1382,9 +1382,9 @@ impl Decoder<ARMv8> for InstDecoder {
0b000001_0 => (Opcode::REV16, SizeCode::W),
0b000001_1 => (Opcode::REV16, SizeCode::X),
0b000010_0 => (Opcode::REV, SizeCode::W),
- 0b000010_1 => (Opcode::REV, SizeCode::X),
+ 0b000010_1 => (Opcode::REV32, SizeCode::X),
0b000011_0 => (Opcode::Invalid, SizeCode::W),
- 0b000011_1 => (Opcode::REV32, SizeCode::X),
+ 0b000011_1 => (Opcode::REV, SizeCode::X),
0b000100_0 => (Opcode::CLZ, SizeCode::W),
0b000100_1 => (Opcode::CLZ, SizeCode::X),
0b000101_0 => (Opcode::CLS, SizeCode::W),