aboutsummaryrefslogtreecommitdiff
path: root/opcodes-rv64b
blob: 58b50ee2d0395fd8e31707cf765c69f8ab047a21 (plain)
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
# RV64B additions to RV32B

bmatflip   rd rs1 31..20=0x603 14..12=1 6..2=0x04 1..0=3
crc32.d    rd rs1 31..20=0x613 14..12=1 6..2=0x04 1..0=3
crc32c.d   rd rs1 31..20=0x61B 14..12=1 6..2=0x04 1..0=3

bmator     rd rs1 rs2 31..25=4  14..12=3 6..2=0x0C 1..0=3
bmatxor    rd rs1 rs2 31..25=36 14..12=3 6..2=0x0C 1..0=3

slliu.w    rd rs1 31..26=2 shamt 14..12=1 6..2=0x06 1..0=3

addu.w     rd rs1 rs2 31..25=4  14..12=0 6..2=0x0E 1..0=3

slow       rd rs1 rs2 31..25=16 14..12=1 6..2=0x0E 1..0=3
srow       rd rs1 rs2 31..25=16 14..12=5 6..2=0x0E 1..0=3
rolw       rd rs1 rs2 31..25=48 14..12=1 6..2=0x0E 1..0=3
rorw       rd rs1 rs2 31..25=48 14..12=5 6..2=0x0E 1..0=3

sbclrw     rd rs1 rs2 31..25=36 14..12=1 6..2=0x0E 1..0=3
sbsetw     rd rs1 rs2 31..25=20 14..12=1 6..2=0x0E 1..0=3
sbinvw     rd rs1 rs2 31..25=52 14..12=1 6..2=0x0E 1..0=3
sbextw     rd rs1 rs2 31..25=36 14..12=5 6..2=0x0E 1..0=3
gorcw      rd rs1 rs2 31..25=20 14..12=5 6..2=0x0E 1..0=3
grevw      rd rs1 rs2 31..25=52 14..12=5 6..2=0x0E 1..0=3

sloiw      rd rs1 31..26=8  25=0 shamtw 14..12=1 6..2=0x06 1..0=3
sroiw      rd rs1 31..26=8  25=0 shamtw 14..12=5 6..2=0x06 1..0=3
roriw      rd rs1 31..26=24 25=0 shamtw 14..12=5 6..2=0x06 1..0=3

sbclriw    rd rs1 31..26=18 25=0 shamtw 14..12=1 6..2=0x06 1..0=3
sbsetiw    rd rs1 31..26=10 25=0 shamtw 14..12=1 6..2=0x06 1..0=3
sbinviw    rd rs1 31..26=26 25=0 shamtw 14..12=1 6..2=0x06 1..0=3
gorciw     rd rs1 31..26=10 25=0 shamtw 14..12=5 6..2=0x06 1..0=3
greviw     rd rs1 31..26=26 25=0 shamtw 14..12=5 6..2=0x06 1..0=3

fslw       rd rs1 rs2 rs3 26..25=2 14..12=1 6..2=0x0E 1..0=3
fsrw       rd rs1 rs2 rs3 26..25=2 14..12=5 6..2=0x0E 1..0=3
fsriw      rd rs1 shamtw rs3 26..25=2 14..12=5 6..2=0x06 1..0=3

clzw       rd rs1 31..20=0x600 14..12=1 6..2=0x06 1..0=3
ctzw       rd rs1 31..20=0x601 14..12=1 6..2=0x06 1..0=3
pcntw      rd rs1 31..20=0x602 14..12=1 6..2=0x06 1..0=3

sh1addu.w  rd rs1 rs2 31..25=16 14..12=2 6..2=0x0E 1..0=3
sh2addu.w  rd rs1 rs2 31..25=16 14..12=4 6..2=0x0E 1..0=3
sh3addu.w  rd rs1 rs2 31..25=16 14..12=6 6..2=0x0E 1..0=3

shflw      rd rs1 rs2 31..25=4  14..12=1 6..2=0x0E 1..0=3
unshflw    rd rs1 rs2 31..25=4  14..12=5 6..2=0x0E 1..0=3
bextw      rd rs1 rs2 31..25=4  14..12=6 6..2=0x0E 1..0=3
bdepw      rd rs1 rs2 31..25=36 14..12=6 6..2=0x0E 1..0=3
packw      rd rs1 rs2 31..25=4  14..12=4 6..2=0x0E 1..0=3
packuw     rd rs1 rs2 31..25=36 14..12=4 6..2=0x0E 1..0=3
bfpw       rd rs1 rs2 31..25=36 14..12=7 6..2=0x0E 1..0=3