public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "malat at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/109082] emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive
Date: Thu, 09 Mar 2023 15:35:24 +0000	[thread overview]
Message-ID: <bug-109082-4-dlBSS7itqd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109082-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109082

--- Comment #1 from Mathieu Malaterre <malat at debian dot org> ---
Looks like a typo:

% head -1624
/usr/lib/gcc-snapshot/lib/gcc/powerpc64le-linux-gnu/13/include/emmintrin.h |
tail
  __v16qu __result;
  const __v16qu __zeros = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };

  if (__N < 16)
#ifdef __LITTLE_ENDIAN__
    if (__builtin_constant_p(__N))
      /* Would like to use Vector Shift Left Double by Octet
         Immediate here to use the immediate form and avoid
         load of __N * 8 value into a separate VR.  */
      __result = vec_sld (__zeros, (__v16qu) __A, (16 - __N));

^

should be 15 - __N

  reply	other threads:[~2023-03-09 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 15:34 [Bug c/109082] New: " malat at debian dot org
2023-03-09 15:35 ` malat at debian dot org [this message]
2023-03-09 15:44 ` [Bug c/109082] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109082-4-dlBSS7itqd@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).