Displaying 1 result from an estimated 1 matches for "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
...ists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141229/250681.html>
I am curious if this change in behavior was an intended feature or perhaps a side effect.
Here is my methodology.
The asm test 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...