Don't let x86 asm printer use the no operand movsd alias. It should use the normal movsl instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2013-07-23 01:50:47 +00:00
parent 10205d5a73
commit 9b8b830f3f
4 changed files with 13 additions and 13 deletions

View File

@ -2128,7 +2128,7 @@ def : InstAlias<"movq $src, $dst",
// movsd with no operands (as opposed to the SSE scalar move of a double) is an
// alias for movsl. (as in rep; movsd)
def : InstAlias<"movsd", (MOVSD)>;
def : InstAlias<"movsd", (MOVSD), 0>;
// movsx aliases
def : InstAlias<"movsx $src, $dst", (MOVSX16rr8 GR16:$dst, GR8:$src), 0>;

View File

@ -756,7 +756,7 @@
# rdar://13493622 lldb doesn't print the x86 rep/repne prefix when disassembling
# CHECK: repne
# CHECK-NEXT: movsd
# CHECK-NEXT: movsl
0xf2 0xa5
# CHECK: repne
# CHECK-NEXT: movsq

View File

@ -894,9 +894,9 @@ pshufw $90, %mm4, %mm0
movsw %ds:(%esi), %es:(%edi)
movsw (%esi), %es:(%edi)
// CHECK: movsd # encoding: [0xa5]
// CHECK: movsd
// CHECK: movsd
// CHECK: movsl # encoding: [0xa5]
// CHECK: movsl
// CHECK: movsl
movsl
movsl %ds:(%esi), %es:(%edi)
movsl (%esi), %es:(%edi)

View File

@ -115,12 +115,12 @@
// rdar://8470918
smovb // CHECK: movsb
smovw // CHECK: movsw
smovl // CHECK: movsd
smovl // CHECK: movsl
smovq // CHECK: movsq
// rdar://8456361
// CHECK: rep
// CHECK: movsd
// CHECK: movsl
rep movsd
// CHECK: rep
@ -627,7 +627,7 @@ movsq
// CHECK: encoding: [0x48,0xa5]
movsl
// CHECK: movsd
// CHECK: movsl
// CHECK: encoding: [0xa5]
stosq
@ -845,7 +845,7 @@ lock/incl 1(%rsp)
rep movsl
// CHECK: rep
// CHECK: encoding: [0xf3]
// CHECK: movsd
// CHECK: movsl
// CHECK: encoding: [0xa5]
@ -1083,14 +1083,14 @@ xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1]
movsw %ds:(%rsi), %es:(%rdi)
movsw (%rsi), %es:(%rdi)
// CHECK: movsd # encoding: [0xa5]
// CHECK: movsd
// CHECK: movsd
// CHECK: movsl # encoding: [0xa5]
// CHECK: movsl
// CHECK: movsl
movsl
movsl %ds:(%rsi), %es:(%rdi)
movsl (%rsi), %es:(%rdi)
// rdar://10883092
// CHECK: movsd
// CHECK: movsl
movsl (%rsi), (%rdi)
// CHECK: movsq # encoding: [0x48,0xa5]