File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/cmd/internal/obj/riscv Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ const (
106
106
107
107
// General registers reassigned to ABI names.
108
108
REG_ZERO = REG_X0
109
- REG_RA = REG_X1
109
+ REG_RA = REG_X1 // aka REG_LR
110
110
REG_SP = REG_X2
111
111
REG_GP = REG_X3 // aka REG_SB
112
112
REG_TP = REG_X4 // aka REG_G
@@ -125,7 +125,7 @@ const (
125
125
REG_A7 = REG_X17
126
126
REG_S2 = REG_X18
127
127
REG_S3 = REG_X19
128
- REG_S4 = REG_X20
128
+ REG_S4 = REG_X20 // aka REG_CTXT
129
129
REG_S5 = REG_X21
130
130
REG_S6 = REG_X22
131
131
REG_S7 = REG_X23
@@ -136,7 +136,7 @@ const (
136
136
REG_T3 = REG_X28
137
137
REG_T4 = REG_X29
138
138
REG_T5 = REG_X30
139
- REG_T6 = REG_X31
139
+ REG_T6 = REG_X31 // aka REG_TMP
140
140
141
141
// Go runtime register names.
142
142
REG_G = REG_TP // G pointer.
You can’t perform that action at this time.
0 commit comments