1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __alpha_regdef_h__
3 #define __alpha_regdef_h__
5 #define v0 $0 /* function return value */
7 #define t0 $1 /* temporary registers (caller-saved) */
16 #define s0 $9 /* saved-registers (callee-saved registers) */
23 #define fp s6 /* frame-pointer (s6 in frame-less procedures) */
25 #define a0 $16 /* argument registers (caller-saved) */
32 #define t8 $22 /* more temps (caller-saved) */
36 #define ra $26 /* return address register */
39 #define pv t12 /* procedure-variable register */
40 #define AT $at /* assembler temporary */
41 #define gp $29 /* global pointer */
42 #define sp $30 /* stack pointer */
43 #define zero $31 /* reads as zero, writes are noops */
45 #endif /* __alpha_regdef_h__ */