-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstructionSet.txt
More file actions
87 lines (79 loc) · 2.38 KB
/
Copy pathInstructionSet.txt
File metadata and controls
87 lines (79 loc) · 2.38 KB
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
Implemented Instructions: (124 found) //please let me know if you find more implemented instructions
I: (42)
lui jal lb fence
auipc jalr lbu
add lh ebreak
addi beq lhu ecall
sub bne lw
blt wfi
and bltu sb mret
andi bge sh
or bgeu sw
ori
xor slt
xori slti
sltu
sll sltiu
slli
srl
srli
sra
srai
M: (8)
mul div
mulh divu
mulhu rem
mulhsu remu
Zaamo: (9) //Zalrsc is the unimplemented part of the A extension
amoadd.w
amoswap.w
amoand.w
amomin.w amoor.w
amominu.w amoxor.w
amomax.w
amomaxu.w
F: (26)
fadd.s fcvt.s.w feq.s fclass.s
fmadd.s fcvt.s.wu fle.s
fnmadd.s fcvt.w.s flt.s
fsub.s fcvt.wu.s
fmsub.s
fnmsub.s fmv.x.w
fmul.s fmv.w.x
fdiv.s
fsqrt.s flw
fsw
fmax.s
fmin.s
fsgnj.s
fsgnjn.s
fsgnjx.s
C: (31)
c.mv c.j c.lw c.ebreak
c.li c.jr c.sw
c.lui c.jal c.lwsp
c.add c.jalr c.swsp
c.addi
c.sub c.beqz c.flw
c.addi4spn c.bnez c.fsw
c.addi16sp c.flwsp
c.fswsp
c.and
c.andi
c.or
c.xor
c.slli
c.srli
c.srai
c.nop
X: (1)
cease #.word 0x30500073 #Custom SiFive privileged instruction that halts the core until it is reset (only available in M-mode)
Zicsr: (6)
csrrw
csrrwi
csrrs
csrrsi
csrrc
csrrci
Zifencei: (1)
fence.i