Project

General

Profile

RISC-V Instruction Set » History » Version 8

Andrei Tatarnikov, 05/09/2018 05:06 PM

1 1 Alexander Protsenko
h1. RISC-V Instruction Set
2
3 6 Andrei Tatarnikov
{font-weight:bold; background:#ddd}. |/2. *Category* |\2. *RISC-V (Version 2.2)* |\2. *MicroTESK* |
4 2 Alexander Protsenko
{background:#dde}. | *Instructions* | *Amount* | *Instructions* | *Amount* |
5
{background:#fcc}. | Arithmetic Logic Unit | ADDI
6
SLTI
7
SLTIU
8
XLEN
9
ANDI
10
ORI
11
XORI
12
SRLI
13
SLLI
14
LUI
15
AUIPC
16
ADD
17
SUB
18
SLT
19
SLTU
20
AND
21
OR
22
XOR
23
SLL
24
SRL
25
SRA | 21+ |  | 0+ |
26 3 Alexander Protsenko
{background:#fcc}. | Branch| JAL
27
JALR
28
BEQ
29
BNE
30
BLT
31
BLTU
32
BGE
33
BGEU
34
BGT
35
BGTU
36
BLE
37
BLEU
38
BLT
39
BLTU
40
BGE
41 4 Alexander Protsenko
BGEU | 16 |  | 0+ |
42
{background:#ff9}. | Memory Access | LW
43
LH
44
LHU
45
LB
46
LBU
47
SW
48
SH
49
SB | 8 |  | 0 |
50
{background:#fcc}. | System | CSRRW
51
CSRRS
52
CSRRC
53
CSRRWI
54
CSRRSI
55
CSRRCI
56
RDCYCLE
57
RDTIME
58
RDINSTRET | 9 |  | 0 |
59 2 Alexander Protsenko
{background:#cfc}. | Other | NOP | 1 | NOP | 1 |
60 5 Alexander Protsenko
{background:#ddd}. | Total: || 65 |  | 1+ |
61 1 Alexander Protsenko
62
{background:#cfc}. |100%|
63
{background:#ff9}. |50+%|
64
{background:#fcc}. |0+%|
65 7 Andrei Tatarnikov
66
67
h1. Instructions supported by MicroTESK for RISC-V
68
69
{font-weight:bold; background:#ddd}. | Instruction Set | Instructions | Amount |
70
| RV32I   |  |  ?  |
71
| RV64I   |  |  ? |
72
| RV32M |  |  ?  |
73
| RV64M |  |  ?  |
74
| RV32A  |  |  ?  |
75
| RV64A  |  |  ?  |
76
| RV32F  |  |  ?  |
77
| RV64F  |  |  ?  |
78 8 Andrei Tatarnikov
{background:#cfc}. | RV32D  | FLD
79
                                                   FSD
80
                                                   FMADD.D
81
                                                   FMSUB.D
82
                                                   FNMSUB.D
83
                                                   FNMADD.D
84
                                                   FADD.D
85
                                                   FSUB.D
86
                                                   FMUL.D
87
                                                   FDIV.D
88
                                                   FSQRT.D
89
                                                   FSGNJ.D
90
                                                   FSGNJN.D
91
                                                   FSGNJX.D
92
                                                   FMIN.D
93
                                                   FMAX.D
94
                                                   FCVT.S.D
95
                                                   FCVT.D.S
96
                                                   FEQ.D
97
                                                   FLT.D
98
                                                   FLE.D
99
                                                   FCLASS.D
100
                                                   FCVT.W.D
101
                                                   FCVT.WU.D
102
                                                   FCVT.D.W
103
                                                   FCVT.D.WU |  26  |
104 7 Andrei Tatarnikov
{background:#cfc}. | RV64D  | FCVT.L.D
105
                                                   FCVT.LU.D
106
                                                   FMV.X.D
107
                                                   FCVT.D.L
108
                                                   FCVT.D.LU
109
                                                   FMV.D.X        |   6  |
110
{background:#ddd}. | Total |  |   |
111
112
{background:#cfc}. |  Fully supported |
113
{background:#ff9}. |  Stub implementation |
114
{background:#fcc}. |  Unsupported |