POWER ISA 3.1 added new Matrix-Multiply Assist (MMA) instructions. The following patch set adds support for generating these instructions through built-in functions which are enabled with the -mmma option.
The patch1 and patch1+patch2+patch3 have been bootstrapped and regtested on powerpc64le-linux with no regressions. In addition, patch1+patch2+patch3 has been bootstrapped and regtested on powerpc64-linux (BE), also without regressions. I'll note that I split the testsuite changes into their own patch for review purposes, but I plan on committing patch2 and patch3 together. Changes since v1: Patch 1/3: - Modified verbiage in mma.md per Will's suggestion. - Modified rs6000_split_multireg_move to correctly handle BE PXImode and POImode moves. Patch 2/3: - Updated ChangeLog entry per Segher's suggestion. - Updated doc/extend.texi with correct built-in names for __builtin_vsx_xvcvspbf16 and __builtin_vsx_xvcvbf16sp. Patch 3/3: - No changes. Peter