x86/insn: perf tools: Add new xsave instructions
Add xsavec, xsaves and xrstors to the op code map and the perf tools new instructions test. To run the test: $ tools/perf/perf test "x86 ins" 39: Test x86 instruction decoder - new instructions : Ok Or to see the details: $ tools/perf/perf test -v "x86 ins" 2>&1 | grep 'xsave\|xrst' For information about xsavec, xsaves and xrstors, refer the Intel SDM. Signed-off-by:Adrian Hunter <adrian.hunter@intel.com> Acked-by:
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Qiaowei Ren <qiaowei.ren@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1441196131-20632-8-git-send-email-adrian.hunter@intel.com Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- arch/x86/lib/x86-opcode-map.txt 3 additions, 0 deletionsarch/x86/lib/x86-opcode-map.txt
- tools/perf/tests/insn-x86-dat-32.c 18 additions, 0 deletionstools/perf/tests/insn-x86-dat-32.c
- tools/perf/tests/insn-x86-dat-64.c 30 additions, 0 deletionstools/perf/tests/insn-x86-dat-64.c
- tools/perf/tests/insn-x86-dat-src.c 42 additions, 0 deletionstools/perf/tests/insn-x86-dat-src.c
- tools/perf/util/intel-pt-decoder/x86-opcode-map.txt 3 additions, 0 deletionstools/perf/util/intel-pt-decoder/x86-opcode-map.txt
Please register or sign in to comment