| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 8188a92c1e8cd4ee049cdef15f2612e4e1f8869d..98680bc08389eb7c89e531952acadd90478b32af 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -1901,6 +1901,30 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ xchg(i.InputRegister(index), operand);
|
| break;
|
| }
|
| + case kIA32Int32x4Create: {
|
| + XMMRegister dst = i.OutputSimd128Register();
|
| + __ movd(dst, i.InputOperand(0));
|
| + __ pshufd(dst, dst, 0x0);
|
| + break;
|
| + }
|
| + case kIA32Int32x4ExtractLane: {
|
| + CpuFeatureScope sse_scope(masm(), SSE4_1);
|
| + __ Pextrd(i.OutputRegister(), i.InputSimd128Register(0), i.InputInt8(1));
|
| + break;
|
| + }
|
| + case kIA32Int32x4ReplaceLane: {
|
| + CpuFeatureScope sse_scope(masm(), SSE4_1);
|
| + __ Pinsrd(i.OutputSimd128Register(), i.InputOperand(2), i.InputInt8(1));
|
| + break;
|
| + }
|
| + case kIA32Int32x4Add: {
|
| + __ paddd(i.OutputSimd128Register(), i.InputSimd128Register(1));
|
| + break;
|
| + }
|
| + case kIA32Int32x4Sub: {
|
| + __ psubd(i.OutputSimd128Register(), i.InputSimd128Register(1));
|
| + break;
|
| + }
|
| case kCheckedLoadInt8:
|
| ASSEMBLE_CHECKED_LOAD_INTEGER(movsx_b);
|
| break;
|
|
|