summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index a666006ad6..5c26d176c1 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -2328,7 +2328,7 @@ void op_ctc1 (void)
void op_mfc1 (void)
{
- T0 = WT0;
+ T0 = (int32_t)WT0;
DEBUG_FPU_STATE();
RETURN();
}
@@ -2356,7 +2356,7 @@ void op_dmtc1 (void)
void op_mfhc1 (void)
{
- T0 = WTH0;
+ T0 = (int32_t)WTH0;
DEBUG_FPU_STATE();
RETURN();
}