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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |irar at il dot ibm.com

--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> 2011-05-22 
15:47:24 UTC ---
Still not vectorized in recent GCC:

t.c:7: note: not vectorized: unsupported use in stmt.

     1    typedef struct { float array[4]; } X;  
     2     
     3    X a,b;  
     4     
     5    float foobar () {  
     6        float s = 0;  
     7        for (unsigned int d=0; d<4; ++d)  
     8          s += a.array[d] * b.array[d];  
     9        return s;  
    10    }  
    11    

"GCC: (GNU) 4.6.0 20110312 (experimental) [trunk revision 170907]"

Reply via email to