diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-31 01:32:48 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-31 01:32:48 -0700 |
commit | 91058db5a6a5d72631981b00788bc5c906bf5f14 (patch) | |
tree | 8f4ba18e2e61d41830a105586cfdbb7ffc43c98e /pk | |
parent | aedc6165cc28a4a74267eefd5da1862981f5b40f (diff) | |
download | pk-91058db5a6a5d72631981b00788bc5c906bf5f14.zip pk-91058db5a6a5d72631981b00788bc5c906bf5f14.tar.gz pk-91058db5a6a5d72631981b00788bc5c906bf5f14.tar.bz2 |
Fix FP store emulation bug
Diffstat (limited to 'pk')
-rw-r--r-- | pk/emulation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/emulation.c b/pk/emulation.c index 1ff858a..11411b3 100644 --- a/pk/emulation.c +++ b/pk/emulation.c @@ -224,7 +224,7 @@ DECLARE_EMULATION_FUNC(emulate_float_store) { uintptr_t val_lo, val_hi, error; uint64_t val; - uintptr_t addr = GET_RS1(insn, regs) + IMM_I(insn); + uintptr_t addr = GET_RS1(insn, regs) + IMM_S(insn); switch (insn & MASK_FUNCT3) { |