[PATCH]: Machine independent patch, was: Update SSE5 vector multiplication, shift, rotate

Andrew Pinski pinskia@gmail.com
Tue Apr 22 20:44:00 GMT 2008


On Tue, Apr 22, 2008 at 8:39 AM, Paolo Bonzini <bonzini@gnu.org> wrote:
>  I agree a lot with this (Michael's).  OTOH if you want to go the other way,
> I attach a patch to convert the SPU port (mostly untested); this goes with
> the patch I already posted for AltiVec.

Actually is there a reason why we need an extra vector << scalar ?
Can't we have it match with vec_duplicate and have the tree level
always accept vector shift vector including the tree vectorizer
producing that?  The SPU part already does this for constants really
with the 'W' constraint.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list