From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D34843858C2F; Thu, 4 Aug 2022 06:24:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D34843858C2F From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/106516] New test case gcc.dg/pr104992.c fails on power 10 Date: Thu, 04 Aug 2022 06:24:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: NEW 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: everconfirmed cc cf_reconfirmed_on bug_status Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2022 06:24:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106516 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |linkw at gcc dot gnu.org Last reconfirmed| |2022-08-04 Status|UNCONFIRMED |NEW --- Comment #2 from Kewen Lin --- Confirmed, this is a test issue, power10 and up specific. The difference comes from the function thud, it aims to test the pattern wo= rks for vector type. Power10 starts to support the insn vmodsw for vector integ= er mod. So it gets: vector(4) int thud (vector(4) int x, vector(4) int y) _1 =3D x_3(D) % y_4(D); _2 =3D _1 =3D=3D { 0, 0, 0, 0 }; instead of=20 [local count: 1073741824]: _7 =3D BIT_FIELD_REF ; _8 =3D BIT_FIELD_REF ; _9 =3D _7 % _8; _10 =3D BIT_FIELD_REF ; _11 =3D BIT_FIELD_REF ; _12 =3D _10 % _11; _13 =3D BIT_FIELD_REF ; _14 =3D BIT_FIELD_REF ; _15 =3D _13 % _14; _16 =3D BIT_FIELD_REF ; _17 =3D BIT_FIELD_REF ; _18 =3D _16 % _17; _1 =3D {_9, _12, _15, _18}; _2 =3D _1 =3D=3D { 0, 0, 0, 0 }; We can adjust the test case to expect 6 times "%" on target power10_ok specially, but I wonder if we also find this fail on some other targets whi= ch supports vector mod, if so, one overall complete guard would be better.=