Message ID | 20101014022047.GA13504@intel.com |
---|---|
State | New |
Headers | show |
--- /dev/null 2010-10-13 10:21:15.312298381 -0700 +++ gcc/gcc/testsuite/gcc.target/i386/pr44144.c 2010-10-13 19:16:17.766025326 -0700 @@ -0,0 +1,11 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -ftree-vectorize -mavx" } */ + +void +foo (char * dest, int xcount, int ycount) +{ + int x, y; + for (y = 0; y < ycount; y++) + for (x = 0; x < xcount; x++) + dest[x + y*2] = 0; +}