The decoder adds the TEST immediate of opcodes F6 and F7 when ModRM.reg is 0 or 1. The check excluded VEX and two-byte opcodes but not EVEX, so an EVEX.0F F6 (VPSADBW) whose ModRM.reg is 0 or 1 was given an extra imm8 and decoded one byte too long. VPSADBW has no immediate (Intel SDM Vol. 2B, VPSADBW). |
||
|---|---|---|
| .. | ||
| include/codegen | ||
| src | ||
| tests | ||