From 9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 23 Jul 2013 01:50:47 +0000 Subject: 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 --- test/MC/Disassembler/X86/simple-tests.txt | 2 +- test/MC/X86/x86-32.s | 6 +++--- test/MC/X86/x86-64.s | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'test/MC') diff --git a/test/MC/Disassembler/X86/simple-tests.txt b/test/MC/Disassembler/X86/simple-tests.txt index d51f0a1c..940b1f7 100644 --- a/test/MC/Disassembler/X86/simple-tests.txt +++ b/test/MC/Disassembler/X86/simple-tests.txt @@ -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 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] -- cgit v1.1