Chromium Code Reviews| Index: src/mips/lithium-codegen-mips.cc |
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
| index 762d1a707f4809627a237fbf7dfa497d78436049..8148489dbb6163db9433ec7c4a31387459905648 100644 |
| --- a/src/mips/lithium-codegen-mips.cc |
| +++ b/src/mips/lithium-codegen-mips.cc |
| @@ -3796,6 +3796,13 @@ void LCodeGen::DoMathLog(LMathLog* instr) { |
| } |
| +void LCodeGen::DoMathClz32(LMathClz32* instr) { |
| + Register input = ToRegister(instr->value()); |
| + Register result = ToRegister(instr->result()); |
| + __ clz(result, input); |
|
dusmil
2014/02/19 16:10:25
Use Clz from macro-assembler for compatibility.
kilvadyb
2014/02/19 16:59:26
Done.
|
| +} |
| + |
| + |
| void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) { |
| ASSERT(ToRegister(instr->context()).is(cp)); |
| ASSERT(ToRegister(instr->function()).is(a1)); |