diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-10-14 03:21:46 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-10-14 03:21:46 +0000 |
commit | 909652f6876a97d63db20606cd1b37e95d016caf (patch) | |
tree | a0a7eb7f62431538b9fbfbadb4c6b500dbd3ef96 /test/MC/Disassembler | |
parent | 91d2cc9cdd5f5c5fa89b4efa75217c96cbd38356 (diff) | |
download | external_llvm-909652f6876a97d63db20606cd1b37e95d016caf.zip external_llvm-909652f6876a97d63db20606cd1b37e95d016caf.tar.gz external_llvm-909652f6876a97d63db20606cd1b37e95d016caf.tar.bz2 |
Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 processor which is gcc's name for Haswell.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-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 1540d12..8ca3015 100644 --- a/test/MC/Disassembler/X86/simple-tests.txt +++ b/test/MC/Disassembler/X86/simple-tests.txt @@ -497,3 +497,12 @@ # CHECK: lzcntq %rax, %rax 0xf3 0x48 0x0f 0xbd 0xc0 + +# CHECK: tzcntl %eax, %eax +0xf3 0x0f 0xbc 0xc0 + +# CHECK: tzcntw %ax, %ax +0x66 0xf3 0x0f 0xbc 0xc0 + +# CHECK: tzcntq %rax, %rax +0xf3 0x48 0x0f 0xbc 0xc0 diff --git a/test/MC/Disassembler/X86/x86-32.txt b/test/MC/Disassembler/X86/x86-32.txt index 146b666..e58356b 100644 --- a/test/MC/Disassembler/X86/x86-32.txt +++ b/test/MC/Disassembler/X86/x86-32.txt @@ -477,3 +477,9 @@ # CHECK: lzcntw %ax, %ax 0x66 0xf3 0x0f 0xbd 0xc0 + +# CHECK: tzcntl %eax, %eax +0xf3 0x0f 0xbc 0xc0 + +# CHECK: tzcntw %ax, %ax +0x66 0xf3 0x0f 0xbc 0xc0 |