BR3058845: mostly fix bogus warning with implicit operand size override
commit41f1f2badc86bfb3bdb7ef11697ed01d0c476207
authorVictor van den Elzen <victor.vde@gmail.com>
Sun, 7 Nov 2010 18:56:14 +0000 (7 19:56 +0100)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 21 Nov 2010 16:40:49 +0000 (21 19:40 +0300)
tree4cee1ff7ff6cae4c45e44905be328b47fa98db6c
parente635491941a2cac2e2239c2230ea3a82af4860ff
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]