forked from riscv/riscv-opcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opcodes-xcrypto
98 lines (79 loc) · 6.17 KB
/
opcodes-xcrypto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
xc.ldr.b rd rs1 rs2 31..25=0 14..12=7 6..2=0x00 1..0=3
xc.ldr.h rd rs1 rs2 31..25=1 14..12=7 6..2=0x00 1..0=3
xc.ldr.w rd rs1 rs2 31..25=2 14..12=7 6..2=0x00 1..0=3
xc.ldr.d rd rs1 rs2 31..25=3 14..12=7 6..2=0x00 1..0=3
xc.ldr.bu rd rs1 rs2 31..25=4 14..12=7 6..2=0x00 1..0=3
xc.ldr.hu rd rs1 rs2 31..25=5 14..12=7 6..2=0x00 1..0=3
xc.ldr.wu rd rs1 rs2 31..25=6 14..12=7 6..2=0x00 1..0=3
xc.str.b 26..25=0 rs1 rs2 rs3 11..7=0 14..12=4 6..2=0x08 1..0=3
xc.str.h 26..25=0 rs1 rs2 rs3 11..7=1 14..12=4 6..2=0x08 1..0=3
xc.str.w 26..25=0 rs1 rs2 rs3 11..7=2 14..12=4 6..2=0x08 1..0=3
xc.str.d 26..25=0 rs1 rs2 rs3 11..7=3 14..12=4 6..2=0x08 1..0=3
xc.mmul.3 rdm rs1 rs2 rs3 26..25=2 14..12=4 7=0 6..2=0x08 1..0=3
xc.macc.1 rdm rs1 rs2 rs3 26..25=2 14..12=4 7=1 6..2=0x08 1..0=3
xc.madd.3 rdm rs1 rs2 rs3 26..25=3 14..12=4 7=0 6..2=0x08 1..0=3
xc.msub.3 rdm rs1 rs2 rs3 26..25=3 14..12=5 7=1 6..2=0x08 1..0=3
xc.mror rdm rs1 rs2 rs3 26..25=0 14..12=5 7=0 6..2=0x08 1..0=3
xc.fenl 11..7=0 19..15=1 31..20=0x003 14..12=0 6..2=0x1C 1..0=3
xc.rngtest rd 19..15=0 31..20=0x003 14..12=0 6..2=0x1C 1..0=3
xc.rngsamp rd 19..15=0 31..20=0x005 14..12=0 6..2=0x1C 1..0=3
xc.rngseed 11..7=0 rs1 31..20=0x007 14..12=0 6..2=0x1C 1..0=3
xc.lut rd rs1 rs2 31..25=49 14..12=6 6..2=0x0C 1..0=3
xc.bop rd rs1 rs2 l 30..25=50 14..12=6 6..2=0x0C 1..0=3
xc.padd rd rs1 rs2 pw 29..25=1 14..12=0 6..2=0x1C 1..0=3
xc.psub rd rs1 rs2 pw 29..25=2 14..12=0 6..2=0x1C 1..0=3
xc.pror rd rs1 rs2 pw 29..25=3 14..12=0 6..2=0x1C 1..0=3
xc.psll rd rs1 rs2 pw 29..25=4 14..12=0 6..2=0x1C 1..0=3
xc.psrl rd rs1 rs2 pw 29..25=5 14..12=0 6..2=0x1C 1..0=3
xc.pror.i rd rs1 pw 29..26=12 shamt 14..12=7 6..2=0x0 1..0=3
xc.psll.i rd rs1 pw 29..26=11 shamt 14..12=7 6..2=0x0 1..0=3
xc.psrl.i rd rs1 pw 29..26=10 shamt 14..12=7 6..2=0x0 1..0=3
xc.pmul.l rd rs1 rs2 pw 29..25=6 14..12=0 6..2=0x1C 1..0=3
xc.pmul.h rd rs1 rs2 pw 29..25=7 14..12=0 6..2=0x1C 1..0=3
xc.pclmul.l rd rs1 rs2 pw 29..25=8 14..12=0 6..2=0x0C 1..0=3
xc.pclmul.h rd rs1 rs2 pw 29..25=9 14..12=0 6..2=0x0C 1..0=3
xc.scatter.b rs1 rs2 rs3 26..25=0 11..7=4 14..12=4 6..2=0x08 1..0=3
xc.scatter.h rs1 rs2 rs3 26..25=0 11..7=5 14..12=4 6..2=0x08 1..0=3
xc.gather.b rd rs1 rs2 31..26=15 25=0 14..12=1 6..2=0x04 1..0=3
xc.gather.h rd rs1 rs2 31..26=15 25=1 14..12=1 6..2=0x04 1..0=3
xc.aessub.enc 31..25=13 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.aessub.encrot 31..25=14 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.aessub.dec 31..25=15 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.aessub.decrot 31..25=16 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.aesmix.enc 31..25=17 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.aesmix.dec 31..25=18 rs1 rs2 rd 14..12=7 6..2=0x00 1..0=3
xc.sha3.xy 14..12=0b111 29..25=8 6..2=0x0 1..0=3 rd rs1 rs2 ps
xc.sha3.x1 14..12=0b111 29..25=9 6..2=0x0 1..0=3 rd rs1 rs2 ps
xc.sha3.x2 14..12=0b111 29..25=10 6..2=0x0 1..0=3 rd rs1 rs2 ps
xc.sha3.x4 14..12=0b111 29..25=11 6..2=0x0 1..0=3 rd rs1 rs2 ps
xc.sha3.yx 14..12=0b111 29..25=12 6..2=0x0 1..0=3 rd rs1 rs2 ps
xc.sha256.s0 14..12=0b111 31..25=7 24..20=0 6..2=0x0 1..0=3 rd rs1
xc.sha256.s1 14..12=0b111 31..25=7 24..20=1 6..2=0x0 1..0=3 rd rs1
xc.sha256.s2 14..12=0b111 31..25=7 24..20=2 6..2=0x0 1..0=3 rd rs1
xc.sha256.s3 14..12=0b111 31..25=7 24..20=3 6..2=0x0 1..0=3 rd rs1
xc.sha512.s0 14..12=0b111 31..25=7 24..20=4 6..2=0x0 1..0=3 rd rs1
xc.sha512.s1 14..12=0b111 31..25=7 24..20=5 6..2=0x0 1..0=3 rd rs1
xc.sha512.s2 14..12=0b111 31..25=7 24..20=6 6..2=0x0 1..0=3 rd rs1
xc.sha512.s3 14..12=0b111 31..25=7 24..20=7 6..2=0x0 1..0=3 rd rs1
xc.mask.b2a 31..25=0b0000000 24..21=0 20=0 15=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1
xc.mask.a2b 31..25=0b0000000 24..21=0 20=0 15=1 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1
xc.mask.b.mask 31..25=0b0000000 24..21=1 20=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rs1
xc.mask.b.unmask 31..25=0b0000000 24..21=1 20=1 15=0 14..12=0b000 6..2=0x16 1..0=3 rd rsm1
xc.mask.b.remask 31..25=0b0000000 24..21=1 20=1 15=1 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1
xc.mask.a.mask 31..25=0b0000000 24..21=2 20=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rs1
xc.mask.a.unmask 31..25=0b0000000 24..21=2 20=1 15=0 14..12=0b000 6..2=0x16 1..0=3 rd rsm1
xc.mask.a.remask 31..25=0b0000000 24..21=2 20=1 15=1 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1
xc.mask.b.not 31..25=0b1000000 24..21=0 20=0 15=0 14..12=0b010 7=0 6..2=0x16 1..0=3 rdm rsm1
xc.mask.b.and 31..25=0b1000000 20=0 15=0 14..12=0b111 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.b.ior 31..25=0b1000000 20=0 15=0 14..12=0b110 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.b.xor 31..25=0b1000000 20=0 15=0 14..12=0b100 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.b.add 31..25=0b1000000 20=0 15=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.b.sub 31..25=0b1000000 20=0 15=0 14..12=0b001 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.b.slli 31..26=0b110000 15=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1 shamt
xc.mask.b.srli 31..26=0b110000 15=0 14..12=0b001 7=0 6..2=0x16 1..0=3 rdm rsm1 shamt
xc.mask.b.rori 31..26=0b110000 15=0 14..12=0b010 7=0 6..2=0x16 1..0=3 rdm rsm1 shamt
xc.mask.a.add 31..25=0b0100000 20=0 15=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.a.sub 31..25=0b0100000 20=0 15=0 14..12=0b001 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.f.mul 31..25=0b1110000 20=0 15=0 14..12=0b000 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.f.aff 31..25=0b1110000 20=0 15=0 14..12=0b010 7=0 6..2=0x16 1..0=3 rdm rsm1 rsm2
xc.mask.f.sqr 31..25=0b1111000 24..21=0 20=0 15=0 14..12=0b010 7=0 6..2=0x16 1..0=3 rdm rsm1