https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109082
Bug ID: 109082 Summary: emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: malat at debian dot org Target Milestone: --- On ppc64el here is what I get: % /usr/lib/gcc-snapshot/bin/gcc -DNO_WARN_X86_INTRINSICS -O3 -c tu.c In file included from tu.c:1: In function '_mm_bsrli_si128', inlined from 'foo' at tu.c:3:10: /usr/lib/gcc-snapshot/lib/gcc/powerpc64le-linux-gnu/13/include/emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive 1624 | __result = vec_sld (__zeros, (__v16qu) __A, (16 - __N)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ where % cat tu.c #include <emmintrin.h> __m128i foo(__m128i A) { return _mm_bsrli_si128(A, 0); }