From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CAA53858D39; Mon, 17 Oct 2022 06:21:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CAA53858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665987662; bh=8IcgaNpgUWdSOUcxw6HvM3lUIR4p9uvIb1XjHTwDL9E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iX8DXLwYG8DlBeTrvZS6ELWl2UUhO/hWs9jF5qk0X75EfTzy6xvyvBEbS+LsujRXJ yl0AJDfkNDaGyIepI4AponV0ZfFOHBrdCT3epRATlGdUCdTCgBLpQl1sC/zU0BAUpr WQ9CS+ssZzFVI8JW3u+i+JlSs1SaGOnbJMbODZXs= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/107240] [13 Regression] FAIL: gcc.dg/vect/vect-bitfield-write-2.c since r13-3219-g25413fdb2ac249 Date: Mon, 17 Oct 2022 06:21:01 +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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107240 --- Comment #7 from Kewen Lin --- Well, it does helps vect-bitfield-write-{2,3}.c, but it doesn't help vect-bitfield-write-{2,3,4}.c since they do require vector/vector shift supports. I guess it might be a good idea to add the vect_long_long effective target requirement for these relevant test cases. For now, I don't see we make it effective for powerpc*-*-*, if no objections I'm going to test=20 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index fdd88e6a516..29d7b4ebd15 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -7059,7 +7059,9 @@ proc check_effective_target_vect_long_long { } { || ([istarget mips*-*-*] && [et-is-effective-target mips_msa]) || ([istarget s390*-*-*] - && [check_effective_target_s390_vx]) }}] + && [check_effective_target_s390_vx]) + || ([istarget powerpc*-*-*] + && [check_effective_target_has_arch_pwr8]) }}] } Although it's not that accurate, as we can have V2DI vector load/store and = some operations like bitwise on power7, it's only for testing and the missing sc= ope is very limited.=