On 2012-06-14 13:58, Jakub Jelinek wrote: > + if (!supportable_widening_operation (WIDEN_MULT_EXPR, last_stmt, > + vecwtype, vectype, > + &dummy, &dummy, &dummy_code, > + &dummy_code, &dummy_int, &dummy_vec)) > + return NULL;
It would be nice to be able to handle high-part multiplies as well, e.g. VEC_WIDEN_MULT_HI_EXPR. Which is what Altivec provides, and not VEC_WIDEN_MULT. I note that the sse pattern for <s>mul<mode>3_highpart (pmulhuw) is apparently mis-named under this scheme. r~