Index: test/cctest/test-disasm-ia32.cc |
diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc |
index 8b9da496a5070b9f4d3e6efd81426be5be23249a..301545c6c4a59bb5e7b394eb3580ac293e421913 100644 |
--- a/test/cctest/test-disasm-ia32.cc |
+++ b/test/cctest/test-disasm-ia32.cc |
@@ -354,19 +354,29 @@ TEST(DisasmIa320) { |
CpuFeatureScope fscope(&assm, SSE2); |
__ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000)); |
__ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
- __ addsd(xmm1, xmm0); |
- __ mulsd(xmm1, xmm0); |
- __ subsd(xmm1, xmm0); |
- __ divsd(xmm1, xmm0); |
__ movsd(xmm1, Operand(ebx, ecx, times_4, 10000)); |
__ movsd(Operand(ebx, ecx, times_4, 10000), xmm1); |
- __ ucomisd(xmm0, xmm1); |
- |
+ __ movaps(xmm0, xmm1); |
// 128 bit move instructions. |
__ movdqa(xmm0, Operand(ebx, ecx, times_4, 10000)); |
__ movdqa(Operand(ebx, ecx, times_4, 10000), xmm0); |
__ movdqu(xmm0, Operand(ebx, ecx, times_4, 10000)); |
__ movdqu(Operand(ebx, ecx, times_4, 10000), xmm0); |
+ |
+ __ addsd(xmm1, xmm0); |
+ __ mulsd(xmm1, xmm0); |
+ __ subsd(xmm1, xmm0); |
+ __ divsd(xmm1, xmm0); |
+ __ ucomisd(xmm0, xmm1); |
+ __ cmpltsd(xmm0, xmm1); |
+ |
+ __ andps(xmm0, xmm1); |
+ __ andpd(xmm0, xmm1); |
+ __ psllq(xmm0, 17); |
+ __ psllq(xmm0, xmm1); |
+ __ psrlq(xmm0, 17); |
+ __ psrlq(xmm0, xmm1); |
+ __ por(xmm0, xmm1); |
} |
} |
@@ -393,36 +403,6 @@ TEST(DisasmIa320) { |
} |
} |
- // andpd, cmpltsd, movaps, psllq, psrlq, por. |
- { |
- if (CpuFeatures::IsSupported(SSE2)) { |
- CpuFeatureScope fscope(&assm, SSE2); |
- __ andpd(xmm0, xmm1); |
- __ andpd(xmm1, xmm2); |
- |
- __ cmpltsd(xmm0, xmm1); |
- __ cmpltsd(xmm1, xmm2); |
- |
- __ movaps(xmm0, xmm1); |
- __ movaps(xmm1, xmm2); |
- |
- __ psllq(xmm0, 17); |
- __ psllq(xmm1, 42); |
- |
- __ psllq(xmm0, xmm1); |
- __ psllq(xmm1, xmm2); |
- |
- __ psrlq(xmm0, 17); |
- __ psrlq(xmm1, 42); |
- |
- __ psrlq(xmm0, xmm1); |
- __ psrlq(xmm1, xmm2); |
- |
- __ por(xmm0, xmm1); |
- __ por(xmm1, xmm2); |
- } |
- } |
- |
{ |
if (CpuFeatures::IsSupported(SSE2) && |
CpuFeatures::IsSupported(SSE4_1)) { |