On Sun, Jun 19, 2005 at 08:00:22PM +0300, Dorit Naishlos wrote: > Altivec does support non immediate shift amount (even if less efficiently - > I have to put the shift amount in a vector register first). But since we > have defined these optabs to represent shift operations that take immediate > shift amount, I shouldn't be returning vec_shli/vec_shri if the shift is > not constant.
I think this is a bit silly; unless we have a good reason I don't think we should define different optabs for constant/non-constant shift counts. r~