This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: No a*x+b*x factorization for signed vectors
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 1 Oct 2018 10:25:24 +0200
- Subject: Re: No a*x+b*x factorization for signed vectors
- References: <alpine.DEB.2.02.1809291249060.6690@stedding.saclay.inria.fr>
On Sat, Sep 29, 2018 at 1:06 PM Marc Glisse <marc.glisse@inria.fr> wrote:
>
> Hello,
>
> this is a simple patch to remove the wrong-code part of PR 87319. I didn't
> spend much time polishing that code, since it is meant to disappear
> anyway.
>
> We could probably remove the inner == inner2 test in
> signed_or_unsigned_type_for, I hadn't noticed when copy-pasting the code.
>
> bootstrap+regtest on powerpc64le-unknown-linux-gnu.
OK.
Thanks,
Richard.
> 2018-09-30 Marc Glisse <marc.glisse@inria.fr>
>
> PR middle-end/87319
> * fold-const.c (fold_plusminus_mult_expr): Handle complex and vectors.
> * tree.c (signed_or_unsigned_type_for): Handle complex.
>
> --
> Marc Glisse