From: liuhongt Date: Fri, 17 Nov 2023 00:03:56 +0000 (+0800) Subject: Add i?86-*-* and x86_64-*-* to vect_logical_reduc X-Git-Tag: basepoints/gcc-15~4535 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d734c79387191005c909c54c7556a88254c401b;p=thirdparty%2Fgcc.git Add i?86-*-* and x86_64-*-* to vect_logical_reduc x86 backend support reduc_{and,ior,xor>_scal_m for vector integer modes. gcc/testsuite/ChangeLog: * lib/target-supports.exp (vect_logical_reduc): Add i?86-*-* and x86_64-*-*. --- diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index e0d271217f66..7412ac95623f 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -9257,7 +9257,8 @@ proc check_effective_target_vect_call_roundf { } { proc check_effective_target_vect_logical_reduc { } { return [expr { [check_effective_target_aarch64_sve] || [istarget amdgcn-*-*] - || [check_effective_target_riscv_v] }] + || [check_effective_target_riscv_v] + || [istarget i?86-*-*] || [istarget x86_64-*-*]}] } # Return 1 if the target supports the fold_extract_last optab.