This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add Shift operation for vector types
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