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 12154a9e5a9b40f37726bcb4028b3f785aa7a9c0..7cf7927ab3facc144bf895103fb36b5c908df1ca 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -496,6 +496,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kMipsXor: |
__ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
break; |
+ case kMipsClz: |
+ __ Clz(i.OutputRegister(), i.InputRegister(0)); |
+ break; |
case kMipsShl: |
if (instr->InputAt(1)->IsRegister()) { |
__ sllv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |