On Thu, Jul 16, 2026 at 10:03:58AM +0530, Avinash Jayakar wrote: > Following patch has been bootstrapped and regtested on > powerpc64le-linux-gnu. Ok for trunk and gcc-16? > > The future processor may introduce new set of registers for > accumulators. This patch adds a constraint and predicate for the > accumulator registers which can be used by the dense math and mma > patterns. > > 2026-07-16 Avinash Jayakar <[email protected]> > > gcc/ChangeLog: > * config/rs6000/constraints.md > (rs6000_constraints[RS6000_CONSTRAINT_wD]): New wD constraint. > * config/rs6000/predicates.md (accumulator_operand): New predicate. > * config/rs6000/rs6000.cc (rs6000_debug_reg_global): Support wD > register class. > (rs6000_init_hard_regno_mode_ok): Map wD to FLOAT_REGS. > * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wD constraint. > * doc/md.texi: Document the new constraint.
All of these patches are cleared to be back ported to the GCC 16 branch after a short delay to make sure the master branch was not broken, given they only modify PowerPC specific files or documentation files. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: [email protected]
