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 | 46f824e33d16bc56cfb9d7eee424ac6f42548f38 (patch) | |
tree | cff8e75a2e1a5eb9efaeb0d6355cda102dac6a0e /test/MC | |
parent | 13440604236eec3f39f18daf2c48c6c01263aa8a (diff) | |
download | external_llvm-46f824e33d16bc56cfb9d7eee424ac6f42548f38.zip external_llvm-46f824e33d16bc56cfb9d7eee424ac6f42548f38.tar.gz external_llvm-46f824e33d16bc56cfb9d7eee424ac6f42548f38.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/MC')
-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 |