Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index ab57e875489f3f3e3bbecc99eda51c4f35f14bff..f5b235d1f6f1f045fe19ea5ef7709cbfa22bbce8 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2453,6 +2453,11 @@ void Assembler::mul_d(FPURegister fd, FPURegister fs, FPURegister ft) { |
GenInstrRegister(COP1, D, ft, fs, fd, MUL_D); |
} |
+void Assembler::madd_s(FPURegister fd, FPURegister fr, FPURegister fs, |
+ FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r2)); |
+ GenInstrRegister(COP1X, fr, ft, fs, fd, MADD_S); |
+} |
void Assembler::madd_d(FPURegister fd, FPURegister fr, FPURegister fs, |
FPURegister ft) { |
@@ -2460,6 +2465,37 @@ void Assembler::madd_d(FPURegister fd, FPURegister fr, FPURegister fs, |
GenInstrRegister(COP1X, fr, ft, fs, fd, MADD_D); |
} |
+void Assembler::msub_s(FPURegister fd, FPURegister fr, FPURegister fs, |
+ FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r2)); |
+ GenInstrRegister(COP1X, fr, ft, fs, fd, MSUB_S); |
+} |
+ |
+void Assembler::msub_d(FPURegister fd, FPURegister fr, FPURegister fs, |
+ FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r2)); |
+ GenInstrRegister(COP1X, fr, ft, fs, fd, MSUB_D); |
+} |
+ |
+void Assembler::maddf_s(FPURegister fd, FPURegister fs, FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r6)); |
+ GenInstrRegister(COP1, S, ft, fs, fd, MADDF_S); |
+} |
+ |
+void Assembler::maddf_d(FPURegister fd, FPURegister fs, FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r6)); |
+ GenInstrRegister(COP1, D, ft, fs, fd, MADDF_D); |
+} |
+ |
+void Assembler::msubf_s(FPURegister fd, FPURegister fs, FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r6)); |
+ GenInstrRegister(COP1, S, ft, fs, fd, MSUBF_S); |
+} |
+ |
+void Assembler::msubf_d(FPURegister fd, FPURegister fs, FPURegister ft) { |
+ DCHECK(IsMipsArchVariant(kMips32r6)); |
+ GenInstrRegister(COP1, D, ft, fs, fd, MSUBF_D); |
+} |
void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) { |
GenInstrRegister(COP1, S, ft, fs, fd, DIV_S); |