------- Comment #6 from dorit at il dot ibm dot com 2006-02-08 14:17 ------- (In reply to comment #4) > ... This happens > because the IA-64 port defines the widen_ssumv4hi3 pattern. The IA-64 port is > the only one that defines this pattern, and hence is probably the only port > "broken" here. All others will presumably fail to vectorize this loop.
that's correct. it's actually a combination of being able to support widen_ssumv4hi3 and (non widening) multiplication of shorts. looks like we need to split these loops into separate testcases, and for this particular loop expect vectorization if vect_widen_sum and vect_short_mult (new keyword) are supported. > and the testcase fails because we only expected 1 loop to be vectorized. > I think the only thing wrong here is that the dg-final tests in the testcase > are not precise enough to handle this case. indeed. Will take care of that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25918