Landing: d0430a02880a

Project / Subsystem

gcc / rs6000

Date

2026-07-16

Author

Avinash Jayakar

Commit

d0430a02880a0a72c073762b53fa5a8fa4eab028

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
rs6000
patch_id
commit_hash
d0430a02880a0a72c073762b53fa5a8fa4eab028
source_type
github
headline
rs6000: Update mma insns to use wD constraint and update %A printer
tldr
Refines MMA instruction definitions for PowerPC, improving register constraint handling.
author
Avinash Jayakar
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • rs6000
  • powerpc
  • mma
  • dense-math
  • optimization
discussion_id_link
bugzilla_pr
date
2026-07-16T00:00:00.000Z

This patch updates the definition of Matrix Multiply-Accumulate (MMA) instructions for the PowerPC rs6000 architecture. It replaces the generic ‘d’ constraint for accumulator registers with the more specific ‘wD’ constraint and introduces a new accumulator_operand. This change ensures that when the dense-math option is enabled, these accumulators correctly map to Dense Math Registers (DMRs). Additionally, the %A operand printer is updated to display DMR register numbers when dense-math is active, improving the clarity of generated assembly.