aboutsummaryrefslogtreecommitdiff
path: root/src/armv8
diff options
context:
space:
mode:
Diffstat (limited to 'src/armv8')
-rw-r--r--src/armv8/a64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs
index c51d526..6bce61e 100644
--- a/src/armv8/a64.rs
+++ b/src/armv8/a64.rs
@@ -2827,7 +2827,7 @@ impl Decoder<ARMv8> for InstDecoder {
// V == 0
let Rt = (word & 0x1f) as u16;
let Rn = ((word >> 5) & 0x1f) as u16;
- let imm12 = ((((word >> 10) as i16) & 0x0fff) << 4) >> 4;
+ let imm12 = ((word >> 10) & 0x0fff) as i16;
let size_opc = ((word >> 22) & 0x3) | ((word >> 28) & 0xc);
match size_opc {
0b0000 => {