aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-09-19 14:01:18 -0700
committerGitHub <noreply@github.com>2023-09-19 14:01:18 -0700
commite7f35d21008dff06634fa8fdba2b5678291a8491 (patch)
tree8b4485df604fc8595ef9d7d9f01f4c3deb7b9840
parent1757d85364f284cf632d0d489bb9c5507ec2cd4f (diff)
parentebb024aa914dc923a3d9026177fcf2b6efe081e0 (diff)
downloadriscv-opcodes-e7f35d21008dff06634fa8fdba2b5678291a8491.zip
riscv-opcodes-e7f35d21008dff06634fa8fdba2b5678291a8491.tar.gz
riscv-opcodes-e7f35d21008dff06634fa8fdba2b5678291a8491.tar.bz2
Merge pull request #192 from sequencer/fix_dup
fix instruction duplication between rv128_c and rv64_c
-rw-r--r--unratified/rv128_c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unratified/rv128_c b/unratified/rv128_c
index 9d38a0c..2d428dd 100644
--- a/unratified/rv128_c
+++ b/unratified/rv128_c
@@ -1,14 +1,14 @@
# quadrant 0
c.lq rd_p rs1_p c_uimm9lo c_uimm9hi 1..0=0 15..13=1
-c.ld rd_p rs1_p c_uimm8lo c_uimm8hi 1..0=0 15..13=3
+$import rv64_c::c.ld
c.sq rs1_p rs2_p c_uimm9hi c_uimm9lo 1..0=0 15..13=5
-c.sd rs1_p rs2_p c_uimm8hi c_uimm8lo 1..0=0 15..13=7
+$import rv64_c::c.sd
#quadrant 1
-c.addiw rd_rs1_n0 c_imm6lo c_imm6hi 1..0=1 15..13=1
+$import rv64_c::c.addiw
#quadrant 2
c.lqsp rd c_uimm10sphi c_uimm10splo 1..0=2 15..13=1
-c.ldsp rd_n0 c_uimm9sphi c_uimm9splo 1..0=2 15..13=3
+$import rv64_c::c.ldsp
c.sqsp c_rs2 c_uimm10sp_s 1..0=2 15..13=5
-c.sdsp c_rs2 c_uimm9sp_s 1..0=2 15..13=7
+$import rv64_c::c.sdsp