From 31b377ba5ce318126ecf6a7f3663e5453ae046a1 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 21 Oct 2021 17:56:56 -0700 Subject: fix rev/rev32 --- src/armv8/a64.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/armv8') 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 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), -- cgit v1.1