POWER ISA 3.1 added new Matrix-Multiply Assist (MMA) instructions. The following patch series adds support for generating these instructions through built-in functions which are enabled with the -mmma option.
Patch1 adds the base support required for defining the built-ins. Patch2 adds the built-ins themselves and Patch3 adds testsuite test cases to exercise the builtins. I'll note that I split the testsuite changes into their own patch solely for review purposes. I plan on committing patch2 and patch3 together. 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. Peter