From c7caf34a152cc4103c1ba0e7a8da22ea340aaa3d Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 3 Aug 2020 02:03:51 -0700 Subject: vextractf128 --- src/long_mode/vex.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/long_mode') diff --git a/src/long_mode/vex.rs b/src/long_mode/vex.rs index 889d0a8..7cfcc3d 100644 --- a/src/long_mode/vex.rs +++ b/src/long_mode/vex.rs @@ -461,7 +461,9 @@ fn read_vex_operands>(bytes: &mut T, instruction: &mut Inst let mem_oper = read_E_xmm(bytes, instruction, modrm, length)?; instruction.operands[0] = mem_oper; instruction.operands[1] = OperandSpec::RegRRR; - instruction.operand_count = 2; + instruction.imm = read_imm_unsigned(bytes, 1, length)?; + instruction.operands[2] = OperandSpec::ImmU8; + instruction.operand_count = 3; Ok(()) } -- cgit v1.1