diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-07 04:28:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-07 04:28:06 +0000 |
commit | 36a9b31b981553350f5cc4adad9917656c20e96e (patch) | |
tree | e0da6e74e83757dc7f9def0f271357444bc556c3 /test/MC | |
parent | 6a971bb8f59f4e20c953a2cc360cab7bae8642e4 (diff) | |
download | external_llvm-36a9b31b981553350f5cc4adad9917656c20e96e.zip external_llvm-36a9b31b981553350f5cc4adad9917656c20e96e.tar.gz external_llvm-36a9b31b981553350f5cc4adad9917656c20e96e.tar.bz2 |
Add disassembler support for long encodings for INC/DEC in 32-bit mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/X86/x86-32.txt | 24 | ||||
-rw-r--r-- | test/MC/Disassembler/X86/x86-64.txt | 26 |
2 files changed, 49 insertions, 1 deletions
diff --git a/test/MC/Disassembler/X86/x86-32.txt b/test/MC/Disassembler/X86/x86-32.txt index d53da5b..2d2b335 100644 --- a/test/MC/Disassembler/X86/x86-32.txt +++ b/test/MC/Disassembler/X86/x86-32.txt @@ -666,3 +666,27 @@ # CHECK: movl %eax, 878082192 0xa3 0x90 0x78 0x56 0x34 + +# CHECK: incl %ecx +0xff 0xc1 + +# CHECK: decl %ecx +0xff 0xc9 + +# CHECK: incw %cx +0x66 0xff 0xc1 + +# CHECK: decw %cx +0x66 0xff 0xc9 + +# CHECK: incb %cl +0xfe 0xc1 + +# CHECK: decb %cl +0xfe 0xc9 + +# CHECK: incl %ecx +0x41 + +# CHECK: decl %ecx +0x49 diff --git a/test/MC/Disassembler/X86/x86-64.txt b/test/MC/Disassembler/X86/x86-64.txt index 4e4107e..8c3e4fd 100644 --- a/test/MC/Disassembler/X86/x86-64.txt +++ b/test/MC/Disassembler/X86/x86-64.txt @@ -198,4 +198,28 @@ 0x0f 0x38 0xcd 0xd1 # CHECK: sha256msg2 (%rax), %xmm2 -0x0f 0x38 0xcd 0x10
\ No newline at end of file +0x0f 0x38 0xcd 0x10 + +# CHECK: incl %ecx +0xff 0xc1 + +# CHECK: decl %ecx +0xff 0xc9 + +# CHECK: incw %cx +0x66 0xff 0xc1 + +# CHECK: decw %cx +0x66 0xff 0xc9 + +# CHECK: incb %cl +0xfe 0xc1 + +# CHECK: decb %cl +0xfe 0xc9 + +# CHECK: incq %rcx +0x48 0xff 0xc1 + +# CHECK: decq %rcx +0x48 0xff 0xc9 |