Index: src/ppc/simulator-ppc.h |
diff --git a/src/ppc/simulator-ppc.h b/src/ppc/simulator-ppc.h |
index b5fc7aba0e56f1ed50e6b33df2d4215b40869221..a3b03dc5062880a5d75e30b60e29c01b989534d2 100644 |
--- a/src/ppc/simulator-ppc.h |
+++ b/src/ppc/simulator-ppc.h |
@@ -323,6 +323,9 @@ class Simulator { |
#endif |
void ExecuteGeneric(Instruction* instr); |
+ void SetFPSCR(int bit) { fp_condition_reg_ |= (1 << (31 - bit)); } |
+ void ClearFPSCR(int bit) { fp_condition_reg_ &= ~(1 << (31 - bit)); } |
+ |
// Executes one instruction. |
void ExecuteInstruction(Instruction* instr); |