Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index c6341b1210c45777635adc362ab853902aca4950..f77db12569ace6a849a70de3847e89c374ff38fb 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -775,6 +775,16 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kMips64DmodU: |
__ Dmodu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
break; |
+ case kMips64Dlsa: |
+ DCHECK(instr->InputAt(2)->IsImmediate()); |
+ __ Dlsa(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), |
+ i.InputInt8(2)); |
+ break; |
+ case kMips64Lsa: |
+ DCHECK(instr->InputAt(2)->IsImmediate()); |
+ __ Lsa(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), |
+ i.InputInt8(2)); |
+ break; |
case kMips64And: |
__ And(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
break; |