]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: arm: Make arm_neon_ok_nocache consistent with other effective-targets
authorChristophe Lyon <christophe.lyon@arm.com>
Tue, 3 Feb 2026 13:07:10 +0000 (13:07 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 3 Feb 2026 15:06:36 +0000 (15:06 +0000)
commitf7f2b73b9c1e0101b7278893fc28a0769ca760df
treed95e538751eaed82eb26cdbb1af5fcbb670acf98
parente7c2fd08ce09fa31240d094d49d5e2a3ada552d1
testsuite: arm: Make arm_neon_ok_nocache consistent with other effective-targets

A recent patch updated arm_neon_ok_nocache with an improved list of
flags to try, but was not consistent with
arm_v8_3a_complex_neon_ok,_nocache arm_v8_2a_fp16_neon_ok_nocache,
arm_v8_3a_fp16_complex_neon_ok_nocache.

This patch inserts "-mcpu=unset -march=armv7-a+simd -mfpu=auto" before
we try to force -mfloat-abi=softfp and -mfloat-abi=hard.

Tested on aarch64-linux-gnu, arm-linux-gnueabihf and several flavors
of arm-none-eabi with non-default configurations.

2026-02-03  Christophe Lyon  <christophe.lyon@arm.com>

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_neon_ok_nocache): Add "-mcpu=unset
-march=armv7-a+simd -mfpu=auto" to the list.
gcc/testsuite/lib/target-supports.exp