From patchwork Fri Feb 23 09:15:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 1903171 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=lNuz3PaS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Th49t4CXGz23l1 for ; Fri, 23 Feb 2024 20:15:46 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 20DF83858435 for ; Fri, 23 Feb 2024 09:15:44 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 924233858D1E for ; Fri, 23 Feb 2024 09:15:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 924233858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 924233858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708679718; cv=none; b=ev5/rO7YGT3HGLJ04UR7lj4CPDmZXg9hLcDTM61xepYp8BLHfXkREgkvEJlz6LxeFYkf/2GXF4W1pxo5wSNSMvy+3flrqgFkgvnrc93OrFNImDwbwgqgpMnFEHXb3cQ5zc9DD+iBO9vCYXx/2lO39+4A9i7+09C8dqsrhALvnEU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708679718; c=relaxed/simple; bh=IpVSfUOqh+M5hDEKVlGRwio0woDwlBAJOnVbCkopcSE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Q66UL4KRjbYiMpmW5BhrWbKlDXWEfHo0am2k6PWeZ2oEgWQ62248pGywIYxuewCW4Hq7lhM28T6gdflw4Dxq6U75IUG5fElxbIE3RMKoFr7sSsNYliXAyOeY5qXnc8uLdg4kSaNC/NnqX+PwpYUQ/83FvokCWeB5OLrxGPgYeFY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 89196B4DDF; Fri, 23 Feb 2024 10:15:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1708679714; bh=IpVSf UOqh+M5hDEKVlGRwio0woDwlBAJOnVbCkopcSE=; b=lNuz3PaSrUjZT0TrBpAVz pq33n0VDjJ+pYGmejl2gUYSj3COALsptWodhXskzJa+8UcNn0G9v2rv3266MR1uj rA9jZ1y2Mp44yd7ZWHVboY3Q4ZCoPdXgwKJsJHS5KX7U1Akq/N8SzTgRx5hP79my 1u7pjCH4VW9u1iL4tYe2TNfYb4bJ8izB7oBzP9fuDLgnrJID7PhnMrbdp2lrkYdI 9hyyy0Y+1//BK96zIofpqezbayc3p7am5A+Ojcg8DO9tbQsthzl/W9HqNEQF57JN eGD6dfBiu8a1crdo/2HWffUdfV4pLWVAaKo6qLTHYUkHtRf3ylkKe0QISa0j27rU g== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vamc9yohL2yt; Fri, 23 Feb 2024 10:15:14 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p50855b30.dip0.t-ipconnect.de [80.133.91.48]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 1ED59B9337; Fri, 23 Feb 2024 10:15:14 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Tamar Christina Subject: [COMMITTED] testsuite: vect: Actually skip gcc.dg/vect/vect-bic-bitmask-12.c etc. on SPARC Date: Fri, 23 Feb 2024 10:15:13 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3789.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org gcc.dg/vect/vect-bic-bitmask-12.c and gcc.dg/vect/vect-bic-bitmask-23.c currently FAIL on 32 and 64-bit Solaris/SPARC FAIL: gcc.dg/vect/vect-bic-bitmask-12.c -flto -ffat-lto-objects scan-tree-dump dce7 "<=\\\\s*.+{ 255,.+}" FAIL: gcc.dg/vect/vect-bic-bitmask-12.c scan-tree-dump dce7 "<=\\\\s*.+{ 255,.+}" FAIL: gcc.dg/vect/vect-bic-bitmask-23.c -flto -ffat-lto-objects scan-tree-dump dce7 "<=\\\\s*.+{ 255, 15, 1, 65535 }" FAIL: gcc.dg/vect/vect-bic-bitmask-23.c scan-tree-dump dce7 "<=\\\\s*.+{ 255, 15, 1, 65535 }" although they should be skipped since commit 5f07095d22f58572c06997aa6d4f3bc456e1925d Author: Tamar Christina Date: Tue Mar 8 11:32:59 2022 +0000 vect: disable bitmask tests on sparc The problem is that dg-skip-if must come after dg-do, although this isn't currently documented unfortunately. Fixed by reordering the directives. Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11. Committed to trunk. Rainer # HG changeset patch # Parent 9c588428a6e298fa35c5bf75d7d374105b1575bd testsuite: vect: Actually skip gcc.dg/vect/vect-bic-bitmask-12.c etc. on SPARC diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c --- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c @@ -1,6 +1,6 @@ -/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */ /* { dg-do compile } */ /* { dg-additional-options "-O3 -fdump-tree-dce -w" } */ +/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */ #include diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c --- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c @@ -1,6 +1,6 @@ -/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */ /* { dg-do compile } */ /* { dg-additional-options "-O1 -fdump-tree-dce -w" } */ +/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */ #include