Index: test/cctest/test-disasm-ia32.cc |
=================================================================== |
--- test/cctest/test-disasm-ia32.cc (revision 3576) |
+++ test/cctest/test-disasm-ia32.cc (working copy) |
@@ -57,7 +57,7 @@ |
TEST(DisasmIa320) { |
InitializeVM(); |
v8::HandleScope scope; |
- v8::internal::byte buffer[1024]; |
+ v8::internal::byte buffer[2048]; |
Assembler assm(buffer, sizeof buffer); |
DummyStaticFunction(NULL); // just bloody use it (DELETE; debugging) |
@@ -223,14 +223,17 @@ |
__ sub(Operand(ebx), Immediate(12)); |
__ sub(Operand(edx, ecx, times_4, 10000), Immediate(12)); |
+ __ subb(Operand(edx, ecx, times_4, 10000), 100); |
+ __ subb(Operand(eax), 100); |
+ __ subb(eax, Operand(edx, ecx, times_4, 10000)); |
__ xor_(ebx, 12345); |
__ imul(edx, ecx, 12); |
__ imul(edx, ecx, 1000); |
+ __ rep_movs(); |
- |
__ sub(edx, Operand(ebx, ecx, times_4, 10000)); |
__ sub(edx, Operand(ebx)); |
@@ -365,6 +368,12 @@ |
__ movdbl(xmm1, Operand(ebx, ecx, times_4, 10000)); |
__ movdbl(Operand(ebx, ecx, times_4, 10000), xmm1); |
__ comisd(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); |
} |
// cmov. |