Index: test/cctest/test-disasm-ia32.cc |
diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc |
index 73c9490d318f78b3532ef366382d79b410ad6e44..2d6e6bcd5a3e75a8b3f7ecd48893c32de2261187 100644 |
--- a/test/cctest/test-disasm-ia32.cc |
+++ b/test/cctest/test-disasm-ia32.cc |
@@ -468,6 +468,16 @@ TEST(DisasmIa320) { |
__ punpckldq(xmm1, xmm6); |
__ punpckhdq(xmm7, xmm5); |
+ |
+ __ pinsrw(xmm5, edx, 5); |
+ __ pinsrw(xmm5, Operand(edx, 4), 5); |
+ |
+#define EMIT_SSE2_INSTR(instruction, notUsed1, notUsed2, notUsed3) \ |
+ __ instruction(xmm5, xmm1); \ |
+ __ instruction(xmm5, Operand(edx, 4)); |
+ |
+ SSE2_INSTRUCTION_LIST(EMIT_SSE2_INSTR) |
+#undef EMIT_SSE2_INSTR |
} |
// cmov. |
@@ -538,6 +548,13 @@ TEST(DisasmIa320) { |
__ vandpd(xmm0, xmm1, Operand(ebx, ecx, times_4, 10000)); |
__ vxorpd(xmm0, xmm1, xmm2); |
__ vxorpd(xmm0, xmm1, Operand(ebx, ecx, times_4, 10000)); |
+ |
+#define EMIT_SSE2_AVXINSTR(instruction, notUsed1, notUsed2, notUsed3) \ |
+ __ v##instruction(xmm7, xmm5, xmm1); \ |
+ __ v##instruction(xmm7, xmm5, Operand(edx, 4)); |
+ |
+ SSE2_INSTRUCTION_LIST(EMIT_SSE2_AVXINSTR) |
+#undef EMIT_SSE2_AVXINSTR |
} |
} |