From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0DABC3858C5E; Thu, 9 Mar 2023 15:34:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DABC3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678376048; bh=+kXlNuAZ2023nRwrz6PNlB1moqtADXvLHwgg9WeNNP4=; h=From:To:Subject:Date:From; b=PLF0kTqtYI7torZUZb5c+h+OT77Jrauad7cJ+6C+cfOZRJcOYu9kGfjcwkgRjXROC dd3piTuYvu6I/Dp9haNc5EZlTOUYzsp6y3ISSOzNxahJUpmHCzA5d+5YJLWhYARaxX ly194iNO0rbAGLnrOX4veKGGTwfUGlH9YSfQvoJY= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109082] New: emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive Date: Thu, 09 Mar 2023 15:34:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109082 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 =3D vec_sld (__zeros, (__v16qu) __A, (16 - __N)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ where % cat tu.c #include __m128i foo(__m128i A) { return _mm_bsrli_si128(A, 0); }=