1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __ASM_GPR_NUM_H
3 #define __ASM_GPR_NUM_H
7 .irp num
,0,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
8 .equ
.L__gpr_num_x
\num
, \num
9 .equ
.L__gpr_num_w
\num
, \num
11 .equ
.L__gpr_num_xzr
, 31
12 .equ
.L__gpr_num_wzr
, 31
14 #else /* __ASSEMBLY__ */
16 #define __DEFINE_ASM_GPR_NUMS \
17 " .irp num,0,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\n" \
18 " .equ .L__gpr_num_x\\num, \\num\n" \
19 " .equ .L__gpr_num_w\\num, \\num\n" \
21 " .equ .L__gpr_num_xzr, 31\n" \
22 " .equ .L__gpr_num_wzr, 31\n"
24 #endif /* __ASSEMBLY__ */
26 #endif /* __ASM_GPR_NUM_H */