diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2025-04-18 21:10:10 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2025-09-01 14:56:43 +0000 |
commit | 3cb6c01d2a9ab0ff44767a5866a4a7b929334263 (patch) | |
tree | 5199d64c6c6c934b8d806cce472ebf3b230a3fce /gcc/testsuite/rust/compile/issue-3541-2.rs | |
parent | 20cd438f2f49ed4816cba9ecc558ee3377b342ba (diff) | |
download | gcc-3cb6c01d2a9ab0ff44767a5866a4a7b929334263.zip gcc-3cb6c01d2a9ab0ff44767a5866a4a7b929334263.tar.gz gcc-3cb6c01d2a9ab0ff44767a5866a4a7b929334263.tar.bz2 |
testsuite: arm: remove arm32 check from a few effective-targets
A few arm effective-targets call check_effective_target_arm32 even
though they would force a -march=XXX flag which supports Arm and/or
Thumb-2, thus making the arm32 check useless. This has an impact when
the toolchain is configured with a default -march or -mcpu which
supports Thumb-1 only: in such a case, arm32 is false and we skip many
tests, thus reducing coverage.
This patch removes the call to check_effective_target_arm32 where it
is useless, enabling about 2000 tests.
In addition, add an early exit if the target is not an arm one, thus
saving a few compilation cycles where not needed. In all callers of
arm_neon_ok, remove the now useless "istarget arm*-*-*.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp
(check_effective_target_arm_neon_ok_nocache): Remove arm32 check.
Add istarget arm*-*-* check.
(check_effective_target_arm_neon_fp16_ok_nocache): Likewise.
(check_effective_target_arm_neon_softfp_fp16_ok_nocache): Likewise.
(check_effective_target_arm_v8_neon_ok_nocache): Likewise.
(check_effective_target_arm_neonv2_ok_nocache): Likewise.
(check_effective_target_vect_pack_trunc): Remove istarget arm*-*-*
check.
(check_effective_target_vect_unpack): Likewise.
(check_effective_target_vect_condition): Likewise.
(check_effective_target_vect_cond_mixed): Likewise.
(available_vector_sizes): Likewise.
Diffstat (limited to 'gcc/testsuite/rust/compile/issue-3541-2.rs')
0 files changed, 0 insertions, 0 deletions