[llvm-commits] [patch] Fix the operand order of the test instruction

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Nov 25 10:41:02 PST 2010


I noticed that assembling "testq %rbx, %rax" and then disassembling
it with objdump would print "testq %rax, %rbx". The attached patch
fixes it, but I wonder if there is any reason why the arguments were
placed in this order. Is this how the darwin assembler handles them?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: text/x-diff
Size: 1878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101125/8fcf0800/attachment.patch>


More information about the llvm-commits mailing list