Index: runtime/vm/assembler_mips.h |
diff --git a/runtime/vm/assembler_mips.h b/runtime/vm/assembler_mips.h |
index 531611032dff834a6af7e8a3f0f5b0d143b274d5..e075dd3bd4a013ef691ef69adb2901eb05d8106c 100644 |
--- a/runtime/vm/assembler_mips.h |
+++ b/runtime/vm/assembler_mips.h |
@@ -762,6 +762,12 @@ class Assembler : public ValueObject { |
EmitRType(SPECIAL, rs, rt, R0, 0, MULTU); |
} |
+ void negd(DRegister dd, DRegister ds) { |
+ FRegister fd = static_cast<FRegister>(dd * 2); |
+ FRegister fs = static_cast<FRegister>(ds * 2); |
+ EmitFpuRType(COP1, FMT_D, F0, fs, fd, COP1_NEG); |
+ } |
+ |
void nop() { |
Emit(Instr::kNopInstruction); |
} |