if (i.rex2 & REX_B)
i.vex.bytes[1] |= 0x08;
if (i.rex2 & REX_X)
- i.vex.bytes[2] &= ~0x04;
+ {
+ gas_assert (i.rm.mode != 3);
+ i.vex.bytes[2] &= ~0x04;
+ }
if (i.vex.register_specifier
&& i.vex.register_specifier->reg_flags & RegRex2)
i.vex.bytes[3] &= ~0x08;
[ ]*[a-f0-9]+:[ ]+62 d4 24 18 8f[ ]+\(bad\)
[ ]*[a-f0-9]+:[ ]+c3[ ]+.*
[ ]*[a-f0-9]+:[ ]+62 fc 7d 0c 60 c7[ ]+movbe \{bad-nf\},%r23w,%ax
+[ ]*[a-f0-9]+:[ ]+62 fc 79 08 60[ ]+\(bad\)
+[ ]*[a-f0-9]+:[ ]+c2[ ]+.*
#pass
#EVEX_MAP4 movbe %r18w,%ax set EVEX.nf = 1.
.insn EVEX.L0.66.M12.W0 0x60, %di, %ax {%k4}
+
+ # EVEX_MAP4 movbe %r18w,%ax set EVEX.P[10] = 0.
+ .byte 0x62, 0xfc, 0x79, 0x08, 0x60, 0xc2
if (!fetch_modrm (ins))
return &err_opcode;
+ if (ins->modrm.mod == 3 && (ins->rex2 & REX_X))
+ return &bad_opcode;
+
/* Set vector length. For EVEX-promoted instructions, evex.ll == 0b00,
which has the same encoding as vex.length == 128 and they can share
the same processing with vex.length in OP_VEX. */