This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rs6000] Fix non-canonical CONST_INTs in altivec_copysign_v4sf3 (PR91823)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]