From c74982cfcc02e00ca3776412417bba07d3182bbf Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 25 Oct 2021 00:47:29 -0700 Subject: fix size of operand for ldpsw --- src/armv8/a64.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs index 68fe029..9e2afcc 100644 --- a/src/armv8/a64.rs +++ b/src/armv8/a64.rs @@ -2387,7 +2387,7 @@ impl Decoder for InstDecoder { 0b011 => { inst.opcode = Opcode::LDPSW; imm7 <<= 2; - SizeCode::W + SizeCode::X }, 0b100 => { inst.opcode = Opcode::STP; @@ -2446,7 +2446,7 @@ impl Decoder for InstDecoder { 0b011 => { inst.opcode = Opcode::LDPSW; imm7 <<= 2; - SizeCode::W + SizeCode::X }, 0b100 => { inst.opcode = Opcode::STP; @@ -2505,7 +2505,7 @@ impl Decoder for InstDecoder { 0b011 => { inst.opcode = Opcode::LDPSW; imm7 <<= 2; - SizeCode::W + SizeCode::X }, 0b100 => { inst.opcode = Opcode::STP; -- cgit v1.1