Index: runtime/vm/simulator_mips.cc |
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc |
index a9f12dd1e80312b854739f7b5e9535154d97d035..04e0b7fda315d35d765d8063afcea0d354971c36 100644 |
--- a/runtime/vm/simulator_mips.cc |
+++ b/runtime/vm/simulator_mips.cc |
@@ -1813,6 +1813,12 @@ void Simulator::DecodeCop1(Instr* instr) { |
set_fregister_double(instr->FdField(), fs_val); |
break; |
} |
+ case COP1_NEG: { |
+ // Format(instr, "neg.'fmt 'fd, 'fs"); |
+ ASSERT(instr->FormatField() == FMT_D); |
+ set_fregister_double(instr->FdField(), -fs_val); |
+ break; |
+ } |
case COP1_C_F: { |
ASSERT(instr->FormatField() == FMT_D); // Only D supported. |
ASSERT(instr->FdField() == F0); |