diff options
Diffstat (limited to 'deps/v8/test/cctest/test-disasm-x64.cc')
-rw-r--r-- | deps/v8/test/cctest/test-disasm-x64.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/v8/test/cctest/test-disasm-x64.cc b/deps/v8/test/cctest/test-disasm-x64.cc index c84f502f23..ff21e9b265 100644 --- a/deps/v8/test/cctest/test-disasm-x64.cc +++ b/deps/v8/test/cctest/test-disasm-x64.cc @@ -542,8 +542,11 @@ TEST(DisasmX64) { __ pinsrw(xmm2, rcx, 1); __ pextrd(rbx, xmm15, 0); __ pextrd(r12, xmm0, 1); + __ pextrq(r12, xmm0, 1); __ pinsrd(xmm9, r9, 0); __ pinsrd(xmm5, Operand(rax, 4), 1); + __ pinsrq(xmm9, r9, 0); + __ pinsrq(xmm5, Operand(rax, 4), 1); __ pblendw(xmm5, xmm1, 1); __ pblendw(xmm9, Operand(rax, 4), 1); @@ -603,6 +606,14 @@ TEST(DisasmX64) { SSE4_INSTRUCTION_LIST(EMIT_SSE34_INSTR) } } + + { + if (CpuFeatures::IsSupported(SSE4_2)) { + CpuFeatureScope scope(&assm, SSE4_2); + + SSE4_2_INSTRUCTION_LIST(EMIT_SSE34_INSTR) + } + } #undef EMIT_SSE34_INSTR // AVX instruction @@ -964,6 +975,8 @@ TEST(DisasmX64) { __ Nop(i); } + __ mfence(); + __ lfence(); __ pause(); __ ret(0); |