From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB50B3853825; Wed, 24 Aug 2022 02:25:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB50B3853825 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661307905; bh=/9ghn1L5PMoPjTaEJxmE4fL0WMSB1CEB7LUXpHhe1m0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VKgMVDha5usy6DYpkZOpgpF500gBCwnGcw0p30X/giQWruRQwpTeTP8ZrOd9LH9sC yBgCCpy5W7L3KmnZ2I2JWlgg6VF7Dx7Q557i0NCKJz7NRDDYcWdT86S0wCs586lWfm 8WkrvI2t856oXzkfFuZ3/g65BvcfR7rSlviqKkLE= 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: Wed, 24 Aug 2022 02:25:05 +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: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106516 --- Comment #7 from Kewen Lin --- (In reply to Peter Bergner from comment #6) > (In reply to Kewen Lin from comment #5) > > Created attachment 53492 [details] > > Adjust pr104992.c with vect_int_mod > >=20 > > > So it sounds like we want a generic target supports test that is true= on > > > targets (like power10) with a vector mod and key off that. Any ideas= how we > > > can do that? > >=20 > > Add one effective target vect_int_mod for it, one quick grepping for i3= 86 > > and aarch64 shows they don't have such support. >=20 > Heh, I was thinking of whether we could actually test whether an actual > target supported it, but given no other arches seem to be failing this te= st > case other than P10, I guess that will work. :-) Thanks for the clarification, I guess that's doable. In this patch, I mainly followed the existing practice vect_int_mult (there are also some similar effective targets describing target vector support capability). With this w= ay, if some other arches support this in future, target owners need to add their own conditions.=