Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index 3eebdb43a59e9d8c5efa1378f18b0d1d1fa596c8..728056f2405a06047235f32b614fbb798b37e262 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -305,6 +305,12 @@ void InstructionSelector::VisitWord32Ror(Node* node) { |
} |
+void InstructionSelector::VisitWord32Clz(Node* node) { |
+ Mips64OperandGenerator g(this); |
+ Emit(kMips64Clz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitWord64Ror(Node* node) { |
VisitRRO(this, kMips64Dror, node); |
} |