THURSDAY, JULY 30, 2026
aarch64/sve
AArch64 SVE regression tests for 'rev' instruction usage
New regression tests for AArch64 SVE ensure the 'rev' instruction is used over predicated vector tails for byte-order reversal.
GCC’s AArch64 SVE support is enhanced with three new regression tests. These tests verify that the compiler continues to generate code utilizing the rev instruction for 32-bit byte-order reversal, rather than employing predicated vector tails. This ensures optimal instruction selection for SVE operations.
In Details
This commit adds regression tests for AArch64 SVE to ensure that 32-bit byte-order reversal code is vectorized using the rev instruction instead of predicated vector tails. This verification is crucial for maintaining performance and correct instruction selection within the SVE vectorization framework.