diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-21 08:18:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 08:18:57 +0000 |
commit | b4cd1819fa1230a7cd2a41bbf36151ee45294ec5 (patch) | |
tree | c2511582bbf0ba5ad92aa16f6c3b8b51b70c034a /llvm/test | |
parent | 595722965905f6c4e8fe2109e005359844964f24 (diff) | |
download | bcm5719-llvm-b4cd1819fa1230a7cd2a41bbf36151ee45294ec5.tar.gz bcm5719-llvm-b4cd1819fa1230a7cd2a41bbf36151ee45294ec5.zip |
implement PR8524, apparently mainline gas accepts movq as an alias for movd
when transfering between i64 gprs and mmx regs.
llvm-svn: 119931
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/X86/x86-64.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s index b8b093c19b8..f1a14e871f1 100644 --- a/llvm/test/MC/X86/x86-64.s +++ b/llvm/test/MC/X86/x86-64.s @@ -902,3 +902,10 @@ mov %gs, (%rsi) // CHECK: movl %gs, (%rsi) # encoding: [0x8c,0x2e] idiv 0x7eed,%eax idiv 0xbabecafe,%eax idiv 0x12345678,%eax + +// PR8524 +movd %rax, %mm5 // CHECK: movd %rax, %mm5 # encoding: [0x48,0x0f,0x6e,0xe8] +movd %mm5, %rbx // CHECK: movd %mm5, %rbx # encoding: [0x48,0x0f,0x7e,0xeb] +movq %rax, %mm5 // CHECK: movd %rax, %mm5 # encoding: [0x48,0x0f,0x6e,0xe8] +movq %mm5, %rbx // CHECK: movd %mm5, %rbx # encoding: [0x48,0x0f,0x7e,0xeb] + |