https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103098
Bug ID: 103098
Summary: bogus error: the last argument must be an 8-bit
immediate
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
% cat t.c
long long int __attribute__ ((__vector_size__ (16))) a;
int main (void)
{
a = __builtin_ia32_pslldqi128 (a, 1);
}
% gcc t.c
t.c: In function 'main':
t.c:5:7: error: the last argument must be an 8-bit immediate
a = __builtin_ia32_pslldqi128 (a, 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~