[PATCH, PR target/70442] STV: suppport undefined registers for reg copies
Jakub Jelinek
jakub@redhat.com
Thu Mar 31 11:47:00 GMT 2016
On Thu, Mar 31, 2016 at 02:25:41PM +0300, Ilya Enkovich wrote:
> This patch adds support for undefined register copies.
> This is simply done by calling scalar_chain::convert_op
> for copied registers. Bootstrapped and regtested on
> x86_64-unknown-linux-gnu{-m32}. OK for trunk?
>
> Thanks,
> Ilya
> --
> gcc/
>
> 2016-03-31 Ilya Enkovich <enkovich.gnu@gmail.com>
>
Missing
PR target/70442
here.
> 2016-03-31 Ilya Enkovich <enkovich.gnu@gmail.com>
>
And here too.
> * gcc.target/i386/pr70442.c: New test.
> @@ -3467,6 +3468,8 @@ scalar_chain::convert_insn (rtx_insn *insn)
> break;
>
> case REG:
> + if (!MEM_P(dst))
Missing space before (.
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/i386/pr70442.c
> @@ -0,0 +1,18 @@
I'd add
/* PR target/70442 */
here.
> +/* { dg-do compile { target { ia32 } } } */
> +/* { dg-options "-O2 -msse2" } */
There is really nothing ia32 specific on the test, so I'd move it
to gcc.dg/pr70442.c instead, and just
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-msse2" { target ia32 } } */
or so.
For the i386.c change I'll defer to Uros as the maintainer.
Jakub
More information about the Gcc-patches
mailing list