aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_fld.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/c_fld.h')
-rw-r--r--riscv/insns/c_fld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/c_fld.h b/riscv/insns/c_fld.h
new file mode 100644
index 0000000..10d14f8
--- /dev/null
+++ b/riscv/insns/c_fld.h
@@ -0,0 +1,4 @@
+require_extension('C');
+require_extension('D');
+require_fp;
+WRITE_RVC_FRS2S(MMU.load_int64(RVC_RS1S + insn.rvc_ld_imm()));