public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5604] Add i?86-*-* and x86_64-*-* to vect_logical_reduc
@ 2023-11-20  2:52 hongtao Liu
  0 siblings, 0 replies; only message in thread
From: hongtao Liu @ 2023-11-20  2:52 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0d734c79387191005c909c54c7556a88254c401b

commit r14-5604-g0d734c79387191005c909c54c7556a88254c401b
Author: liuhongt <hongtao.liu@intel.com>
Date:   Fri Nov 17 08:03:56 2023 +0800

    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:
---
 gcc/testsuite/lib/target-supports.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index e0d271217f6..7412ac95623 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-20  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20  2:52 [gcc r14-5604] Add i?86-*-* and x86_64-*-* to vect_logical_reduc hongtao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).