diff --git a/rv64_zba b/rv64_zba index 5378e52f..3a1186aa 100644 --- a/rv64_zba +++ b/rv64_zba @@ -3,3 +3,5 @@ sh1add.uw rd rs1 rs2 31..25=16 14..12=2 6..2=0x0E 1..0=3 sh2add.uw rd rs1 rs2 31..25=16 14..12=4 6..2=0x0E 1..0=3 sh3add.uw rd rs1 rs2 31..25=16 14..12=6 6..2=0x0E 1..0=3 slli.uw rd rs1 31..26=2 shamtd 14..12=1 6..2=0x06 1..0=3 + +$pseudo_op rv64_zba::add.uw zext.w rd rs1 31..25=4 24..20=0 14..12=0 6..2=0x0E 1..0=3 diff --git a/rv64_zcb b/rv64_zcb index ed38047e..1625515d 100644 --- a/rv64_zcb +++ b/rv64_zcb @@ -1 +1,5 @@ c.zext.w rd_rs1_p 1..0=1 15..13=4 12..10=7 6..5=3 4..2=4 +c.addiw rd_rs1_n0 c_imm6lo c_imm6hi 1..0=1 15..13=1 + + +$pseudo_op rv64_c::c.addiw c.sext.w rd_rs1_n0 15..13=1 12..11=0 6..2=0 1..0=1