summaryrefslogtreecommitdiff
path: root/opcodes-rvc-pseudo
blob: a357a0321541b89c8c3c1e7b96ba2a7e53c46662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# these aren't really pseudo-ops, but they overlay other encodings,
# so they are here to prevent parse-opcodes from barfing

@c.jr       1..0=0 15..13=0 12=0      11..7=ignore 6..2=0
@c.jalr     1..0=0 15..13=0 12=1      11..7=ignore 6..2=0
@c.ebreak   1..0=0 15..13=0 12=1      11..7=0      6..2=0
@c.addi16sp 1..0=2 15..13=5 12=ignore 11..7=0      6..2=ignore
@c.nop      1..0=2 15..13=6 12=0      11..7=0      6..2=0

# RV64C
@c.sd      1..0=0 15..13=3 12=ignore 11..2=ignore # c.fsw for RV32
@c.ld      1..0=0 15..13=7 12=ignore 11..2=ignore # c.flw for RV32
@c.sdsp    1..0=1 15..13=3 12=ignore 11..2=ignore # c.fswsp for RV32
@c.ldsp    1..0=1 15..13=7 12=ignore 11..2=ignore # c.flwsp for RV32