------- Comment #2 from meissner at linux dot vnet dot ibm dot com 2009-05-06 19:19 ------- Created an attachment (id=17812) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17812&action=view) Simplified test case
This testcase shows the problem. Without the patch, it generates a vspltiw (vector splat immediate word) when it should generate vspltish. Using vsplitw means that every other vector element will be shifted by 0 instead of 2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40049