[PATCH] Slightly fix up vgather* patterns (take 2)

Richard Henderson rth@redhat.com
Wed Oct 12 20:57:00 GMT 2011


On 10/12/2011 11:25 AM, Jakub Jelinek wrote:
> 	* config/i386/sse.md (avx2_gathersi<mode>,
> 	avx2_gatherdi<mode>, avx2_gatherdi<mode>256): Add clobber of
> 	match_scratch, change memory_operand to register_operand,
> 	add (mem:BLK (scratch)) use.
> 	(*avx2_gathersi<mode>, *avx2_gatherdi<mode>,
> 	*avx2_gatherdi<mode>256): Add clobber of match_scratch,
> 	add earlyclobber to the output operand and match_scratch,
> 	add (mem:BLK (scratch)) use, change the other mem to match_operand.
> 	Use %p6 instead of %c6 in the pattern.
> 	* config/i386/i386.c (ix86_expand_builtin): Adjust for
> 	operand 2 being a Pmode register_operand instead of memory_operand.

Ok.

It looks like these 4 patterns could be macro-ized some more.
But that can wait for a follow-up.


r~



More information about the Gcc-patches mailing list