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: [email protected]
ReportedBy: [email protected]
#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?