[PATCH v4 3/7] x86: templatize AMX_INT8 TDPB* instructions
Project / Subsystem
binutils / x86
Date
2026-09-29
Proposer
Rohan Shenoy <RohanRadhesh.Shenoy@amd.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Templatizing instructions reduces code size and improves maintainability but requires careful management of the template to ensure correctness for all instances.
- • The use of a template for TDPB* instructions facilitates future extensions and reuse by other instruction families.
All attributes
- project
- binutils
- subsystem
- x86
- patch_id
- —
- discussion_id
- a43e419bf715044a6d1213f5e8c879437d3b2bc2.1790705096.git.RohanRadhesh.Shenoy@amd.com
- source_type
- public_inbox
- title
- [PATCH v4 3/7] x86: templatize AMX_INT8 TDPB* instructions
- headline
- x86: templatize AMX_INT8 TDPB* instructions
- tldr
- Simplifies x86 assembler support for AMX_INT8 TDPB* instructions using a template.
- proposer
- Rohan Shenoy <RohanRadhesh.Shenoy@amd.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Templatizing instructions reduces code size and improves maintainability but requires careful management of the template to ensure correctness for all instances.
- • The use of a template for TDPB* instructions facilitates future extensions and reuse by other instruction families.
- series_id
- binutils:x86: templatize amx_int8 tdpb* instructions
- series_role
- reply
- series_parts
- []
- tags
-
- • x86
- • assembler
- • amx
- • instruction-set
- bugzilla_url
- —
- date
- 2026-09-29T00:00:00.000Z
[PATCH v4 3/7] x86: templatize AMX_INT8 TDPB* instructions
This patch simplifies the assembly and disassembly definitions for the x86 AMX_INT8 TDPB* instructions by using a template. The TDPBUUD, TDPBUSD, TDPBSSD, and TDPBSUD instructions can now be represented more concisely using a <tdpb> macro, improving maintainability and reducing code duplication. This change also allows for reuse of the iterator by other instruction sets.