aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-23 01:50:47 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-23 01:50:47 +0000
commit9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1 (patch)
tree430e383c41e3d5852536c1249772dd33a9e84b07 /test/MC/X86
parent10205d5a7370f26a2c30c7f35bbaa273210bfb33 (diff)
downloadexternal_llvm-9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1.zip
external_llvm-9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1.tar.gz
external_llvm-9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1.tar.bz2
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
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/x86-32.s6
-rw-r--r--test/MC/X86/x86-64.s16
2 files changed, 11 insertions, 11 deletions
diff --git a/test/MC/X86/x86-32.s b/test/MC/X86/x86-32.s
index 57a0037..99136bd 100644
--- a/test/MC/X86/x86-32.s
+++ b/test/MC/X86/x86-32.s
@@ -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)
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index c4b716a..baa076f 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -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]