Displaying 1 result from an estimated 1 matches for "r225079".
Did you mean:
r225039
2015 Jul 02
2
[LLVMdev] [x86] Compiling in 32-bit mode causes 64-bit asm source to be silently converted to its 32-bit equavilent
...case.
$ cat j64.s
jrcxz foo
foo:
Compiling the test case in 32-bit mode with Clang r225039.
$ r225039/clang.exe j64.s -c -m32 -target x86_64-pc-linux-gnu
j64.s:1:9: error: instruction requires: 64-bit mode
jrcxz foo
^
Compiling the test case in 32-bit mode with Clang r225079 then disassembling the obj file to look for the jump instruction.
$ r225079/clang.exe j64.s -c -m32 -target x86_64-pc-linux-gnu
(No Error)
$ objdump j64.o -d | grep j
j64.o: file format elf32-i386
0: e3 00 jecxz 2 <foo>
Just FYI, this is not blocking us in any...