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

             Bug #: 53140
           Summary: Add support for vector of complex numbers
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: andrii.riabushe...@barclays.com


Since now complex numbers are integral types gcc should provide support for
vector of complex numbers. Hence, the following code will start working:


typedef float _Complex v2sc __attribute__((vector_size(16)));
typedef float _Complex v4sc __attribute__((vector_size(32)));
typedef double _Complex v1dc __attribute__((vector_size(16)));
typedef double _Complex v2dc __attribute__((vector_size(32)));

v4sc a,b;
a += b;

Reply via email to