testsuite: Fix default on arm_v8_3a_fp16_complex_neon_hw [PR124236]

check_effective_target_arm_v8_3a_complex_neon_hw was return 1 instead of 0
whenever armv8.3-a wasn't supported.

This fixes it.

gcc/testsuite/ChangeLog:

	PR target/124236
	* lib/target-supports.exp
	(check_effective_target_arm_v8_3a_complex_neon_hw): Fix default value.
This commit is contained in:
Tamar Christina
2026-02-25 13:39:29 +00:00
parent 6441bc34bc
commit dda0023713

View File

@@ -13892,7 +13892,7 @@ proc add_options_for_arm_v8_3a_fp16_complex_neon { flags } {
proc check_effective_target_arm_v8_3a_complex_neon_hw { } {
if { ![check_effective_target_arm_v8_3a_complex_neon_ok] } {
return 1;
return 0;
}
return [check_runtime arm_v8_3a_complex_neon_hw_available {
#include "arm_neon.h"