| Index: test/cctest/test-disasm-x87.cc
|
| diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-x87.cc
|
| similarity index 80%
|
| copy from test/cctest/test-disasm-ia32.cc
|
| copy to test/cctest/test-disasm-x87.cc
|
| index b369e839a3bdc4e5cc1192c465122a72f1a4ee1f..f4ec63bd4742cfc7ee1b5da63cdb50458d5940fe 100644
|
| --- a/test/cctest/test-disasm-ia32.cc
|
| +++ b/test/cctest/test-disasm-x87.cc
|
| @@ -362,85 +362,6 @@ TEST(DisasmIa320) {
|
| __ fninit();
|
| __ nop();
|
|
|
| - // SSE instruction
|
| - {
|
| - // Move operation
|
| - __ movaps(xmm0, xmm1);
|
| - __ shufps(xmm0, xmm0, 0x0);
|
| -
|
| - // logic operation
|
| - __ andps(xmm0, xmm1);
|
| - __ andps(xmm0, Operand(ebx, ecx, times_4, 10000));
|
| - __ orps(xmm0, xmm1);
|
| - __ orps(xmm0, Operand(ebx, ecx, times_4, 10000));
|
| - __ xorps(xmm0, xmm1);
|
| - __ xorps(xmm0, Operand(ebx, ecx, times_4, 10000));
|
| -
|
| - // Arithmetic operation
|
| - __ addps(xmm1, xmm0);
|
| - __ addps(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - __ subps(xmm1, xmm0);
|
| - __ subps(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - __ mulps(xmm1, xmm0);
|
| - __ mulps(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - __ divps(xmm1, xmm0);
|
| - __ divps(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - }
|
| - {
|
| - __ cvttss2si(edx, Operand(ebx, ecx, times_4, 10000));
|
| - __ cvtsi2sd(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - __ movsd(xmm1, Operand(ebx, ecx, times_4, 10000));
|
| - __ movsd(Operand(ebx, ecx, times_4, 10000), 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);
|
| -
|
| - __ andpd(xmm0, xmm1);
|
| - __ psllq(xmm0, 17);
|
| - __ psllq(xmm0, xmm1);
|
| - __ psrlq(xmm0, 17);
|
| - __ psrlq(xmm0, xmm1);
|
| - __ por(xmm0, xmm1);
|
| - }
|
| -
|
| - // cmov.
|
| - {
|
| - __ cmov(overflow, eax, Operand(eax, 0));
|
| - __ cmov(no_overflow, eax, Operand(eax, 1));
|
| - __ cmov(below, eax, Operand(eax, 2));
|
| - __ cmov(above_equal, eax, Operand(eax, 3));
|
| - __ cmov(equal, eax, Operand(ebx, 0));
|
| - __ cmov(not_equal, eax, Operand(ebx, 1));
|
| - __ cmov(below_equal, eax, Operand(ebx, 2));
|
| - __ cmov(above, eax, Operand(ebx, 3));
|
| - __ cmov(sign, eax, Operand(ecx, 0));
|
| - __ cmov(not_sign, eax, Operand(ecx, 1));
|
| - __ cmov(parity_even, eax, Operand(ecx, 2));
|
| - __ cmov(parity_odd, eax, Operand(ecx, 3));
|
| - __ cmov(less, eax, Operand(edx, 0));
|
| - __ cmov(greater_equal, eax, Operand(edx, 1));
|
| - __ cmov(less_equal, eax, Operand(edx, 2));
|
| - __ cmov(greater, eax, Operand(edx, 3));
|
| - }
|
| -
|
| - {
|
| - if (CpuFeatures::IsSupported(SSE4_1)) {
|
| - CpuFeatureScope scope(&assm, SSE4_1);
|
| - __ pextrd(eax, xmm0, 1);
|
| - __ pinsrd(xmm1, eax, 0);
|
| - __ extractps(eax, xmm1, 0);
|
| - }
|
| - }
|
| -
|
| // Nop instructions
|
| for (int i = 0; i < 16; i++) {
|
| __ Nop(i);
|
|
|