xref: /linux/arch/x86/include/asm/GEN-for-each-reg.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * These are in machine order; things rely on that.
4  */
5 #ifdef CONFIG_64BIT
6 GEN(rax)
7 GEN(rcx)
8 GEN(rdx)
9 GEN(rbx)
10 GEN(rsp)
11 GEN(rbp)
12 GEN(rsi)
13 GEN(rdi)
14 GEN(r8)
15 GEN(r9)
16 GEN(r10)
17 GEN(r11)
18 GEN(r12)
19 GEN(r13)
20 GEN(r14)
21 GEN(r15)
22 #else
23 GEN(eax)
24 GEN(ecx)
25 GEN(edx)
26 GEN(ebx)
27 GEN(esp)
28 GEN(ebp)
29 GEN(esi)
30 GEN(edi)
31 #endif
32