diff options
Diffstat (limited to 'src/shared/evex.in')
-rw-r--r-- | src/shared/evex.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/shared/evex.in b/src/shared/evex.in index f9574db..b9a77e8 100644 --- a/src/shared/evex.in +++ b/src/shared/evex.in @@ -4616,12 +4616,9 @@ pub(crate) fn read_evex_operands<T: Reader<<Arch as yaxpeax_arch::Arch>::Address set_reg_sizes(instruction, RegisterBank::X); } - generated::EVEXOperandCode::Gm_V_E_xmm_imm8_sae => { - if instruction.opcode == Opcode::VRNDSCALESD { - if instruction.prefixes.evex_unchecked().vex().w() { - return Err(DecodeError::InvalidOpcode); - } - } + generated::EVEXOperandCode::Gm_V_E_xmm_imm8_sae_W1 => { + ensure_W(instruction, 1)?; + let modrm = read_modrm(words)?; set_rrr(instruction, modrm); let mem_oper = read_E_vex(words, instruction, modrm, RegisterBank::X)?; |