diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-10-11 04:34:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-10-11 04:34:23 +0000 |
commit | 29480fd798dc6452948f63825ff41c66f09c2493 (patch) | |
tree | 1c53f0e1fbfb54a46f9264f0702404f3ade67f50 /test | |
parent | 7aabcb1fc0a94becb437134747a63ff686c0661f (diff) | |
download | external_llvm-29480fd798dc6452948f63825ff41c66f09c2493.zip external_llvm-29480fd798dc6452948f63825ff41c66f09c2493.tar.gz external_llvm-29480fd798dc6452948f63825ff41c66f09c2493.tar.bz2 |
Fix disassembling of popcntw. Also remove some code that says it accounts for 64BIT_REXW_XD not existing, but it does exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/X86/simple-tests.txt | 9 | ||||
-rw-r--r-- | test/MC/Disassembler/X86/x86-32.txt | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/simple-tests.txt b/test/MC/Disassembler/X86/simple-tests.txt index 0b00858..d1d60ef 100644 --- a/test/MC/Disassembler/X86/simple-tests.txt +++ b/test/MC/Disassembler/X86/simple-tests.txt @@ -479,3 +479,12 @@ # CHECK: vcvtps2ph $0, %ymm0, (%rax) 0xc4 0xe3 0x7d 0x1d 0x00 0x00 + +# CHECK: popcntl %eax, %eax +0xf3 0x0f 0xb8 0xc0 + +# CHECK: popcntw %ax, %ax +0x66 0xf3 0x0f 0xb8 0xc0 + +# CHECK: popcntq %rax, %rax +0xf3 0x48 0x0f 0xb8 0xc0 diff --git a/test/MC/Disassembler/X86/x86-32.txt b/test/MC/Disassembler/X86/x86-32.txt index d0b24d2..f8944da 100644 --- a/test/MC/Disassembler/X86/x86-32.txt +++ b/test/MC/Disassembler/X86/x86-32.txt @@ -465,3 +465,9 @@ # CHECK: vcvtps2ph $0, %ymm0, (%eax) 0xc4 0xe3 0x7d 0x1d 0x00 0x00 + +# CHECK: popcntl %eax, %eax +0xf3 0x0f 0xb8 0xc0 + +# CHECK: popcntw %ax, %ax +0x66 0xf3 0x0f 0xb8 0xc0 |