We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e44c69 commit 7ec4adbCopy full SHA for 7ec4adb
src/cmd/internal/obj/riscv/cpu.go
@@ -106,7 +106,7 @@ const (
106
107
// General registers reassigned to ABI names.
108
REG_ZERO = REG_X0
109
- REG_RA = REG_X1
+ REG_RA = REG_X1 // aka REG_LR
110
REG_SP = REG_X2
111
REG_GP = REG_X3 // aka REG_SB
112
REG_TP = REG_X4 // aka REG_G
@@ -125,7 +125,7 @@ const (
125
REG_A7 = REG_X17
126
REG_S2 = REG_X18
127
REG_S3 = REG_X19
128
- REG_S4 = REG_X20
+ REG_S4 = REG_X20 // aka REG_CTXT
129
REG_S5 = REG_X21
130
REG_S6 = REG_X22
131
REG_S7 = REG_X23
@@ -136,7 +136,7 @@ const (
136
REG_T3 = REG_X28
137
REG_T4 = REG_X29
138
REG_T5 = REG_X30
139
- REG_T6 = REG_X31
+ REG_T6 = REG_X31 // aka REG_TMP
140
141
// Go runtime register names.
142
REG_G = REG_TP // G pointer.
0 commit comments