diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-19 01:15:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-19 01:15:03 +0000 |
commit | c28c7689fc555b8507d2b0b128f4e6b05dcf2027 (patch) | |
tree | cff8e75a2e1a5eb9efaeb0d6355cda102dac6a0e /test | |
parent | aac5b5b2e5eaf2e5bd62f9b96270e31d46125f4f (diff) | |
download | external_llvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.zip external_llvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.tar.gz external_llvm-c28c7689fc555b8507d2b0b128f4e6b05dcf2027.tar.bz2 |
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.s | 4 |
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 3e12cf8..d8282ab 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 |