|
| 1 | +ly rd rs1 imm12 14..12=4 6..2=0x03 1..0=3 |
| 2 | +sy imm12hi rs1 rs2 imm12lo 14..12=4 6..2=0x08 1..0=3 |
| 3 | + |
| 4 | +#next to ADDIW |
| 5 | +addiy rd rs1 imm12 14..12=2 6..2=0x06 1..0=3 |
| 6 | + |
| 7 | +#not sure how to code it but we can restrict rd==rs1 and make the other code-points illegal |
| 8 | +ybndswi rd rs1 31..30=0x0 zimm10 14..12=3 6..2=0x06 1..0=3 |
| 9 | + |
| 10 | +#if rs2=x0 decode as ymv |
| 11 | +addy rd rs1 rs2_n0 31..25=6 14..12=0 6..2=0x0C 1..0=3 |
| 12 | +ymv rd rs1 24..20=0x0 31..25=6 14..12=0 6..2=0x0C 1..0=3 |
| 13 | +yaddrw rd rs1 rs2 31..25=6 14..12=1 6..2=0x0C 1..0=3 |
| 14 | +ypermc rd rs1 rs2 31..25=6 14..12=2 6..2=0x0C 1..0=3 |
| 15 | +syeq rd rs1 rs2 31..25=6 14..12=4 6..2=0x0C 1..0=3 |
| 16 | +ylt rd rs1 rs2 31..25=6 14..12=6 6..2=0x0C 1..0=3 |
| 17 | + |
| 18 | +ybndsw rd rs1 rs2 31..25=7 14..12=0 6..2=0x0C 1..0=3 |
| 19 | +ybndsrw rd rs1 rs2 31..25=7 14..12=1 6..2=0x0C 1..0=3 |
| 20 | +ysunseal rd rs1 rs2 31..25=7 14..12=2 6..2=0x0C 1..0=3 |
| 21 | + |
| 22 | +ytagr rd rs1 31..25=8 24..20=0 14..12=0 6..2=0x0C 1..0=3 |
| 23 | +ypermr rd rs1 31..25=8 24..20=1 14..12=0 6..2=0x0C 1..0=3 |
| 24 | +ytyper rd rs1 31..25=8 24..20=2 14..12=0 6..2=0x0C 1..0=3 |
| 25 | +ybaser rd rs1 31..25=8 24..20=5 14..12=0 6..2=0x0C 1..0=3 |
| 26 | +ylenr rd rs1 31..25=8 24..20=6 14..12=0 6..2=0x0C 1..0=3 |
| 27 | +yamask rd rs1 31..25=8 24..20=7 14..12=0 6..2=0x0C 1..0=3 |
| 28 | + |
| 29 | +#regular encodings for double width datatype |
| 30 | +amoswap.y rd rs1 rs2 aq rl 31..29=0 28..27=1 14..12=4 6..2=0x0B 1..0=3 |
| 31 | +lr.y rd rs1 24..20=0 aq rl 31..29=0 28..27=2 14..12=4 6..2=0x0B 1..0=3 |
| 32 | +sc.y rd rs1 rs2 aq rl 31..29=0 28..27=3 14..12=4 6..2=0x0B 1..0=3 |
| 33 | + |
| 34 | +packy rd rs1 31..27=0 26..20=0x40 14..12=0x5 6..2=0x0C 1..0=3 |
| 35 | +$pseudo_op rv_y::packy yhir rd rs1 31..27=0 26..20=0x40 14..12=0x5 6..2=0x0C 1..0=3 |
0 commit comments