Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index 0a8c1fb4726b036eb06433dcb06dcaf61e693134..5584fdbc361d49f1b26d6a6157793f70cbc1b6ff 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -2408,6 +2408,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_d(FPURegister fd, FPURegister fs) { rint(D, fd, fs); } |
+ |
+ |
+void Assembler::rint(SecondaryField fmt, FPURegister fd, FPURegister fs) { |
+ DCHECK(kArchVariant == kMips64r6); |
+ GenInstrRegister(COP1, D, f0, fs, fd, RINT); |
+} |
+ |
+ |
void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) { |
DCHECK(kArchVariant == kMips64r2); |
GenInstrRegister(COP1, S, f0, fs, fd, CVT_L_S); |