Skip to content

x86: decoder bugfixes

Masami Hiramatsu lkml 1 version New

Get series with b4
b4 am 20111121181044.27410.263.stgit@cloud

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/tools: Fix Makefile to build all test toolsarch/x86/tools/Makefile+1 -20 replies
2/4x86: Fix instruction decoder to handle grouped AVX instructionsarch/x86/lib/inat.c arch/x86/lib/insn.c+11 -20 replies
3/4x86/tools: Fix instruction decoder message outputarch/x86/tools/insn_sanity.c+3 -40 replies
4/4x86/tools: Fix insn_sanity message outputsarch/x86/tools/insn_sanity.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4]x86: decoder bugfixes

Hi Ingo,

Here, I fixed bugs in x86 instruction decoder which fixes instruction decoder warnings. This series also 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.

Now I'm also trying to update x86 opcode map according to Intel SDM, which allow us to decode AVX2 instructions.

Thank you,

---

Masami Hiramatsu (4):
[BUGFIX] x86/tools: Fix Makefile to build all test tools [BUGFIX] x86: Fix instruction decoder to handle grouped AVX instructions [BUGFIX] x86/tools: Fix instruction decoder message output [BUGFIX] x86/tools: Fix insn_sanity message outputs

 arch/x86/lib/inat.c          |    9 ++++++++-
 arch/x86/lib/insn.c          |    4 +++-
 arch/x86/tools/Makefile      |    3 +--
 arch/x86/tools/insn_sanity.c |   11 +++++------
 4 files changed, 17 insertions(+), 10 deletions(-)
Signature · 4 lines
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]