BR3058845: mostly fix bogus warning with implicit operand size override
commitb3cee5a57ab2cd0a99ad01ac9db73e31ae90d519
authorVictor van den Elzen <victor.vde@gmail.com>
Sun, 7 Nov 2010 18:56:14 +0000 (7 19:56 +0100)
committerVictor van den Elzen <victor.vde@gmail.com>
Sun, 7 Nov 2010 22:27:48 +0000 (7 23:27 +0100)
treeac9dfc68d616388aa3254e5e4d4f447149c7af71
parent0bae3e5ffa72c141cffd61292ed0642e33d0495b
BR3058845: mostly fix bogus warning with implicit operand size override

The implicit operand size override code didn't set the operand size
prefix, which confused the size calculation code for the range check.

The BITS 64 operand size calculation is still off, but "fixing" it by
making it 32-bit unless REX.W is set breaks PUSH and maybe others.
assemble.c
test/br3058845.asm [new file with mode: 0644]