x86/insn: Fix opcode map (!REX2) superscript tags
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 28 Apr 2025 01:48:10 +0000 (10:48 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 6 May 2025 10:03:15 +0000 (12:03 +0200)
commitca698ec2f07873a448d53c580795c4e023c75393
treedd3e7a062671a3442302019c307d4946738ccfde
parent83725bdf94c3b5fc7ff235750093805c6bc599fe
x86/insn: Fix opcode map (!REX2) superscript tags

Commit:

  159039af8c07 ("x86/insn: x86/insn: Add support for REX2 prefix to the instruction decoder opcode map")

added (!REX2) superscript with a space, but the correct format requires ','
for concatination with other superscript tags.

Add ',' to generate correct insn attribute tables.

I confirmed with following command:

      arch/x86/lib/x86-opcode-map.txt | grep e8 | head -n 1
  [0xe8] = INAT_MAKE_IMM(INAT_IMM_VWORD32) | INAT_FORCE64 | INAT_NO_REX2,

Fixes: 159039af8c07 ("x86/insn: x86/insn: Add support for REX2 prefix to the instruction decoder opcode map")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/174580489027.388420.15539375184727726142.stgit@devnote2
arch/x86/lib/x86-opcode-map.txt
tools/arch/x86/lib/x86-opcode-map.txt