Landing: 6d3f40485df1

Project / Subsystem

gcc / rs6000

Date

2026-07-23

Author

Kishan Parmar

Commit

6d3f40485df12a961e36d337895b28af74ba181d

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
rs6000
patch_id
commit_hash
6d3f40485df12a961e36d337895b28af74ba181d
source_type
github
headline
rs6000: Add Dense Math (DMF/MMA+) built-in/instruction support
tldr
Adds support for new Dense Math Facility (DMF) and MMA+ instructions on PowerPC.
author
Kishan Parmar
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • rs6000
  • powerpc
  • mma
  • intrinsics
  • optimization
discussion_id_link
bugzilla_pr
date
2026-07-23T00:00:00.000Z

This patch introduces support for the Dense Math Facility (DMF) and Matrix-Multiply Assist Plus (MMA+) instructions, expected on future Power processors. It extends the existing MMA infrastructure to include Dense Math Registers (DMRs). Key changes include increasing the maximum number of MMA operands, adding new UNSPEC types for DMR XOR and outer product operations, implementing new instruction patterns in mma.md, and introducing new DMF built-ins with updated GIMPLE folding. Documentation for these new features is also included.