[Bug middle-end/38856] loop iv detection failure

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 15 21:17:00 GMT 2009



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-01-15 21:17 -------
Here is a good testcase:
void
VecADD(
    int *In1,
    int *In2,
    int *Out,
    unsigned int samples
){
  int i;
  for (i = 0; i < samples; i++) {
    Out[i] = In1[i];
  }
}

This testcase should be vectorized with -maltivec -O3 on PowerPC but is not
while it is with -m64.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-15 21:17:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38856



More information about the Gcc-bugs mailing list