Add X86 ANDN instruction. Including instruction selection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141947 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2011-10-14 07:06:56 +00:00
parent 909652f687
commit 54a11176f6
8 changed files with 82 additions and 2 deletions

View File

@@ -506,3 +506,15 @@
# CHECK: tzcntq %rax, %rax
0xf3 0x48 0x0f 0xbc 0xc0
# CHECK: andnl %ecx, %r15d, %eax
0xc4 0xe2 0x00 0xf2 0xc1
# CHECK: andnq %rax, %r15, %rax
0xc4 0xe2 0x80 0xf2 0xc0
# CHECK: andnl (%rax), %r15d, %eax
0xc4 0xe2 0x00 0xf2 0x00
# CHECK: andnq (%rax), %r15, %rax
0xc4 0xe2 0x80 0xf2 0x00

View File

@@ -483,3 +483,15 @@
# CHECK: tzcntw %ax, %ax
0x66 0xf3 0x0f 0xbc 0xc0
# CHECK: andnl %ecx, %edi, %eax
0xc4 0xe2 0x00 0xf2 0xc1
# CHECK: andnl (%eax), %edi, %eax
0xc4 0xe2 0x00 0xf2 0x00
# CHECK: andnl %ecx, %edi, %eax
0xc4 0xe2 0x80 0xf2 0xc1
# CHECK: andnl (%eax), %edi, %eax
0xc4 0xe2 0x80 0xf2 0x00