From: "Kewen.Lin" <linkw@linux.ibm.com>
To: jeevitha <jeevitha@linux.ibm.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
Segher Boessenkool <segher@kernel.crashing.org>,
Michael Meissner <meissner@linux.ibm.com>,
Peter Bergner <bergner@linux.ibm.com>
Subject: Re: [PATCH V3] rs6000: Don't ICE when compiling the __builtin_vsx_splat_2di built-in [PR113950]
Date: Wed, 17 Apr 2024 17:28:28 +0800 [thread overview]
Message-ID: <f13614b5-38e2-1dfa-7659-b704e68967cf@linux.ibm.com> (raw)
In-Reply-To: <c6f621ea-1ce9-4d23-aa3a-f38c70b21bfa@linux.ibm.com>
Hi,
on 2024/4/17 17:05, jeevitha wrote:
> Hi,
>
> On 18/03/24 7:00 am, Kewen.Lin wrote:
>
>>> The bogus vsx_splat_<mode> code goes all the way back to GCC 8, so we
>>> should backport this fix. Segher and Ke Wen, can we get an approval
>>> to backport this to all the open release branches (GCC 13, 12, 11)?
>>> Thanks.
>>
>> Sure, okay for backporting this to all active branches, thanks!
>>
>
> I need clarification regarding the backporting of PR113950 to GCC 12.
>
> We encountered an issue while resolving merge conflicts in GCC 12. The
> problem lies in extra deletions in the diff due to cherry-picking. Now,
> we're unsure about the best approach for handling the backport.
>
> To provide context, I have included the relevant diff snippet below,
>
> diff --cc gcc/config/rs6000/vsx.md
> index c45794fb9ed,f135fa079bd..00000000000
> --- a/gcc/config/rs6000/vsx.md
> +++ b/gcc/config/rs6000/vsx.md
> @@@ -4562,8 -4666,8 +4562,8 @@@
> rtx op1 = operands[1];
> if (MEM_P (op1))
> operands[1] = rs6000_force_indexed_or_indirect_mem (op1);
> - else if (!REG_P (op1))
> - op1 = force_reg (<VSX_D:VS_scalar>mode, op1);
> + else
> - operands[1] = force_reg (<VSX_D:VEC_base>mode, op1);
> ++ operands[1] = force_reg (<VSX_D:VS_scalar>mode, op1);
> })
>
> I'm seeking your advice on how to proceed with the backport. Do you
> think the above change is acceptable, or should we also backport Segher's
> commit e0e3ce634818b83965b87512938490df4d57f81d, which caused the conflict?.
I prefer the former, which is the least modification, for release branches
let's introduce as few changes as possible, and the amendment on the conflict
is minor and straightforward.
BR,
Kewen
> There was no regression with both of these changes.
>
> Jeevitha.
>
prev parent reply other threads:[~2024-04-17 9:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-03 18:55 jeevitha
2024-03-06 9:27 ` Kewen.Lin
2024-03-15 20:34 ` Peter Bergner
2024-03-18 1:30 ` Kewen.Lin
2024-04-17 9:05 ` jeevitha
2024-04-17 9:28 ` Kewen.Lin [this message]
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=f13614b5-38e2-1dfa-7659-b704e68967cf@linux.ibm.com \
--to=linkw@linux.ibm.com \
--cc=bergner@linux.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jeevitha@linux.ibm.com \
--cc=meissner@linux.ibm.com \
--cc=segher@kernel.crashing.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).