public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109082] New: emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive
@ 2023-03-09 15:34 malat at debian dot org
  2023-03-09 15:35 ` [Bug c/109082] " malat at debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: malat at debian dot org @ 2023-03-09 15:34 UTC (permalink / raw)
  To: gcc-bugs

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);
}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-27  8:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 15:34 [Bug c/109082] New: emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive malat at debian dot org
2023-03-09 15:35 ` [Bug c/109082] " malat at debian dot org
2023-03-09 15:44 ` jakub at gcc dot gnu.org
2023-03-09 15:48 ` [Bug target/109082] " jakub at gcc dot gnu.org
2023-03-16  8:14 ` linkw at gcc dot gnu.org
2023-03-27  2:45 ` cvs-commit at gcc dot gnu.org
2023-03-27  8:10 ` linkw at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).