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 85b2ffb38f951ed7a1c8fd316b384a14854c5275..6131ec773c2241c3b5c1f9b307eba377cd6baab6 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -511,6 +511,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kMips64Xor: |
__ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
break; |
+ case kMips64Clz: |
+ __ Clz(i.OutputRegister(), i.InputRegister(0)); |
+ break; |
case kMips64Shl: |
if (instr->InputAt(1)->IsRegister()) { |
__ sllv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |