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: [PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code


On Tue, Sep 30, 2014 at 11:18:39AM -0500, Bill Schmidt wrote:
> > I meant generating a sequence that just "falls out" as you want it after
> > optimisation.  E.g. lvsr;vnot;vand(splat8(31));vperm can have the vand
> > absorbed by the vperm.  But that splat is nasty when not optimised away :-(
> 
> Especially since splat8(31) requires vsub(splat8(15),splat8(-16))...

vspltisb vT,-5 ; vsrb vD,vT,vT # :-)

> To get something that is correct with and without feeding a vperm and
> actually performs well just ain't happening here...

Yeah.


Segher


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