[PATCH] Add Shift operation for vector types
Andrew Pinski
Andrew_Pinski@playstation.sony.com
Wed Jul 8 21:24:00 GMT 2009
On Tue, Jul 7, 2009 at 1:58 AM, Richard
Guenther<richard.guenther@gmail.com> wrote:
> How do the shifts get expanded if the hardware does not support
> the operation? Thus, does tree-vect-generic handle this kind
> of shifts properly?
They get expanded in tree-vect-generic just like how addition is
expanded already.
The testcase I added was tested on a target which does not have
hardware support for shift operators on vector by a vector
(i686-darwin which has SSE2 enabled by default).
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list