Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 515685590eaadf5347dfbd2bb85b95281219e61e..d99fbdcaa4f426f4e140ca8bb3613d0c325c3f34 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5398,7 +5398,7 @@ void MacroAssembler::ClampDoubleToUint8(Register result_reg, |
// In 0-255 range, round and truncate. |
bind(&in_bounds); |
- round_w_d(temp_double_reg, input_reg); |
+ cvt_w_d(temp_double_reg, input_reg); |
mfc1(result_reg, temp_double_reg); |
bind(&done); |
} |