public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] amdgcn: Fix expansion of GCN_BUILTIN_LDEXPV builtin Date: Mon, 7 Nov 2022 15:15:18 +0000 (GMT) [thread overview] Message-ID: <20221107151518.104DA3858422@sourceware.org> (raw) https://gcc.gnu.org/g:ecf1603b7ad29a44622d6ef5fff78e40a12757c6 commit ecf1603b7ad29a44622d6ef5fff78e40a12757c6 Author: Kwok Cheung Yeung <kcy@codesourcery.com> Date: Mon Nov 7 13:11:33 2022 +0000 amdgcn: Fix expansion of GCN_BUILTIN_LDEXPV builtin 2022-11-07 Kwok Cheung Yeung <kcy@codesourcery.com> gcc/ * config/gcn/gcn.cc (gcn_expand_builtin_1): Expand first argument of GCN_BUILTIN_LDEXPV to V64DFmode. 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 7551b505bc0..2fd66c63cbb 100644 --- a/gcc/ChangeLog.omp +++ b/gcc/ChangeLog.omp @@ -1,3 +1,8 @@ +2022-11-07 Kwok Cheung Yeung <kcy@codesourcery.com> + + * config/gcn/gcn.cc (gcn_expand_builtin_1): Expand first argument + of GCN_BUILTIN_LDEXPV to V64DFmode. + 2022-11-01 Kwok Cheung Yeung <kcy@codesourcery.com> Paul-Antoine Arras <pa@codesourcery.com> diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index f0c78510880..884703249ae 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -4416,7 +4416,7 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ , return target; rtx arg1 = force_reg (V64DFmode, expand_expr (CALL_EXPR_ARG (exp, 0), NULL_RTX, - V64SFmode, + V64DFmode, EXPAND_NORMAL)); rtx arg2 = force_reg (V64SImode, expand_expr (CALL_EXPR_ARG (exp, 1), NULL_RTX,
reply other threads:[~2022-11-07 15:15 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=20221107151518.104DA3858422@sourceware.org \ --to=kcy@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: linkBe 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).