Skip to content

x86: decoder bugfixes/updates

Masami Hiramatsu lkml 1 version In review

Get series with b4
b4 am 20111205120520.15475.82983.stgit@cloud

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/tools: Fix Makefile to build all test toolsarch/x86/tools/Makefile+1 -21 reply
2/6x86: Fix instruction decoder to handle grouped AVX instructionsarch/x86/lib/inat.c arch/x86/lib/insn.c+11 -21 reply
3/6x86/tools: Fix instruction decoder message outputarch/x86/tools/insn_sanity.c+3 -41 reply
4/6x86/tools: Fix insn_sanity message outputsarch/x86/tools/insn_sanity.c+2 -21 reply
5/6x86: Update instruction decoder to support new AVX formatsarch/x86/lib/x86-opcode-map.txt arch/x86/tools/gen-insn-attr-x86.awk+345 -2821 reply
6/6x86/tools: Add decoded instruction dump modearch/x86/tools/insn_sanity.c+4 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6]x86: decoder bugfixes/updates

Hi Ingo,

Here are the patches of bugfixes and updates for x86 instruction decoder. Since it seems that previous patches are not merged yet, I included thoes and updated for the latest tip tree.

This series fixes below bugs;

<Important>
- Doesn't build decoder selftest tool (test_get_len).
- Fails to decode some grouped AVX instructions.

<Minor>
- insn_sanity may dump message twice on same instruction
- insn_sanity outputs information message on stderr.

And updates x86 instruction maps for AVX2 according to Intel(R) 64 and IA-32 Architectures Software Developer's Manual Vol.2 (#325383-040US, October 2011) and Intel(R) Advanced Vector Extensions Programming Reference (#319433-011,JUNE 2011).

Thank you,

---

Masami Hiramatsu (6):
[RESEND][BUGFIX] x86/tools: Fix Makefile to build all test tools [RESEND][BUGFIX] x86: Fix instruction decoder to handle grouped AVX instructions [RESEND][BUGFIX] x86/tools: Fix instruction decoder message output [RESEND][BUGFIX] x86/tools: Fix insn_sanity message outputs
x86: Update instruction decoder to support new AVX formats x86/tools: Add decoded instruction dump mode

 arch/x86/lib/inat.c                  |    9 -
 arch/x86/lib/insn.c                  |    4 
 arch/x86/lib/x86-opcode-map.txt      |  606 +++++++++++++++++++---------------
 arch/x86/tools/Makefile              |    3 
 arch/x86/tools/gen-insn-attr-x86.awk |   21 +
 arch/x86/tools/insn_sanity.c         |   16 -
 6 files changed, 365 insertions(+), 294 deletions(-)
Signature · 4 lines
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]