Chromium Code Reviews| 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..3f41970dbefa6b91aeb88f9fd7318d74fde11ebd 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 kX64CreateInt32x4: { |
| + 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)); |
|
bbudge
2016/08/23 13:57:13
Call macro-assembler here: Pextrd
gdeepti
2016/08/23 19:53:34
Sorry, missed this. Calling macro-assembler for Pe
|
| + break; |
| + } |
| case kCheckedLoadInt8: |
| ASSEMBLE_CHECKED_LOAD_INTEGER(movsxbl); |
| break; |