1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2293d5b43SMasami Hiramatsu #ifdef DEFINE_DWARF_REGSTR_TABLE 3293d5b43SMasami Hiramatsu /* This is included in perf/util/dwarf-regs.c */ 4293d5b43SMasami Hiramatsu 5293d5b43SMasami Hiramatsu static const char * const x86_32_regstr_tbl[] = { 6293d5b43SMasami Hiramatsu "%ax", "%cx", "%dx", "%bx", "$stack",/* Stack address instead of %sp */ 7293d5b43SMasami Hiramatsu "%bp", "%si", "%di", 8293d5b43SMasami Hiramatsu }; 9293d5b43SMasami Hiramatsu 10293d5b43SMasami Hiramatsu static const char * const x86_64_regstr_tbl[] = { 117a023fd2SArnaldo Carvalho de Melo "%ax", "%dx", "%cx", "%bx", "%si", "%di", 12293d5b43SMasami Hiramatsu "%bp", "%sp", "%r8", "%r9", "%r10", "%r11", 13293d5b43SMasami Hiramatsu "%r12", "%r13", "%r14", "%r15", 14293d5b43SMasami Hiramatsu }; 15293d5b43SMasami Hiramatsu #endif 16