From patchwork Mon Jan 23 10:43:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 47109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1535936wrn; Mon, 23 Jan 2023 02:44:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXv0KLHuJSPt+BGMEGBzewfUPfLnlBn4Wu8f0108BvNklTHZXdrWMmmCgJ5ZhOUwd/26YZ0R X-Received: by 2002:a17:907:94ce:b0:870:ab89:3dd3 with SMTP id dn14-20020a17090794ce00b00870ab893dd3mr28453974ejc.70.1674470668971; Mon, 23 Jan 2023 02:44:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674470668; cv=none; d=google.com; s=arc-20160816; b=qPF7qCG4/xu9lGBHzYpp0mZAkuTztAVotu7cam8+m8OW0+nDfw/4iKLuBHu4gt0Anj wu47ldTlV0VFD5XIKhNiFO96hfEP9ibPY2MSsg/t5/9J1sZ6MX8fOWrsnAatSHZD5LuU OzPOan9buQt9P7UmHD19GFMKkHTYLfS4zYfEpLKBQ/ClKeQDrqlhfu2vLK5GEru0eJAB DVpZynufUCgYq0YpekaDuiqZjgKhlKNMFXfZDg90IDjoV4IDdTcFyjcsPg4hX+k/jM0f hm6C6dKinWdxol5hxOyGslLhm5eL/h6DHVv4PWuQuz7HaI6Xt7eBFm+Pe86TuPHw68K9 ixyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=zQ/DHGwShcCaiV8UJEEYe0isHor3hspZ759XLsf+Bjw=; b=AshyCaXOi5PB7NRg5TIoj+aA1cRFvCEa6tnxLrZu6Oxs+bZJtqIPunEi04wRdlDpux qFyf7H7O/rau5/9MT21s/MDk2RJfUYeaT8x46YpMpf21lCeMFMDL/iWrXsQtSMn0IXsz 8z4NwFJTLhGoOK8cSWWZTqHl+WfOVBOl7xgJB7ML6zp3yImB4wRoDKLHCdlVrQJbOcO7 kS4hWw7PkDc3EDWdNFd+g55px19Af07rIiJh5/sl1Pi0f2NC5gtFEnKkJD+H3S1nHBGF 6ExLGiUWge7jXvPUrY01AcxieMh1Y09TAXYdpv6d6Otk4aVu3zk2SxjP6jFt60Qzseq+ GZAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CeBiTec.Uni-Bielefeld.DE header.s=20200306 header.b=WEELeX4m; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id fj3-20020a1709069c8300b00871f78c75ecsi22436799ejc.283.2023.01.23.02.44.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 02:44:28 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@CeBiTec.Uni-Bielefeld.DE header.s=20200306 header.b=WEELeX4m; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C4E583858289 for ; Mon, 23 Jan 2023 10:44:23 +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 253A23858D32 for ; Mon, 23 Jan 2023 10:44:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 253A23858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 14D1ABA242; Mon, 23 Jan 2023 11:43:59 +0100 (CET) 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 10024) with ESMTP id HExcdl-cS8_j; Mon, 23 Jan 2023 11:43:58 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508548b7.dip0.t-ipconnect.de [80.133.72.183]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id AB039BA425; Mon, 23 Jan 2023 11:43:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1674470638; bh=QxvoxESpnNUQ9RPdksGLytkRG+NAXl5SYvbUBUFkBg0=; h=From:To:Cc:Subject:Date:From; b=WEELeX4muf4WoTVUom+o6QA5f4p1swC2rscGzwEwnVWAihZSkR9wlihJm9ypbfW67 u4/RI7+Ps+d+CsGkFHUVycKgmFnGa2LOd3WMBmF0KcdNb/CTfyQXGC8KhOMMBr5K3F XGFPZTeId2jaHbCB4QfpFT+7JLaurSUzbP9szhGvNd4jcL+E3o5Gt4mtGKpyLqPDQZ fQ9fxMhxdJc0MixgukHE8GAcsecIG9eFuA8MQnf2xE0iB0dAbWKYbCiXddzYOAVWqN kx5h+3aej2dhkCmj04zhdSyzGW709AsuvTaTeZ9s0lnRt2COub7sMTAaPSc64fI2Xx 71g6h9laPgb4w== From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Andre Vieira Subject: [PATCH] testsuite: Fix gcc.dg/vect/vect-bitfield-write-[23].c on SPARC [PR107808] Date: Mon, 23 Jan 2023 11:43:58 +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=-3794.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755809756176574155?= X-GMAIL-MSGID: =?utf-8?q?1755809756176574155?= The gcc.dg/vect/vect-bitfield-write-[23].c tests FAIL on 32 and 64-bit SPARC: FAIL: gcc.dg/vect/vect-bitfield-write-2.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/vect-bitfield-write-2.c scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/vect-bitfield-write-3.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1 FAIL: gcc.dg/vect/vect-bitfield-write-3.c scan-tree-dump-times vect "vectorized 1 loops" 1 As discussed in the PR, they require vect_long_long support, but fail to require that. This patch fixes this. Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11. Ok for trunk? Rainer # HG changeset patch # Parent d221c189db0b3879bb343bc381eca6b730ad3010 testsuite: Fix gcc.dg/vect/vect-bitfield-write-[23].c on SPARC [PR107808] diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-2.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_long_long } */ #include #include "tree-vect.h" diff --git a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c --- a/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bitfield-write-3.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-require-effective-target vect_long_long } */ #include #include "tree-vect.h"