diff options
author | Andrew Waterman <andrew@sifive.com> | 2023-09-16 16:26:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 16:26:46 -0700 |
commit | 2c1a8e1fb6671981b89705b5451e2d60ebf267f6 (patch) | |
tree | 3a88145fbdde17bc0737027ecd2422e2199059aa /unratified | |
parent | 5a756948354e1f8e08f9b74ab5b4d4f6bcc20c9b (diff) | |
parent | 87598447e30f77e7ddf0a13f7726394a228dacec (diff) | |
download | riscv-opcodes-2c1a8e1fb6671981b89705b5451e2d60ebf267f6.zip riscv-opcodes-2c1a8e1fb6671981b89705b5451e2d60ebf267f6.tar.gz riscv-opcodes-2c1a8e1fb6671981b89705b5451e2d60ebf267f6.tar.bz2 |
Merge pull request #188 from charlie-rivos/fix_c_addiw
C.ADDIW cannot have an rd of 0
Diffstat (limited to 'unratified')
-rw-r--r-- | unratified/rv128_c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unratified/rv128_c b/unratified/rv128_c index beb6cd6..9d38a0c 100644 --- a/unratified/rv128_c +++ b/unratified/rv128_c @@ -5,11 +5,10 @@ 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 #quadrant 1 -c.addiw rd_rs1 c_imm6lo c_imm6hi 1..0=1 15..13=1 +c.addiw rd_rs1_n0 c_imm6lo c_imm6hi 1..0=1 15..13=1 #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 +c.ldsp rd_n0 c_uimm9sphi c_uimm9splo 1..0=2 15..13=3 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 - |