AArch64 SVE FMMLA pattern names unified
SVE FMMLA pattern names in AArch64 backend are unified for better selection and future expansion.
This commit refactors the naming of Scalable Vector Extension (SVE) Floating-point Matrix Multiply Accumulate (FMMLA) patterns in the AArch64 GCC backend. It unifies existing non-widening FMMLA patterns by giving them both result and input modes, and renames widening patterns from aarch64_sve2* to aarch64_sve*. This change simplifies the svmmla_impl::expand function, allowing it to select all relevant floating-point FMMLA patterns through a single interface and prepares for the addition of new non-widening forms.
In Details
This patch harmonizes the naming of SVE FMMLA machine patterns in the AArch64 backend. Non-widening patterns like aarch64_sve_<sve_fp_op><mode> are renamed to include explicit result and input modes, e.g., aarch64_sve_<sve_fp_op><mode><mode>. Widening patterns previously prefixed with sve2 are now prefixed with sve. The svmmla_impl::expand function is updated to leverage these unified names, simplifying pattern selection and accommodating future extensions to the FMMLA instruction set.
- SVE
- Scalable Vector Extension, an advanced SIMD instruction set for ARM architecture that allows vector registers to be of variable length, adapting to the hardware.
- FMMLA
- Floating-point Matrix Multiply Accumulate, an instruction on ARM architectures that performs matrix multiplication and accumulates the result.
- AArch64
- The 64-bit ARM architecture. GCC supports generating code for this architecture.
- machine patterns
- Internal representations within GCC's backend that describe how to generate specific machine instructions for a target architecture.
- widening patterns
- In the context of SIMD and vector instructions, widening refers to operations that combine results from smaller data elements into larger ones, or instructions that support operations on larger vector sizes.