Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index c96c05b2b14cb222f0b12633804a6c9eba76877d..d4fcafbee23145e5cde97061087b6d626fac3662 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2206,6 +2206,18 @@ void Assembler::ceil_w_d(FPURegister fd, FPURegister fs) { |
} |
+void Assembler::rint_s(FPURegister fd, FPURegister fs) { rint(S, fd, fs); } |
+ |
+ |
+void Assembler::rint(SecondaryField fmt, FPURegister fd, FPURegister fs) { |
+ DCHECK(IsMipsArchVariant(kMips32r6)); |
+ GenInstrRegister(COP1, fmt, f0, fs, fd, RINT); |
+} |
+ |
+ |
+void Assembler::rint_d(FPURegister fd, FPURegister fs) { rint(D, fd, fs); } |
+ |
+ |
void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) { |
DCHECK(IsMipsArchVariant(kMips32r2)); |
GenInstrRegister(COP1, S, f0, fs, fd, CVT_L_S); |