Re: [PATCH 2/3] Allow divmod on UNITS_PER_WORD vectors

2012-07-19 Thread Jakub Jelinek
On Thu, Jul 19, 2012 at 11:52:57AM -0700, Richard Henderson wrote: > IA64 vectors modes are of course all UNITS_PER_WORD. I see no reason > to prevent the transformation of a V4HImode divmod, or even of V2SImode. > > Jakub, was there another reason you added this condition? I guess I wanted to p

[PATCH 2/3] Allow divmod on UNITS_PER_WORD vectors

2012-07-19 Thread Richard Henderson
IA64 vectors modes are of course all UNITS_PER_WORD. I see no reason to prevent the transformation of a V4HImode divmod, or even of V2SImode. Jakub, was there another reason you added this condition? r~ * tree-vect-patterns.c (vect_recog_divmod_pattern): Do not require vector