diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-09-11 21:41:45 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-09-11 21:41:45 +0000 |
commit | 038197988bcd7619657633da7116c7292187d4ae (patch) | |
tree | 444820666e37bb6aeda7da94dff616243fe50851 /test/MC/Disassembler/X86/simple-tests.txt | |
parent | 842f58f9be82e1a0d2751e7982ef3641829acf87 (diff) | |
download | external_llvm-038197988bcd7619657633da7116c7292187d4ae.zip external_llvm-038197988bcd7619657633da7116c7292187d4ae.tar.gz external_llvm-038197988bcd7619657633da7116c7292187d4ae.tar.bz2 |
Fix disassembling of reverse register/register forms of ADD/SUB/XOR/OR/AND/SBB/ADC/CMP/MOV.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/X86/simple-tests.txt')
-rw-r--r-- | test/MC/Disassembler/X86/simple-tests.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/simple-tests.txt b/test/MC/Disassembler/X86/simple-tests.txt index 62f3464..d4e7b12 100644 --- a/test/MC/Disassembler/X86/simple-tests.txt +++ b/test/MC/Disassembler/X86/simple-tests.txt @@ -161,3 +161,15 @@ # CHECK: pause 0xf3 0x90 + +# CHECK: addl %eax, %edi +0x01 0xc7 + +# CHECK: addl %edi, %eax +0x03 0xc7 + +# CHECK: movl %eax, %edi +0x89 0xc7 + +# CHECK: movl %edi, %eax +0x8b 0xc7 |