This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rs6000] Fix non-canonical CONST_INTs in altivec_copysign_v4sf3 (PR91823)
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com, seurer at linux dot vnet dot ibm dot com, richard dot sandiford at arm dot com
- Date: Mon, 23 Sep 2019 06:24:51 -0500
- Subject: Re: [rs6000] Fix non-canonical CONST_INTs in altivec_copysign_v4sf3 (PR91823)
- References: <mptef07s5lp.fsf@arm.com>
On Mon, Sep 23, 2019 at 10:51:30AM +0100, Richard Sandiford wrote:
> The pattern was generating zero-extended rather than sign-extended
> CONST_INTs.
>
> Tested by Bill Seurer (thanks!). OK to install?
Sure! One nit:
> gcc/
> PR target/91823
> * config/rs6000/altivec.md (altivec_copysign_v4sf3): Generate
> canonical CONST_INTs. Use gen_rtvec_v.
You actually use gen_rtvec here.
Okay for trunk (and backports if you want those). Thanks!
Segher