aboutsummaryrefslogtreecommitdiff
path: root/pk
diff options
context:
space:
mode:
Diffstat (limited to 'pk')
-rw-r--r--pk/fp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pk/fp.c b/pk/fp.c
index 25b0393..5604bc8 100644
--- a/pk/fp.c
+++ b/pk/fp.c
@@ -57,8 +57,8 @@ int emulate_fp(trapframe_t* tf)
uint32_t frs2s = get_fp_reg(RRS2, 0);
uint32_t frs3s = get_fp_reg(RRS3, 0);
- uint64_t effective_address_load = XRS1 + imm;
- uint64_t effective_address_store = XRS1 + bimm;
+ long effective_address_load = XRS1 + imm;
+ long effective_address_store = XRS1 + bimm;
softfloat_exceptionFlags = 0;
softfloat_roundingMode = (RM & 4) ? (RM & 3) : ((fp_state.fsr >> 5) & 3);