Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 5e1ef6ba1a6994d3bd4ef1396a7f8712ad19492a..37cdd5ff7a3aa5106a8845bfb57d22fe4df5e69f 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -2032,6 +2032,18 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
__ xchgl(i.InputRegister(index), operand); |
break; |
} |
+ case kX64Int32x4Create: { |
+ CpuFeatureScope sse_scope(masm(), SSE4_1); |
+ XMMRegister dst = i.OutputSimd128Register(); |
+ __ Movd(dst, i.InputRegister(0)); |
+ __ shufps(dst, dst, 0x0); |
+ break; |
+ } |
+ case kX64Int32x4ExtractLane: { |
+ CpuFeatureScope sse_scope(masm(), SSE4_1); |
+ __ Pextrd(i.OutputRegister(), i.InputSimd128Register(0), i.InputInt8(1)); |
+ break; |
+ } |
case kCheckedLoadInt8: |
ASSEMBLE_CHECKED_LOAD_INTEGER(movsxbl); |
break; |