https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77399

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-08-30
          Component|middle-end                  |tree-optimization
            Summary|Fails to use native         |SLP does not handle
                   |instructions for vector     |BIT_FIELD_REF or
                   |casts                       |CONSTRUCTOR
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

One extra case:
typedef int   v4si __attribute__((vector_size(16)));
typedef float v4sf __attribute__((vector_size(16)));

v4sf vec_cast1(int *f)
{
  return (v4sf){f[0], f[1], f[2], f[3]};
}

In this case, the CONSTRUCTOR is the "store"

Reply via email to