forked from michaeljclark/riscv-meta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registers
72 lines (70 loc) · 3.15 KB
/
registers
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
# format of a line in this file:
# <name> <alias> <type> <save> <description>
#
# <type> is one of ireg, freg
#
# <save> is one of caller, callee, global, zero
x0 zero ireg zero "Hard-wired zero"
x1 ra ireg caller "Return address Caller"
x2 sp ireg callee "Stack pointer Callee"
x3 gp ireg global "Global pointer"
x4 tp ireg callee "Thread pointer Callee"
x5 t0 ireg caller "Temporaries Caller"
x6 t1 ireg caller "Temporaries Caller"
x7 t2 ireg caller "Temporaries Caller"
x8 s0 ireg callee "Saved register/frame pointer Callee"
x9 s1 ireg callee "Saved registers Callee"
x10 a0 ireg caller "Function arguments Caller"
x11 a1 ireg caller "Function arguments Caller"
x12 a2 ireg caller "Function arguments Caller"
x13 a3 ireg caller "Function arguments Caller"
x14 a4 ireg caller "Function arguments Caller"
x15 a5 ireg caller "Function arguments Caller"
x16 a6 ireg caller "Function arguments Caller"
x17 a7 ireg caller "Function arguments Caller"
x18 s2 ireg callee "Saved registers Callee"
x19 s3 ireg callee "Saved registers Callee"
x20 s4 ireg callee "Saved registers Callee"
x21 s5 ireg callee "Saved registers Callee"
x22 s6 ireg callee "Saved registers Callee"
x23 s7 ireg callee "Saved registers Callee"
x24 s8 ireg callee "Saved registers Callee"
x25 s9 ireg callee "Saved registers Callee"
x26 s10 ireg callee "Saved registers Callee"
x27 s11 ireg callee "Saved registers Callee"
x28 t3 ireg caller "Temporaries Caller"
x29 t4 ireg caller "Temporaries Caller"
x30 t5 ireg caller "Temporaries Caller"
x31 t6 ireg caller "Temporaries Caller"
f0 ft0 freg caller "FP temporaries Caller"
f1 ft1 freg caller "FP temporaries Caller"
f2 ft2 freg caller "FP temporaries Caller"
f3 ft3 freg caller "FP temporaries Caller"
f4 ft4 freg caller "FP temporaries Caller"
f5 ft5 freg caller "FP temporaries Caller"
f6 ft6 freg caller "FP temporaries Caller"
f7 ft7 freg caller "FP temporaries Caller"
f8 fs0 freg callee "FP saved registers Callee"
f9 fs1 freg callee "FP saved registers Callee"
f10 fa0 freg caller "FP arguments Caller"
f11 fa1 freg caller "FP arguments Caller"
f12 fa2 freg caller "FP arguments Caller"
f13 fa3 freg caller "FP arguments Caller"
f14 fa4 freg caller "FP arguments Caller"
f15 fa5 freg caller "FP arguments Caller"
f16 fa6 freg caller "FP arguments Caller"
f17 fa7 freg caller "FP arguments Caller"
f18 fs2 freg callee "FP saved registers Callee"
f19 fs3 freg callee "FP saved registers Callee"
f20 fs4 freg callee "FP saved registers Callee"
f21 fs5 freg callee "FP saved registers Callee"
f22 fs6 freg callee "FP saved registers Callee"
f23 fs7 freg callee "FP saved registers Callee"
f24 fs8 freg callee "FP saved registers Callee"
f25 fs9 freg callee "FP saved registers Callee"
f26 fs10 freg callee "FP saved registers Callee"
f27 fs11 freg callee "FP saved registers Callee"
f28 ft8 freg caller "FP temporaries Caller"
f29 ft9 freg caller "FP temporaries Caller"
f30 ft10 freg caller "FP temporaries Caller"
f31 ft11 freg caller "FP temporaries Caller"