diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-06-21 22:45:41 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-06-21 22:45:41 +0000 |
commit | 94d4c91bc5b2a84e6b93250599b6742777dbd35e (patch) | |
tree | 9f63cd2a1e4a4a393210e0b540cea3499c6c5626 /test/MC/X86/x86-64.s | |
parent | 0c11218f0a38461a3d74c075ee3b76e511c7ccd0 (diff) | |
download | external_llvm-94d4c91bc5b2a84e6b93250599b6742777dbd35e.zip external_llvm-94d4c91bc5b2a84e6b93250599b6742777dbd35e.tar.gz external_llvm-94d4c91bc5b2a84e6b93250599b6742777dbd35e.tar.bz2 |
Add support for assembling "movq" when it's correct to do so, while continuing
to emit "movd" across the board to continue supporting a Darwin assembler bug.
This is the reincarnation of r133452.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-64.s')
-rw-r--r-- | test/MC/X86/x86-64.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s index a36ba25..472748f 100644 --- a/test/MC/X86/x86-64.s +++ b/test/MC/X86/x86-64.s @@ -1128,3 +1128,11 @@ xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1] // CHECK: strq // CHECK: encoding: [0x48,0x0f,0x00,0xc8] str %rax + +// CHECK: movd %rdi, %xmm0 +// CHECK: encoding: [0x66,0x48,0x0f,0x6e,0xc7] + movq %rdi,%xmm0 + +// CHECK: movd %rdi, %xmm0 +// CHECK: encoding: [0x66,0x48,0x0f,0x6e,0xc7] + movd %rdi,%xmm0 |