Hi:

The testsuite has a typo in "dg-final scan-assembler", s/mthc1/mtc1/.


On Fri, Oct 4, 2019 at 7:21 PM Dragan Mladjenovic
<dmladjeno...@wavecomp.com> wrote:
>
> On 01.10.2019. 21:37, Jeff Law wrote:
> > On 9/25/19 1:16 AM, Dragan Mladjenovic wrote:
> >> From: "Dragan Mladjenovic" <dmladjeno...@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  <dmladjeno...@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  <dmladjeno...@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.
>
> Committed on trunk as r276525.
> Committed on gcc-9-branch as r276570 along with the r273174 as r276569.
>
> Best regards,
> Dragan
>
diff --git a/gcc/testsuite/gcc.target/mips/pr91769.c b/gcc/testsuite/gcc.target/mips/pr91769.c
index c9ad70d7f75..a1785d186d6 100644
--- a/gcc/testsuite/gcc.target/mips/pr91769.c
+++ b/gcc/testsuite/gcc.target/mips/pr91769.c
@@ -16,4 +16,4 @@ foo (void)
 }
 
 /* { dg-final { scan-assembler-not "lw\t\\\$4,0\\(\\\$5\\)\n\tlw\t\\\$5,4\\(\\\$5\\)\n\tldc1\t\\\$.*,0\\(\\\$5\\)" } } */
-/* { dg-final { scan-assembler "lw\t\\\$4,0\\(\\\$5\\)\n\tlw\t\\\$5,4\\(\\\$5\\)\n\tmtc1\t\\\$4,\\\$.*\n\tmthc1\t\\\$5,\\\$.*" } } */
+/* { dg-final { scan-assembler "lw\t\\\$4,0\\(\\\$5\\)\n\tlw\t\\\$5,4\\(\\\$5\\)\n\tmtc1\t\\\$4,\\\$.*\n\tmtc1\t\\\$5,\\\$.*" } } */

Reply via email to