From patchwork Sun Mar 5 18:13:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 64336 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1508873wrd; Sun, 5 Mar 2023 11:57:00 -0800 (PST) X-Google-Smtp-Source: AK7set848n+c6pu01dJucNP9eJMZKs+uU3Pz0SsjT9l+f4UOg8TANe2qN9Akz+c7bYgQ8opWonZR X-Received: by 2002:a17:906:948f:b0:8f6:c7cc:92ad with SMTP id t15-20020a170906948f00b008f6c7cc92admr9672644ejx.43.1678046220053; Sun, 05 Mar 2023 11:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678046220; cv=none; d=google.com; s=arc-20160816; b=jK1ojFHtGBx5Zyx9Q+/sTMRAwalTQU6MOoGyWBwxkMCndDWJzpDQdIulTUwBZkmmWk 1pIjaK/F/slhcvro0PFk7+x6VmSQw/LCXGTPcJfQzjjl2rkgnYAqjSnapgUkeF69MEMw R4S4rVwaTCt9W40TsgmhQhIXxgFLvSuMpP608oyJ+qfdXLt6YstivyLbbocD5bNNpb2h 25HBTDukkyM9I1Bcsl3W0ljEijUNiOGP7Ubnt8uI0tVU4sCtzUmx3l8OWOgYfDE8sobN 6JwWnaBmBeToqfhQjVlPRbuvzI2ccprmIOHh3OtqH3SoWAodrO1DzModGLmb+8CdnapH 5PEQ== 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:in-reply-to:mime-version:references:message-id :subject:to:date:resent-to:resent-message-id:resent-date:resent-from :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=hLuw7jSrJv7ZbYiXtJcctnS8xvNrr9DXtOXHdmgF8rQ=; b=bAZG5xmRHZoDSp4Cv7P2k4lyFF+sK7Epvy3b6ghVUIp1uMsE7JUqfWgkMdU6UsYAsz 7SqSB6U9suB8Wi3nDnjzZrfm2cguYVaqs98IxtyGoXpZNl5L+WeYpz1MV6Mo1yaHNvaS V/i+2L+USFDvHRb5gtmMFahqG49w2ppwhhL4PGnaB0sHescj4CLmw6qbXiCEjPm8w/wr phrZDg9AarLcQby4bHIPEqwO4X//H9KF0A8Nw4zaLs2gR3ZHod7A+nvmKHdDXwW78mSW EyrdsINFUjxqFYZjlpERLOcLpffLN2s7eKKdo2SpjujL/rNN7ABcWO7Fu8ElaW0ZVJyu v0xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=LjScbKij; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id o21-20020a170906861500b008c580ab8d9esi8101104ejx.69.2023.03.05.11.56.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 11:57:00 -0800 (PST) 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=LjScbKij; 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 BD04B38582A3 for ; Sun, 5 Mar 2023 19:56:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD04B38582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678046212; bh=hLuw7jSrJv7ZbYiXtJcctnS8xvNrr9DXtOXHdmgF8rQ=; h=Resent-From:Resent-Date:Resent-To:Date:To:Subject:References: In-Reply-To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=LjScbKijPbMsBuVZTisY7u7jEiLOqveQ8rPWhbUSHFsGPMKlEuMfncepiisFSbC03 94XIlghjhwQI7Fg7mcyLPwcs+14jQGEMRzWvC389LaCD8arn+MaZv/EpbxR5V/eJyR lkZu5OgsBXXZHcv8n+fX9byGepxU1sikw3HiaWCY= 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.133.124]) by sourceware.org (Postfix) with ESMTPS id F22773858D35 for ; Sun, 5 Mar 2023 19:56:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F22773858D35 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-564-XLV4crMCNpCoF8a7tuuaiA-1; Sun, 05 Mar 2023 14:56:04 -0500 X-MC-Unique: XLV4crMCNpCoF8a7tuuaiA-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 55433803490; Sun, 5 Mar 2023 19:56:04 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 18C31140EBF4; Sun, 5 Mar 2023 19:56:03 +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 325Ju1kA481587 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 5 Mar 2023 20:56:02 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 325Ju0lr481586; Sun, 5 Mar 2023 20:56:00 +0100 Resent-From: Jakub Jelinek Resent-Date: Sun, 5 Mar 2023 20:56:00 +0100 Resent-Message-ID: Resent-To: Robin Dapp , GCC Patches , Andreas Krebbel Date: Sun, 5 Mar 2023 19:13:29 +0100 To: Robin Dapp , GCC Patches , Andreas Krebbel Subject: [committed] testsuite: Fix up syntax error in scan-tree-dump-times target selector Message-ID: References: MIME-Version: 1.0 In-Reply-To: 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.4 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?1759558993349451536?= X-GMAIL-MSGID: =?utf-8?q?1759558993349451536?= Hi! On aarch64, powerpc64le and s390x-linux I'm seeing another syntax error which didn't show up on x86_64-linux nor i686-linux: ERROR: gcc.dg/vect/slp-perm-8.c -flto -ffat-lto-objects: error executing dg-final: syntax error in target selector "target ! vect_load_lanes && vect_partial_vectors_usage_1 && ! s390_vx" ERROR: gcc.dg/vect/slp-perm-8.c: error executing dg-final: syntax error in target selector "target ! vect_load_lanes && vect_partial_vectors_usage_1 && ! s390_vx" The following patch fixes that. Tested with a cross to aarch64-linux, committed to trunk as obvious. 2023-03-05 Jakub Jelinek * gcc.dg/vect/slp-perm-8.c: Fix up syntax error in scan-tree-dump-times target selector. Jakub --- gcc/testsuite/gcc.dg/vect/slp-perm-8.c.jj 2023-03-03 16:08:17.707264399 +0100 +++ gcc/testsuite/gcc.dg/vect/slp-perm-8.c 2023-03-05 19:05:28.379974608 +0100 @@ -60,9 +60,9 @@ int main (int argc, const char* argv[]) } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_perm_byte } } } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_perm3_byte && { { ! vect_load_lanes } && { {! vect_partial_vectors_usage_1 } || s390_vx } } } } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_perm3_byte && { { ! vect_load_lanes } && { { ! vect_partial_vectors_usage_1 } || s390_vx } } } } } } */ /* The epilogues are vectorized using partial vectors. */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_perm3_byte && { { ! vect_load_lanes } && vect_partial_vectors_usage_1 && { ! s390_vx } } } } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_perm3_byte && { { ! vect_load_lanes } && { vect_partial_vectors_usage_1 && { ! s390_vx } } } } } } } */ /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target vect_load_lanes } } } */ /* { dg-final { scan-tree-dump "Built SLP cancelled: can use load/store-lanes" "vect" { target { vect_perm3_byte && vect_load_lanes } } } } */ /* { dg-final { scan-tree-dump "LOAD_LANES" "vect" { target vect_load_lanes } } } */