xref: /linux/tools/perf/arch/x86/include/dwarf-regs-table.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifdef DEFINE_DWARF_REGSTR_TABLE
3 /* This is included in perf/util/dwarf-regs.c */
4 
5 static const char * const x86_32_regstr_tbl[] = {
6 	"%ax", "%cx", "%dx", "%bx", "$stack",/* Stack address instead of %sp */
7 	"%bp", "%si", "%di",
8 };
9 
10 static const char * const x86_64_regstr_tbl[] = {
11 	"%ax", "%dx", "%cx", "%bx", "%si", "%di",
12 	"%bp", "%sp", "%r8", "%r9", "%r10", "%r11",
13 	"%r12", "%r13", "%r14", "%r15",
14 };
15 #endif
16