]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add i?86-*-* and x86_64-*-* to vect_logical_reduc
authorliuhongt <hongtao.liu@intel.com>
Fri, 17 Nov 2023 00:03:56 +0000 (08:03 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 20 Nov 2023 02:51:54 +0000 (10:51 +0800)
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-*-*.

gcc/testsuite/lib/target-supports.exp

index e0d271217f669cab9477fb78ca1a1735d661b7a7..7412ac95623f307fc2c2b0ed48611c915d7fc2cc 100644 (file)
@@ -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.