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: 66682 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4F6713858020 for ; Tue, 21 Mar 2023 12:46:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F6713858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679402801; 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=QtT4pKrQTrxI6LzHCROuL0J73IrYOgCw2V5dU8kb7ZTZtw1xDWEnyNG19u2eXe+7P EBJYibyARlwiAwPmvwfjR3pT3jPMAHqDVo6XroE/xyYAuSvM7IhAIsqeXbveSVQcxf KihH2tCaN3ESzj+nY8PlR6oSaohi4mfJxKADmaYw= 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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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. */