This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [MIPS] Fix PR target/91769
- From: Jeff Law <law at redhat dot com>
- To: Dragan Mladjenovic <dmladjenovic at wavecomp dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Matthew Fortune <mfortune at gmail dot com>
- Date: Tue, 1 Oct 2019 13:37:12 -0600
- Subject: Re: [PATCH] [MIPS] Fix PR target/91769
- References: <1569395735-18881-1-git-send-email-dmladjenovic@wavecomp.com>
On 9/25/19 1:16 AM, Dragan Mladjenovic wrote:
> From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>
>
> This fixes the issue by checking that addr's base reg is not part of dest
> multiword reg instead just checking the first reg of dest.
>
> gcc/ChangeLog:
>
> 2019-09-25 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
>
> PR target/91769
> * config/mips/mips.c (mips_split_move): Use reg_overlap_mentioned_p
> instead of REGNO equality check on addr.reg.
>
> gcc/testsuite/ChangeLog:
>
> 2019-09-25 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
>
> PR target/91769
> * gcc.target/mips/pr91769.c: New test.
OK. This would seem fine to backport to gcc-9 as well. I don't think
gcc-8 had this code.
Sorry for introducing the problem (this looks like mine :(
jeff