diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-23 01:50:47 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-23 01:50:47 +0000 |
commit | 9b8b830f3fa6dca2275dcd86bdaf0d78ab1651a1 (patch) | |
tree | 430e383c41e3d5852536c1249772dd33a9e84b07 /test/MC | |
parent | 10205d5a7370f26a2c30c7f35bbaa273210bfb33 (diff) | |
download | external_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')
-rw-r--r-- | test/MC/Disassembler/X86/simple-tests.txt | 2 | ||||
-rw-r--r-- | test/MC/X86/x86-32.s | 6 | ||||
-rw-r--r-- | test/MC/X86/x86-64.s | 16 |
3 files changed, 12 insertions, 12 deletions
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] |