summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-19 01:15:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-19 01:15:03 +0000
commitc28c7689fc555b8507d2b0b128f4e6b05dcf2027 (patch)
treecff8e75a2e1a5eb9efaeb0d6355cda102dac6a0e /test
parentaac5b5b2e5eaf2e5bd62f9b96270e31d46125f4f (diff)
downloadllvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.tar.gz
llvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.tar.bz2
llvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.tar.xz
X86: Fix encoding for TEST64rr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_64-new-encoder.s4
1 files changed, 4 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 3e12cf8ba9..d8282ab9fb 100644
--- a/test/MC/AsmParser/X86/x86_64-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_64-new-encoder.s
@@ -44,3 +44,7 @@ movq _foo@GOTPCREL(%rip), %r14
// CHECK: movq (%r13,%rax,8), %r13
// CHECK: encoding: [0x4d,0x8b,0x6c,0xc5,0x00]
movq 0x00(%r13,%rax,8),%r13
+
+// CHECK: testq %rax, %rbx
+// CHECK: encoding: [0x48,0x85,0xd8]
+testq %rax, %rbx