Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index 9b0d706327e95a20528b22c0ed8c4ebba32ebb50..1c4157f5eb6ad2acdddec7d997e337c5f4d62f16 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -869,7 +869,11 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ li(i.OutputRegister(), i.InputOperand(0)); |
} |
break; |
- |
+ case kMipsLsa: |
+ DCHECK(instr->InputAt(2)->IsImmediate()); |
+ __ Lsa(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), |
+ i.InputInt8(2)); |
+ break; |
case kMipsCmpS: |
// Psuedo-instruction used for FP cmp/branch. No opcode emitted here. |
break; |