diff options
author | liuhongt <hongtao.liu@intel.com> | 2023-11-17 08:03:56 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2023-11-20 10:51:54 +0800 |
commit | 0d734c79387191005c909c54c7556a88254c401b (patch) | |
tree | 38051eb35249b05b8fe7b741dc3abc804c1d4aa2 | |
parent | 2b59e2b4dff42118fe3a505f07b9a6aa4cf53bdf (diff) | |
download | gcc-0d734c79387191005c909c54c7556a88254c401b.zip gcc-0d734c79387191005c909c54c7556a88254c401b.tar.gz gcc-0d734c79387191005c909c54c7556a88254c401b.tar.bz2 |
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-*-*.
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index e0d2712..7412ac9 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. |