From patchwork Thu Oct 5 11:43:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu Ianculescu X-Patchwork-Id: 148681 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp233397vqb; Thu, 5 Oct 2023 04:46:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBDzi/q0L+jtksbUzcW/J+eCG51d4xBbgMEp9cvJVCFnLR+iBYnHUCcZwzTyza9vn7xPil X-Received: by 2002:a17:907:1dc2:b0:9a6:2a0:6391 with SMTP id og2-20020a1709071dc200b009a602a06391mr4046031ejc.14.1696506401051; Thu, 05 Oct 2023 04:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696506401; cv=none; d=google.com; s=arc-20160816; b=SAko2gMwgCSb9GpI9sO0saPaENVOnHn2nskNqhQp2Z97Ze6c6Eh11/GEB9jeRvXG/C i9kfxfXi+qpsqbkhp2y1fFZ7QGXzGLOSmmD+axuK+dWamLcsEeS3tNEy7Q4D6XAoRHmO ADY9uqtY5FM7ViFpE73usTG1QdRnRUXyxhcx8hz03e1b7C+BpmC5543sPiCuopCaAjWF bx3nOL1G31BVK2S3XEm/e+BeBWsZ+fxpYKSBLf7SEv7xZdnRSdCvgZPwas0t82I/pEOF DkYtG5M+RYnhsZgvjH5jZoE+FTX+v4+BizujVhuYuh5iA9R3pOYjKviLVptr2/DVtaxR IAIQ== ARC-Message-Signature: i=1; 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dmarc-filter:delivered-to; bh=E8yuH1eccNs4GbLqDOwxdJlt0PKtN4Fjegp18UKqYRE=; fh=7jtO1LQ2AGfJSFta5OEKAjdQtDhhgJZg7nT12/P8gFI=; b=bPi15SugF4xFiFVSCIo1KoAewfSO00teFQ0SELcX2StmjmWI4mnmHHwoHb5g7qqT1c Nv1bYuDpK/y6/xSqRakxpb71/YsPOkWzxwLV6c707hk7tMr03vad/c79uZOXD3Y7TIli kd31uguEgwsLoc0MWlkv6SVPcPX/lXel1sjMSmpF0pkscVPbIlkl8YqZJaGEzC4VZ64f pXj3urHV/V2zePcZrbEJbgt2w5fJnbIdD7PMNlWpNVs7ekhi2bRHNzd2b4ltG90b6Ifg a5pTiTuvlfNSyBwVzzT4BD+aFwJNSPlmDKNpuh+MqipdiIBWjg0vGjHpgjnzlbzKn+h1 742Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RWBaQvN+; 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"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id l8-20020a170906078800b00993d5cdf483si664786ejc.807.2023.10.05.04.46.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 04:46:41 -0700 (PDT) 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=@gmail.com header.s=20230601 header.b=RWBaQvN+; 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"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0D47C38618B0 for ; Thu, 5 Oct 2023 11:44:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id AD09C385C6D4 for ; Thu, 5 Oct 2023 11:43:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AD09C385C6D4 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-323168869daso883070f8f.2 for ; Thu, 05 Oct 2023 04:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696506232; x=1697111032; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E8yuH1eccNs4GbLqDOwxdJlt0PKtN4Fjegp18UKqYRE=; b=RWBaQvN+q6AYH+UNuy77ivDUQZcFXlb/iYnRT2p2aNA7MbYRmhd14cg26cf56uYfUa j4x7/AHTGz2QC1EoMdaS19RV1A1ffjZRPXhG85jAalHw2GQPToNueLRrCUzaQik+X0Bq LvAN9hExUgpgFpGPU4LeDSD8XTSRA20S+YfFauN1gYWhKnMkY54petMPsqsMy9wpoTc/ e9M4iQYELqGyPqk0hbXEjJCiTdm4667PopV8Gp6wy7HjTfAHAq+2AxKaqOYA8XzWYvdz yLcddb+mY70wyQN+wV/POwKLdphuqXshgrRkq6A1SF5g94TKI5Jgq7xRVdZQDj5gb+hB aZcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696506232; x=1697111032; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E8yuH1eccNs4GbLqDOwxdJlt0PKtN4Fjegp18UKqYRE=; b=R2IRcpvWnaN87D+ohKAL17KI4ca3gVlf28c/N8XBR7tzFrpPChSoLJEZHCY7pxKKIP YLqYPgNAiqpVhlwv50LKLXSWwZLfUYh43XomdO75MmbiKml91kxnbJP742AZCHpL0JeW SIV3c5w98Qb1bnkIPVnFc6MkkO8NO48qTVbvPWjS5vqkMx0KLmoddJDQ0tS++yNWClxp 8lU6JRdLb4/w+i01Zn3lfRSaFAOOn4quHpBQw4NE6KH4VjGVIwthHCh+cSBcoLpVp791 O//Y2LRmPlaQkw0nuyLOKDR8Mg/cU742m5JdzUVYAI4wYpnL2rDhvAzxOBR7e8nnMa2T nefA== X-Gm-Message-State: AOJu0YxChSDZ5xUwJ66U4BEcbe4J/Nlj98fZ29PQgAYGNbAZQKxdzWRw Bc5nfFmbs0wuoB6A17/I0ef3NE2NfjE= X-Received: by 2002:adf:f443:0:b0:316:f3cf:6f12 with SMTP id f3-20020adff443000000b00316f3cf6f12mr4322975wrp.48.1696506231900; Thu, 05 Oct 2023 04:43:51 -0700 (PDT) Received: from fatty.nomansland ([193.187.151.25]) by smtp.gmail.com with ESMTPSA id f22-20020a5d58f6000000b0031423a8f4f7sm1605821wrd.56.2023.10.05.04.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 04:43:51 -0700 (PDT) From: Claudiu Zissulescu To: gcc-patches@gcc.gnu.org Cc: fbedard@synopsys.com Subject: [committed 5/5] arc: Update tests predicates when using linux toolchain. Date: Thu, 5 Oct 2023 14:43:45 +0300 Message-Id: <20231005114345.1707504-5-claziss@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231005114345.1707504-1-claziss@gmail.com> References: <20231005114345.1707504-1-claziss@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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.30 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778915895939059904 X-GMAIL-MSGID: 1778915895939059904 gcc/testsuite: * gcc.target/arc/enter-dw2-1.c: Remove tests when using linux build. * gcc.target/arc/tls-ld.c: Update test. * gcc.target/arc/tls-le.c: Likewise. Signed-off-by: Claudiu Zissulescu --- gcc/testsuite/gcc.target/arc/enter-dw2-1.c | 18 +++++++++--------- gcc/testsuite/gcc.target/arc/tls-ld.c | 3 +-- gcc/testsuite/gcc.target/arc/tls-le.c | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/gcc.target/arc/enter-dw2-1.c b/gcc/testsuite/gcc.target/arc/enter-dw2-1.c index 25d03562198..653ea7231be 100644 --- a/gcc/testsuite/gcc.target/arc/enter-dw2-1.c +++ b/gcc/testsuite/gcc.target/arc/enter-dw2-1.c @@ -16,13 +16,13 @@ void foo (void) } -/* { dg-final { scan-assembler-times "enter_s" 1 } } */ +/* { dg-final { scan-assembler-times "enter_s" 1 {xfail *-linux-* } } } */ /* { dg-final { scan-assembler-times "\.cfi_def_cfa_offset 32" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 31, -32" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 13, -28" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 14, -24" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 15, -20" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 16, -16" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 17, -12" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 18, -8" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 19, -4" 1 } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 31, -32" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 13, -28" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 14, -24" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 15, -20" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 16, -16" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 17, -12" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 18, -8" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 19, -4" 1 {xfail *-linux-* } } } */ diff --git a/gcc/testsuite/gcc.target/arc/tls-ld.c b/gcc/testsuite/gcc.target/arc/tls-ld.c index 68ab9bf809c..47c71f5d273 100644 --- a/gcc/testsuite/gcc.target/arc/tls-ld.c +++ b/gcc/testsuite/gcc.target/arc/tls-ld.c @@ -13,6 +13,5 @@ int *ae2 (void) return &e2; } -/* { dg-final { scan-assembler "add\\s+r0,pcl,@.tbss@tlsgd" } } */ +/* { dg-final { scan-assembler "add\\s+r0,pcl,@e2@tlsgd" } } */ /* { dg-final { scan-assembler "bl\\s+@__tls_get_addr@plt" } } */ -/* { dg-final { scan-assembler "add_s\\s+r0,r0,@e2@dtpoff" } } */ diff --git a/gcc/testsuite/gcc.target/arc/tls-le.c b/gcc/testsuite/gcc.target/arc/tls-le.c index ae3089b5070..6deca1a133d 100644 --- a/gcc/testsuite/gcc.target/arc/tls-le.c +++ b/gcc/testsuite/gcc.target/arc/tls-le.c @@ -13,4 +13,4 @@ int *ae2 (void) return &e2; } -/* { dg-final { scan-assembler "add r0,r25,@e2@tpoff" } } */ +/* { dg-final { scan-assembler "add\\sr0,r25,@e2@tpoff" } } */