public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: hongtao Liu <liuhongt@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-5604] Add i?86-*-* and x86_64-*-* to vect_logical_reduc
Date: Mon, 20 Nov 2023 02:52:13 +0000 (GMT)	[thread overview]
Message-ID: <20231120025213.44E13385C6E2@sourceware.org> (raw)

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.

                 reply	other threads:[~2023-11-20  2:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231120025213.44E13385C6E2@sourceware.org \
    --to=liuhongt@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).