AArch64: Model throughput dependencies for integer unpacks
Improves AArch64 throughput modeling by accounting for dependencies between successive integer unpack operations.
This patch enhances the AArch64 throughput model to better account for dependencies between integer unpack operations. Previously, all unpack instructions were counted together, ignoring the sequential nature of conversions like QI to SI. The update models these dependencies by rounding up instruction counts to issue cycles, providing a more accurate performance estimate, especially for vector operations.
In Details
The AArch64 backend's instruction throughput model in GCC has been refined to better handle chained integer element size conversions (e.g., QI -> HI -> SI). The previous model simply summed operations, losing dependency information. This change approximates the issue cycle cost by rounding intermediate unpack stages to whole cycles based on the core's general operation issue rate. It also correctly attributes SVE boolean vector operations to predicate throughput rather than general operations.
- AArch64
- The 64-bit ARM architecture, a popular instruction set architecture for mobile and server processors.
- QI
- Quoted Integer, typically an 8-bit integer type.
- HI
- Half-word Integer, typically a 16-bit integer type.
- SI
- Single Integer, typically a 32-bit integer type.
- SVE
- Scalable Vector Extension for ARM, allowing vector operations to adapt to different vector lengths.