public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Stubbs <ams@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-12] [OG12] amdgcn: Fixup "Add builtin for vectorized DFmode fabs operation"
Date: Wed, 12 Oct 2022 10:46:29 +0000 (GMT)	[thread overview]
Message-ID: <20221012104629.6FEB13898391@sourceware.org> (raw)

https://gcc.gnu.org/g:5bcf4e223664de67ca1a17eb7d47501b57cbc21b

commit 5bcf4e223664de67ca1a17eb7d47501b57cbc21b
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Tue Oct 11 15:14:41 2022 +0100

    [OG12] amdgcn: Fixup "Add builtin for vectorized DFmode fabs operation"
    
    The function was taken away by the "add multiple vector sizes" patch.
    
    2022-10-11  Andrew Stubbs  <ams@codesourcery.com>
    
            gcc/
            * config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg
            to get_exec.

Diff:
---
 gcc/ChangeLog.omp     | 5 +++++
 gcc/config/gcn/gcn.cc | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index 7dcc2202072..d296eb137e8 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,8 @@
+2022-10-12  Andrew Stubbs  <ams@codesourcery.com>
+
+	* config/gcn/gcn.cc (gcn_expand_builtin_1): Change gcn_full_exec_reg
+	to get_exec.
+
 2022-10-12  Andrew Stubbs  <ams@codesourcery.com>
 
 	Backport from mainline:
diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index 681388c3645..1f8d8e19971 100644
--- a/gcc/config/gcn/gcn.cc
+++ b/gcc/config/gcn/gcn.cc
@@ -4361,7 +4361,7 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ ,
       {
 	if (ignore)
 	  return target;
-	rtx exec = gcn_full_exec_reg ();
+	rtx exec = get_exec (-1);
 	rtx arg = force_reg (V64DFmode,
 			     expand_expr (CALL_EXPR_ARG (exp, 0), NULL_RTX,
 					  V64DFmode,

                 reply	other threads:[~2022-10-12 10:46 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=20221012104629.6FEB13898391@sourceware.org \
    --to=ams@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).