From patchwork Tue Mar 21 12:46:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 72852 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1753814wrt; Tue, 21 Mar 2023 05:46:57 -0700 (PDT) X-Google-Smtp-Source: AK7set8PJddyGhBLqDKSwTKTgOzq+W2AXE7pooLaJkq+r+/9EzvvthRVT8UO7ceDpjEk68y2IlWf X-Received: by 2002:a05:6402:100f:b0:4fe:ddf:8d8b with SMTP id c15-20020a056402100f00b004fe0ddf8d8bmr3165752edu.15.1679402817556; Tue, 21 Mar 2023 05:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679402817; cv=none; d=google.com; s=arc-20160816; b=KVRzxCyE1q9to9AC03cCh3y/FW1h3w6FLbVt6R9Tzf6yQgnAthafSSGsnMAYactOtS dyjlo8wOOXF8Fj2LHfiAEXkDUv+WITN18fEJAAnVL/fU24U7uoXeAHoCHPdCLllgHbrz 3ckrWzG1IkHVgu2V3PBoVfINe2rw40OkRVRvpjyh6q73qF5ZHrkbZ/ifn4vrcGhPjyVf yTajSnrW2+qBejHazQ+yXu2vFFzXP0TgjN3Vk6e8ZA7wUvD0d213kOd+EzgtTvNbJ0KX bS2pdDl/U5BMNc7KmJtPU1He+LY1ceSsEKiMHpf67b9qztfUoYGNmE+gnZsqPHWccGoE RHtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=uk409ctuGT4UWo+qOYG6X/SNSlbJpJ9k+vuHySr54mE=; b=Q1IaXuEEbibp5LKX+kbCp8296b6YjxchF9jDVkaqC76JnF0tiWNXEhE3KrTrfsZ+JY 4U9mQ5XVPog01eA2IBE8qee73PiugNXq2PGRRElZLXbbhjgebWT/KxB6ZaFRa15FtUoN j3bf/bmqnbajLDx7FGqtqUDT63YfrnX35dG8V8pibTPJcKOViPlD2XLF7m8+pxAmOS8g XDY77fc0pUFa4CqfWJXBpfSPliPKpVDpnUqWZlShqtQ0wFfopbCnFfXz2iPX06FfqXG1 Jada4TpWngQ5kx8/DckTMHz8qRAOh1xFec4kLMNH5TZs/vadkjigHUOOjzfaixVQW7yy LP8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=GOFPXwnH; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id w10-20020a056402070a00b004fb1e94e874si13307038edx.361.2023.03.21.05.46.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 05:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=GOFPXwnH; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9B7FB3858404 for ; Tue, 21 Mar 2023 12:46:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B7FB3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679402816; bh=uk409ctuGT4UWo+qOYG6X/SNSlbJpJ9k+vuHySr54mE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=GOFPXwnH6/Zg9gSlxZOHJP+iifzHzSxyeFCWwg6hqToivQt0LnhqEuhz83DtXmJcv pseALTlpCwlpMV0skb4gBRDqpd+Ky7HifwGdNHuS/P4e+s1CWEu6n6QYCrhhwZwnQn aUQHfQDwjWKzXhiH2Z9IlaVniQHOrNNYe0Qwrc5E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 45B5E3858D38 for ; Tue, 21 Mar 2023 12:46:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 45B5E3858D38 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-633-1RgVDlpwOkqNWU7KiapoHg-1; Tue, 21 Mar 2023 08:46:10 -0400 X-MC-Unique: 1RgVDlpwOkqNWU7KiapoHg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 456823C10229 for ; Tue, 21 Mar 2023 12:46:10 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 05ACA1410F1C for ; Tue, 21 Mar 2023 12:46:09 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 32LCk7er1178142 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 21 Mar 2023 13:46:08 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 32LCk7hL1178141 for gcc-patches@gcc.gnu.org; Tue, 21 Mar 2023 13:46:07 +0100 Date: Tue, 21 Mar 2023 13:46:07 +0100 To: gcc-patches@gcc.gnu.org Subject: [jakub@redhat.com: Re: [PATCH] testsuite: Fix up vect-simd-clone1[678]*.c tests [PR108898]] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek 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?1760981488973095158?= X-GMAIL-MSGID: =?utf-8?q?1760981488973095158?= On Tue, Mar 21, 2023 at 12:35:19PM +0000, Andrew Stubbs wrote: > > @@ -82,8 +82,7 @@ main () > > /* Ensure the the in-branch simd clones are used on targets that support them. > > Some targets use another call for the epilogue loops. */ > > -/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" { target { ! aarch64*-*-* } } } } */ > > -/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 3 "vect" { target aarch64*-*-* } } } */ > > +/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */ > > I suppose those comments are now obsolete. Oops, fixed thusly, committed as obvious: 2023-03-21 Jakub Jelinek PR testsuite/108898 * gcc.dg/vect/vect-simd-clone-16.c: Remove parts of comment mentioning epilogue loops. * gcc.dg/vect/vect-simd-clone-17.c: Likewise. * gcc.dg/vect/vect-simd-clone-18.c: Likewise. Jakub --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c.jj 2023-03-21 13:28:47.062298853 +0100 +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-16.c 2023-03-21 13:40:04.714486518 +0100 @@ -80,8 +80,7 @@ main () return 0; } -/* Ensure the the in-branch simd clones are used on targets that support them. - Some targets use another call for the epilogue loops. */ +/* Ensure the the in-branch simd clones are used on targets that support them. */ /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */ /* The LTO test produces two dump files and we scan the wrong one. */ --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c.jj 2023-03-21 13:28:47.062298853 +0100 +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-17.c 2023-03-21 13:40:15.387331984 +0100 @@ -80,8 +80,7 @@ main () return 0; } -/* Ensure the the in-branch simd clones are used on targets that support them. - Some targets use another call for the epilogue loops. */ +/* Ensure the the in-branch simd clones are used on targets that support them. */ /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */ /* The LTO test produces two dump files and we scan the wrong one. */ --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c.jj 2023-03-21 13:28:47.063298839 +0100 +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-18.c 2023-03-21 13:40:25.894179841 +0100 @@ -80,8 +80,7 @@ main () return 0; } -/* Ensure the the in-branch simd clones are used on targets that support them. - Some targets use another call for the epilogue loops. */ +/* Ensure the the in-branch simd clones are used on targets that support them. */ /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */ /* The LTO test produces two dump files and we scan the wrong one. */