AArch64 hardware checks for complex, dotprod, and i8mm fixed
Corrected AArch64 hardware feature checks in the testsuite to accurately verify complex, dot product, and i8mm instructions.
Several hardware feature checks for AArch64 in the GCC testsuite have been fixed. This includes corrections for FCADD (complex multiplication), UDOT (dot product), and USDOT (integer dot product) instructions, ensuring these tests accurately reflect hardware capabilities and don’t lead to unsupported features or false failures.
In Details
This commit addresses issues in AArch64 testsuite hardware checks: check_effective_target_arm_v8_3a_complex_neon_hw used an incorrect expected value for FCADD due to an inverted return; check_effective_target_arm_v8_2a_dotprod_neon_hw and check_effective_target_arm_v8_2a_i8mm_neon_hw had incorrect accumulation logic for UDOT/USDOT. The fixes involve adjusting expected values, using zero addends for FCADD to ensure predictable results across endianness, and modifying accumulation to match instruction behavior. Additionally, pr126592.c now uses -save-temps to ensure an assembl…
- AArch64
- The 64-bit ARM architecture, which includes advanced SIMD (Advanced SIMD) and Scalable Vector Extension (SVE) instruction sets that support vector processing.
- FCADD
- AArch64 Advanced SIMD instruction for fused complex number multiplication and addition. It performs operations like (a + ib) * (c + id) + (e + if).
- UDOT
- AArch64 Advanced SIMD instruction for unsigned dot product accumulation. It computes the dot product of two vectors and accumulates the result into a destination vector.
- i8mm
- Integer 8-bit Matrix Multiply. Refers to instructions like
UMMLA(unsigned matrix multiply accumulate) on AArch64, which efficiently perform 8-bit integer matrix multiplications. - testsuite
- A collection of tests used to verify the correctness and performance of the compiler. It includes various test cases, configurations, and expected output comparisons.