summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-05-25 18:16:58 +0000
committerKevin Enderby <enderby@apple.com>2010-05-25 18:16:58 +0000
commit04ac770be90f7e6c308fb0213caab2bed2c20e47 (patch)
tree58b4d3c6a7f53a856fe3c2a6745834e39c911f2e /test/MC
parent61734eb117063b4cd2a10c2403213cedd1347a06 (diff)
downloadllvm-04ac770be90f7e6c308fb0213caab2bed2c20e47.tar.gz
llvm-04ac770be90f7e6c308fb0213caab2bed2c20e47.tar.bz2
llvm-04ac770be90f7e6c308fb0213caab2bed2c20e47.tar.xz
The BT64ri8 record in X86Instr64bit.td was missing a REX_W which is required
for the 64-bit version of the Bit Test instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_64-new-encoder.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_64-new-encoder.s b/test/MC/AsmParser/X86/x86_64-new-encoder.s
index 6cd22d0305..6988110be2 100644
--- a/test/MC/AsmParser/X86/x86_64-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_64-new-encoder.s
@@ -126,3 +126,8 @@ movl 0, %eax // CHECK: movl 0, %eax # encoding: [0x8b,0x04,0x25,A,A,A,A]
// CHECK: jne
// CHECK: encoding: [0x75,A]
jnz 0
+
+// rdar://8017515
+btq $0x01,%rdx
+// CHECK: btq $1, %rdx
+// CHECK: encoding: [0x48,0x0f,0xba,0xe2,0x01]