x86: {LD,ST}TILECFG use an extension opcode

Message ID 8c7753dd-a5f5-f994-88ee-d4e053a20bc0@suse.com
State Accepted
Headers
Series x86: {LD,ST}TILECFG use an extension opcode |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Jan Beulich Feb. 13, 2023, 8:42 a.m. UTC
  It being zero and happening to work right now doesn't mean the insns
shouldn't be spelled out properly.
---
This flaw was getting in the way of my partial re-write of
build_modrm_byte(), in the course of introducing the .insn directive.
  

Patch

--- a/opcodes/i386-opc.tbl
+++ b/opcodes/i386-opc.tbl
@@ -3134,8 +3134,8 @@  xresldtrk, 0xf20f01e9, TSXLDTRK, NoSuf,
 
 // AMX instructions.
 
-ldtilecfg, 0x49, AMX_TILE|x64, Modrm|Vex128|Space0F38|VexW0|NoSuf, { Unspecified|BaseIndex }
-sttilecfg, 0x6649, AMX_TILE|x64, Modrm|Vex128|Space0F38|VexW0|NoSuf, { Unspecified|BaseIndex }
+ldtilecfg, 0x49/0, AMX_TILE|x64, Modrm|Vex128|Space0F38|VexW0|NoSuf, { Unspecified|BaseIndex }
+sttilecfg, 0x6649/0, AMX_TILE|x64, Modrm|Vex128|Space0F38|VexW0|NoSuf, { Unspecified|BaseIndex }
 
 tdpbf16ps, 0xf35c, AMX_BF16|x64, Modrm|Vex128|Space0F38|VexVVVV=1|VexW0|SwapSources|NoSuf, { RegTMM, RegTMM, RegTMM }
 tdpfp16ps, 0xf25c, AMX_FP16|x64, Modrm|Vex128|Space0F38|VexVVVV|VexW0|SwapSources|NoSuf, { RegTMM, RegTMM, RegTMM }