[PATCH] Re: Vectorizer question: DIV to RSHIFT conversion

Richard Henderson rth@redhat.com
Thu Dec 15 20:43:00 GMT 2011


On 12/14/2011 04:25 AM, Jakub Jelinek wrote:
> 	* config/i386/sse.md (vcond<V_256:mode><VI_256:mode>,
> 	vcond<V_128:mode><VI124_128:mode>, vcond<VI8F_128:mode>v2di):
> 	Use general_operand instead of nonimmediate_operand for
> 	operand 5 and no predicate for operands 1 and 2.
> 	* config/i386/i386.c (ix86_expand_int_vcond): Optimize
> 	x < 0 ? -1 : 0 and x < 0 ? 1 : 0 into vector arithmetic
> 	resp. logical shift.

Ok for the i386 changes.


r~



More information about the Gcc-patches mailing list