aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fsw.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fsw.h')
-rw-r--r--riscv/insns/fsw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/fsw.h b/riscv/insns/fsw.h
index 42fc683..8af5184 100644
--- a/riscv/insns/fsw.h
+++ b/riscv/insns/fsw.h
@@ -1,3 +1,3 @@
require_extension('F');
require_fp;
-MMU.store_uint32(RS1 + insn.s_imm(), FRS2.v);
+MMU.store_uint32(RS1 + insn.s_imm(), FRS2.v[0]);