aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_sdsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/c_sdsp.h')
-rw-r--r--riscv/insns/c_sdsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/insns/c_sdsp.h b/riscv/insns/c_sdsp.h
new file mode 100644
index 0000000..f7b8a28
--- /dev/null
+++ b/riscv/insns/c_sdsp.h
@@ -0,0 +1,2 @@
+require_extension(EXT_ZCA);
+MMU.store<uint64_t>(RVC_SP + insn.rvc_sdsp_imm(), RVC_RS2);