Message ID | alpine.DEB.2.20.2311220044380.5892@tpp.orcam.me.uk |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1034954vqb; Tue, 21 Nov 2023 17:41:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvz/GQqW2Pk4dtlbudVW3Tpz+7Eo/F6Sg5PvDtRxsWyATx//M7rbNe9OooJplLp30IcAJI X-Received: by 2002:a05:6214:761:b0:66f:b009:fc3b with SMTP id f1-20020a056214076100b0066fb009fc3bmr949918qvz.5.1700617277651; Tue, 21 Nov 2023 17:41:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700617277; cv=pass; d=google.com; s=arc-20160816; b=r8JU67RF9DsH3DBfHuM7Vpzj8GAq6mt4Xi/cKxF2Cw54tTac+baxN/YCjwMkb63H+O yJAze05k+QjM0EZOfkvsrvkMlH9GrXBDuyEjNHPKkzjhtBFz0byrbemAnSEfn5/6tAgd 7R2V4ado6IMiiTamhy2b9BFbO4iFc/mHCPiXhhN0q9+9cTu29C9ldrEeQLdyDBnqcwFk 32xmdesOXgCcW/fQ3ZL6GWhPZ5wzafFpeMTgInF3l3BsZqvktzQj8bQGMxaluJB9U8yL 1xwKSNaVRYrxDEKO0OQNS2W5tDlymVxBidSPG2Qap+S3AOD3ysgaTdutadoVIEBUstc3 L1kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:subject:cc:to:from:date:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=1tLa7h0nKJ4R/bRRp8vkmLN8P6K1f6hBXd2R8mBecqo=; fh=bpj+SMBRGuje85NtFp75GgOeN4zWMP1OsHuFd1EQZqQ=; b=FRjoWGdFogxh85y9Baqr+zCHZTg75jeoZBpea4p0QTOgo7PixJaromzUPGJ71gC2wv /6vSL8cuCjIqVxr1tUr7+5zBG17KX84FbLM1w6Dqw6jOhWc5pRLeIObSlIh+X3aDIyv+ iE0ZjP39TrnqLY3+QEYUaUAmyluP8BZHa4bEqtW+z0FtYqldJxTvRAiEdNy4XkUTsrzt HEsHVciYKTulqEhqxS2kZ7p7pUBGfkoQeSs/Ueg5H7tB/Pv10TKF2qPYzDichNMb7pfC WU975gSPSRGHLHGerJldSW9Gqy7za+QeZ0zQhfdOpvyTw6tPNHh86H7fTBTc1SBVOsx3 e1HA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=PKur73Xc; arc=pass (i=1); 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 (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id r9-20020a056214124900b0067800f020fesi8307094qvv.481.2023.11.21.17.41.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 17:41:17 -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=@embecosm.com header.s=google header.b=PKur73Xc; arc=pass (i=1); 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 55E153858427 for <ouuuleilei@gmail.com>; Wed, 22 Nov 2023 01:41:17 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 848B93858D33 for <gcc-patches@gcc.gnu.org>; Wed, 22 Nov 2023 01:40:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 848B93858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 848B93858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::134 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700617254; cv=none; b=GlA6oYmrtOjcJVdmIzyUV96jm6BJLnXfgkvO3tAH1G2+H0c44xFm3KJF7ho2GQ2l0ZjfBcYoxQrcUL/04bMJINDi4gf3iMvMGi8mLLEg38dhg1NETHvYIrQlrRRCQB+wNzFAbxyFcIVjOFUtPQri0HQN0JdCmf7MywBdu2LMB70= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700617254; c=relaxed/simple; bh=c11juOSNRj3Xc4Z82/LUhDJdcDT9t36EyvYVoFD8GNc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=G4/y83wTGM3uAxzwFIjhZfPG5m9ZYEtZHKq3m6ilqEjVV8rv7Aj8pNCP6bbgQiS0FFoXQdjeNGwJywM38QblqfbskJ4r69XenFkoCR+Hm/HeoGxQ1PJq+0gF3aRoZ+WnEcHqvTR6BU9pQDVcHQ8dqNBEjVS2VzVFhUGttaCq20c= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-507adc3381cso8171018e87.3 for <gcc-patches@gcc.gnu.org>; Tue, 21 Nov 2023 17:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1700617251; x=1701222051; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1tLa7h0nKJ4R/bRRp8vkmLN8P6K1f6hBXd2R8mBecqo=; b=PKur73XcScSnnsDAkZ9MBStyQJ1MmeyUQZ43kN9arjlpbxMtaOr9P0fV0oknK1l7rk XlGA1tiVPBNKHEPwb6jaGr6iHh9fYZyDZPxKeiy2BzUZvn6MEvvWOnI4X9hDIuZaeJRj QuBoDJLMuv4FODDQMtDKbBuLRzc4Lngzwqq57PXh64EvwXURzXRWsLa8mKpLmUzSRNpI 9+ctfZ9ZawEuplJOGH5Ppsu8mi1n4hjz5WpUY8gBMNY75w/IAqEHF98SpKqEWVcqH/sp vBjSbxx2XNhwHCyHSDSt4IrUyF9Of29FEqVJNr3HZ53Lhgb7un4mAVObH0cyYKRmkyVu z+0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700617251; x=1701222051; h=mime-version:user-agent:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1tLa7h0nKJ4R/bRRp8vkmLN8P6K1f6hBXd2R8mBecqo=; b=eL4YX224+a6X3H5+APUiQ46B/uqt4rkvwxy2GUlSU0Y59QHNRstyjvOnLB0i5Uve2J cStDfSNIZwTwyNfyDWtDFxH5SaA79+JDaEL/XK6si04jTO3kFumThQzrCriSIRezzZb0 mWbmfJZxbkAV/HJ0Hv9HjHApB8E0rjbVCSJJVhupsh6tr9IHOwnrUSV52su5A3tqVGbX pGRtA7kgNiWCmCQC9cur2dkZgI2A8Vuff/4S2OxE2ZwIu7fpO173UgPERQl5Q7NAJBsk NjodrAqvsmzH5s/tC0JEtQo7wYEPR1k5yAJLcTby8SnFBZVWBW52fmH4JYN6spFfvarg NqUA== X-Gm-Message-State: AOJu0YyMm4d0P1zadSVzR6MmrPtOtExs/cTIGSDy53ftAqnIVdtNMOKv PmQSLhueZKgpAZpIqTvrzahuGdov5/XZSrlJ0P0W7w== X-Received: by 2002:ac2:4e8d:0:b0:507:ce49:81ba with SMTP id o13-20020ac24e8d000000b00507ce4981bamr499752lfr.67.1700617250957; Tue, 21 Nov 2023 17:40:50 -0800 (PST) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id u23-20020aa7d557000000b00548657c5efdsm4586525edr.10.2023.11.21.17.40.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2023 17:40:50 -0800 (PST) Date: Wed, 22 Nov 2023 01:40:48 +0000 (GMT) From: "Maciej W. Rozycki" <macro@embecosm.com> To: gcc-patches@gcc.gnu.org cc: Nick Clifton <nickc@redhat.com>, Richard Earnshaw <richard.earnshaw@arm.com>, Ramana Radhakrishnan <ramana.gcc@gmail.com>, Kyrylo Tkachov <kyrylo.tkachov@arm.com>, Jeff Law <jeffreyalaw@gmail.com> Subject: [PATCH] ARM/testsuite: Use non-capturing parentheses with pr53447-5.c Message-ID: <alpine.DEB.2.20.2311220044380.5892@tpp.orcam.me.uk> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783226462392715972 X-GMAIL-MSGID: 1783226462392715972 |
Series |
ARM/testsuite: Use non-capturing parentheses with pr53447-5.c
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Maciej W. Rozycki
Nov. 22, 2023, 1:40 a.m. UTC
Use non-capturing parentheses for the subexpressions used with `scan-assembler-times', to avoid a quirk with double-counting. gcc/testsuite/ * gcc.target/arm/pr53447-5.c: Use non-capturing parentheses with `scan-assembler-times'. --- Hi, The `scan-assembler-times' quirk is being fixed with <https://gcc.gnu.org/pipermail/gcc-patches/2023-November/637254.html>, but we don't need capturing parentheses here, typically used for back references, so let's just avoid the quirk altogether and make our matching here work either way. Cf. commit 88c888f11379 ("pr53447-5.c: Fix test expectations for neon-fpu."). Verified by proof-reading, with a reference to the commit quoted above. OK to apply? Maciej --- gcc/testsuite/gcc.target/arm/pr53447-5.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) gcc-arm-test-pr53447-5-non-capturing.diff
Index: gcc/gcc/testsuite/gcc.target/arm/pr53447-5.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.target/arm/pr53447-5.c +++ gcc/gcc/testsuite/gcc.target/arm/pr53447-5.c @@ -15,8 +15,6 @@ void foo(long long* p) p[9] -= p[10]; } -/* We accept neon instructions vldr.64 and vstr.64 as well. - Note: DejaGnu counts patterns with alternatives twice, - so actually there are only 10 loads and 9 stores. */ -/* { dg-final { scan-assembler-times "(ldrd|vldr\\.64)" 20 } } */ -/* { dg-final { scan-assembler-times "(strd|vstr\\.64)" 18 } } */ +/* We accept neon instructions vldr.64 and vstr.64 as well. */ +/* { dg-final { scan-assembler-times "(?:ldrd|vldr\\.64)" 10 } } */ +/* { dg-final { scan-assembler-times "(?:strd|vstr\\.64)" 9 } } */