Index: src/mips64/simulator-mips64.h |
diff --git a/src/mips64/simulator-mips64.h b/src/mips64/simulator-mips64.h |
index 63172389a35a1aaaa3dafd3d5356480df1a95795..fba2b220e1cf7f2531636f4921646428a2242c10 100644 |
--- a/src/mips64/simulator-mips64.h |
+++ b/src/mips64/simulator-mips64.h |
@@ -207,6 +207,10 @@ class Simulator { |
bool test_fcsr_bit(uint32_t cc); |
bool set_fcsr_round_error(double original, double rounded); |
bool set_fcsr_round64_error(double original, double rounded); |
+ void round_according_to_fcsr(double toRound, double& rounded, |
+ int32_t& rounded_int, double fs); |
+ void round64_according_to_fcsr(double toRound, double& rounded, |
+ int64_t& rounded_int, double fs); |
// Special case of set_register and get_register to access the raw PC value. |
void set_pc(int64_t value); |