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] Implement vector shift left for Altivec


Hi, Ira.

Thanks for developing this patch.  Why does altivec.md already implement
patterns altivec_vrl<VI_char>, altivec_vsl<VI_char>, altivec_vsl,
lshr<mode>3, and ashr<mode>3, but not ashl<mode>3?  Does Altivec
vsl{b,h,w} correctly implement the GCC ashlVMM3 semantics?

Also, the pattern should be placed with the other vsl patterns, not
breaking the grouping of vsr patterns.

Thanks, David


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