From patchwork Thu Sep 15 06:54:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torbjorn SVENSSON X-Patchwork-Id: 1229 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp143266wrt; Wed, 14 Sep 2022 23:55:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR739fZxq+Pmo8IA7eY5xhUBKqmtOb/RexDJ+N/nGn/ACqRduE/FXnreNhF0yHRbZBzXxryX X-Received: by 2002:a17:907:6d8c:b0:731:6c60:eced with SMTP id sb12-20020a1709076d8c00b007316c60ecedmr28627001ejc.266.1663224930154; Wed, 14 Sep 2022 23:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663224930; cv=none; d=google.com; s=arc-20160816; b=NJpMH+EMPkSE6mTVVUtQk1Yny6siL47FBpCb/zaPtgNoNVxsVKROhNg+7Dm+sLgIhd /6QIC36iqJp3x3/JmXA4hcX7lE4Wwm/f+vvndOR7kawT+UvZ1rnDMRBF7QsUPDiieby0 8nuaolpCJYQdPRSX+A1YVMtoYZk9ObWb3ROBkO0BQX+mNH6BMY4FzetXHXxXb47tCBkv RmmeWpCNClJlH6EzHG816bh7sshird/p62pJZKBBCdY4Hnm6dahY/x2xT82M2ZHK/kG4 4G1lStBu2TB2CtzjX4G1Mlc8DI6156NohNZK5MbN5VYbRhRBkOqf/MO3MbymcdxDu+6z IKbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=8TtwSjcmUiQrDyDrtA6t9S+tKf0Q/qy7q/h386YDgJY=; b=x7jUGoG5pEnDM+kbwDofewfhCpfDjQtgIpSsB2sXnpaP2udWJEkReXCFCxP++rCiqR OU7eUY0j6LFDOwkwru2X0vSREQxv2kfL5YiXN8FlTAKTPvOfpeKd0DrR60DABhuIwtJT ZJC5jH8Y5m6AyN6FJ96RN2YEd0JoBcbIRJk7FkW48izk3oVGWsyjX7Er2XEOgATVi5/5 hHZY/NSgPE445lOXi9M5VhdmC9dul/Q9c1s0e+4gqPC+G1YdnO/tkSha1RVrA/iJyW2W sYdj4NImkYCv4DGZshPDmtxTkrkGrO38nIOksBYv5imxKT31EXYTr/aEANJhVw/jOzpB k0cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=rZfn1ngA; 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=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ji5-20020a170907980500b0077bd074d50bsi12559831ejc.105.2022.09.14.23.55.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 23:55:30 -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=@gcc.gnu.org header.s=default header.b=rZfn1ngA; 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=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E051138582B2 for ; Thu, 15 Sep 2022 06:55:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E051138582B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663224928; bh=8TtwSjcmUiQrDyDrtA6t9S+tKf0Q/qy7q/h386YDgJY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=rZfn1ngAWHaGTV6xirMC0fmFqQJsX0Xax91X5ySQuurKPAgF7D2BTbRg2qy1RMDOX YEwA8W3Strqe9lDPDZs/N5lnnV8AsT/AatqsweFzxL2/sS7jAsJSY6YYi/BlevMxyt 0EN59MEqkZnNMLYa6DKM+tGd9i39orCi/sGAK2WY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by sourceware.org (Postfix) with ESMTPS id E5FE63858C74 for ; Thu, 15 Sep 2022 06:54:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E5FE63858C74 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28EM6gBb009317; Thu, 15 Sep 2022 08:54:37 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jjxxatp21-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2022 08:54:37 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CB26B10002A; Thu, 15 Sep 2022 08:54:35 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9FACA214D0F; Thu, 15 Sep 2022 08:54:35 +0200 (CEST) Received: from jkgcxl0002.jkg.st.com (10.75.127.120) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Thu, 15 Sep 2022 08:54:32 +0200 To: Subject: [PATCH] testsuite: Disable zero-scratch-regs-{7, 9, 11}.c on arm Date: Thu, 15 Sep 2022 08:54:16 +0200 Message-ID: <20220915065416.1172508-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.120] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-15_03,2022-09-14_04,2022-06-22_01 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON_via_Gcc-patches?= From: Torbjorn SVENSSON Reply-To: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Cc: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= 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?1744017744036080201?= X-GMAIL-MSGID: =?utf-8?q?1744017744036080201?= -fzero-call-used-regs=all and -fzero-call-used-regs=all-gpr are not supported on arm*. On arm-none-eabi, the testcases fails with: sorry, unimplemented: '-fzero-call-used-regs' not supported on this target 2022-09-15 Torbjörn SVENSSON gcc/testsuite/ChangeLog: * c-c++-common/zero-scratch-regs-7.c: Skip on arm. * c-c++-common/zero-scratch-regs-9.c: Likewise. * c-c++-common/zero-scratch-regs-11.c: Likewise. Co-Authored-By: Yvan ROUX Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/c-c++-common/zero-scratch-regs-11.c | 2 +- gcc/testsuite/c-c++-common/zero-scratch-regs-7.c | 1 + gcc/testsuite/c-c++-common/zero-scratch-regs-9.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c index b7739b2c6f6..6fd2a1dc382 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* arm*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */ +/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */ /* { dg-options "-O2 -fzero-call-used-regs=all" } */ #include "zero-scratch-regs-10.c" diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c index 2a4c8b2e73d..c684b4a02f9 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-skip-if "not implemented" { ia64*-*-* } } */ +/* { dg-skip-if "not implemented" { arm*-*-* } } */ /* { dg-options "-O2 -fzero-call-used-regs=all-gpr" } */ #include "zero-scratch-regs-1.c" diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c index ea83bc146b7..0e8922053e8 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* arm*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */ +/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */ /* { dg-options "-O2 -fzero-call-used-regs=all" } */ #include "zero-scratch-regs-1.c"