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

jens.maurer at gmx dot net gcc-bugzilla@gcc.gnu.org
Tue Jul 24 10:07:00 GMT 2012


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?



More information about the Gcc-bugs mailing list