https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129009
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <[email protected]>: https://gcc.gnu.org/g:d10e6c3818ae9b15a304bca09ca2ebb013b3295d commit r17-6781-gd10e6c3818ae9b15a304bca09ca2ebb013b3295d Author: Sendao Yan <[email protected]> Date: Sat Nov 28 10:30:24 2026 -0700 [PATCH] [testsuite] aarch64: Accept either operand order in faminmax codegen tests The forwprop pass now folds chains of BIT_INSERT_EXPR into a CONSTRUCTOR (c72a38721a6), which changes the order in which the result vector is built and therefore the operand order of the commutative FAMAX/FAMIN and FMAXNM/FMINNM instructions for the 64-bit vector forms. Both orders are equally valid, but the check-function-bodies regexes pinned one of them. Accept either order for test_vamax_f32, test_vamaxq_f64, test_vamin_f32 and test_vaminq_f64 in both tests. The f16 and .4s variants are unaffected. Tested on aarch64 and on x86_64 with an aarch64 cross compiler: the eight failures now report PASS. PR testsuite/129009 gcc/testsuite/ChangeLog: * gcc.target/aarch64/simd/faminmax-codegen.c: Accept either operand order for test_vamax_f32, test_vamaxq_f64, test_vamin_f32 and test_vaminq_f64. * gcc.target/aarch64/simd/faminmax-codegen-no-flag.c: Likewise. Signed-off-by: Sendao Yan <[email protected]>
