This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54079] New: __builtin_ia32_palignr128 can't be called


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

             Bug #: 54079
           Summary: __builtin_ia32_palignr128 can't be called
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jens.maurer@gmx.net


#pragma GCC target ("ssse3")

int main()
{
   long long x __attribute__((vector_size(16)));
   x = __builtin_ia32_palignr128(x, x, 4);
}


yields:


$ g++ x.cc 
x.cc: In function âint main()â:
x.cc:7:42: error: the last argument must be an 8-bit immediate


How much more "immediate" can you get when you pass an integer literal?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]