BR 3392227: Remove SB flag from SHIFT rm,imm
commit7c6baca6d0b2333f5e53b96ccdb9f0295465de98
authorH. Peter Anvin <hpa@zytor.com>
Wed, 26 Sep 2012 05:45:35 +0000 (25 22:45 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 26 Sep 2012 05:46:56 +0000 (25 22:46 -0700)
tree6d2c35b67a9764fe7833b3e67d698776283d921f
parent6e8bbfb62c1e5f97844852d43623037b8151fb91
BR 3392227: Remove SB flag from SHIFT rm,imm

Remove the SB flag from the rm,imm forms of the shift/rotate
instructions; presumably the intent was to mark the immediate as a
byte immediate, but it instead caused the memory operand to be
accepted without a size, but generate the incorrect code as a result.

Note: it would be good to modify the UNITY filter so that the explicit
form:

shl eax,byte 1

... forces the imm form rather than the ,1 form.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
insns.dat