| Message ID | AM5PR0801MB184459FF8D4A79457927F919EAB29@AM5PR0801MB1844.eurprd08.prod.outlook.com |
|---|---|
| State | Superseded |
| Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org>
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 21C263857C63
for <patchwork@sourceware.org>; Fri, 8 Oct 2021 12:20:33 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 21C263857C63
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org;
s=default; t=1633695633;
bh=r+HYcj5o0yqgsvtfqtmt5+DOfnnr0P5pW6zjbbasIDY=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=sdGnVsZ813xzMi6G7yzyC7xSpFIAYChuhUn6GGWNNwhM1lQ1vEm5zaH3+3wjzI+r7
Q3/YMo92wqMxUObr/egfxuGnBu06GwDH9kehppk2Z6V3URZghqAEk9Y29lE/d2ByQZ
0Iccanf9nVgKl+g89/7bkfDH/9dGgvWmiiJNzwSU=
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from EUR05-DB8-obe.outbound.protection.outlook.com
(mail-db8eur05on2065.outbound.protection.outlook.com [40.107.20.65])
by sourceware.org (Postfix) with ESMTPS id 1DC143857C6F
for <gcc-patches@gcc.gnu.org>; Fri, 8 Oct 2021 12:18:04 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1DC143857C6F
Received: from AM7PR03CA0030.eurprd03.prod.outlook.com (2603:10a6:20b:130::40)
by AS8PR08MB7307.eurprd08.prod.outlook.com (2603:10a6:20b:442::16)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.22; Fri, 8 Oct
2021 12:18:02 +0000
Received: from VE1EUR03FT034.eop-EUR03.prod.protection.outlook.com
(2603:10a6:20b:130:cafe::f0) by AM7PR03CA0030.outlook.office365.com
(2603:10a6:20b:130::40) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.21 via Frontend
Transport; Fri, 8 Oct 2021 12:18:02 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123)
smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified)
header.d=armh.onmicrosoft.com;gcc.gnu.org; dmarc=pass action=none
header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates
63.35.35.123 as permitted sender) receiver=protection.outlook.com;
client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by
VE1EUR03FT034.mail.protection.outlook.com (10.152.18.85) with
Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.4587.18 via Frontend Transport; Fri, 8 Oct 2021 12:18:01 +0000
Received: ("Tessian outbound 8e26f7114b75:v103");
Fri, 08 Oct 2021 12:18:01 +0000
X-CR-MTA-TID: 64aa7808
Received: from ea1ccd3fa799.1
by 64aa7808-outbound-1.mta.getcheckrecipient.com id
201904C1-5DDE-44CB-82D9-D11CFBEAF7AB.1;
Fri, 08 Oct 2021 12:17:54 +0000
Received: from EUR01-VE1-obe.outbound.protection.outlook.com
by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id
ea1ccd3fa799.1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384);
Fri, 08 Oct 2021 12:17:54 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=l8Mux5lSXFst4OODgBjtQmDuDITOm+M66R4ENDa7IqmQP+AxUrrwk6AbcmAg+QmpUmaQKqhpKJv9MiJp/xOx1kYKkPe95QgxXq2hSR5g+KK5pIZaRHKMCOlSLNhPR/QQMR9M61tPHz22E5IihLqzUk4Yo2yi59kSejJ8kaofOc6n36qGUlKBEG3M9MYSZMFlQamo23e2bxqezffJE1B7oiOi8FLvyOiTo6rNtb1RYLrz8HUv7wmxVFNAcMAHUILvPvkNIQZmlEV2Oy9WiZFiSBsjeh2lHdEwBoy5AEYIll1c7YnuxHwrDlXKGDpF+70MzFZ2HuDTOSTGIjjvQQzR1A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=r+HYcj5o0yqgsvtfqtmt5+DOfnnr0P5pW6zjbbasIDY=;
b=SgWcyQE0xfNXixDUc0SC0e++PW/u/myJeVUHRXBy+gLgpYoMq0lfFUuYkRGfAlJeBhOaPuOzrD2SZwuudzcJJtLkH/blPY7cTx+/7smwe9b3bVPQ9yj24LZUgyyKlUGm8chc2V0bP8s7wYPhVQkiVLyxrMlMlc6Grzkn7ZjTkGiBkPR2CuMblzElOIsp6drhVtmT9T7qcePczgCEzSfTzysmuN3DuKWD0Tz3kDdJ1KimZrI8vgumWXfv8oMTPy7i8/kxH11ujcWPCnSEd9wJC5FNYSJ8l1Le98dTCOR+srlSw19hnyKM6bPMwK8uQfNPM/KRZk8RpDcDyE6eM6525A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass
header.d=arm.com; arc=none
Received: from AM5PR0801MB1844.eurprd08.prod.outlook.com
(2603:10a6:203:39::22) by AM6PR08MB3864.eurprd08.prod.outlook.com
(2603:10a6:20b:8e::28) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22; Fri, 8 Oct
2021 12:17:52 +0000
Received: from AM5PR0801MB1844.eurprd08.prod.outlook.com
([fe80::4cab:e095:5105:b6ec]) by AM5PR0801MB1844.eurprd08.prod.outlook.com
([fe80::4cab:e095:5105:b6ec%9]) with mapi id 15.20.4566.022; Fri, 8 Oct 2021
12:17:52 +0000
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [Patch 3/7, Arm,
GCC] Add testsuite library support for PACBTI target.
Thread-Topic: [Patch 3/7, Arm, GCC] Add testsuite library support for PACBTI
target.
Thread-Index: Ade8O2GGnHgSwnt3QXOqW5qKU0PXhw==
Date: Fri, 8 Oct 2021 12:17:52 +0000
Message-ID:
<AM5PR0801MB184459FF8D4A79457927F919EAB29@AM5PR0801MB1844.eurprd08.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ts-tracking-id: 8A5D0CD37E920D4C8AAA56C9042AA912.0
x-checkrecipientchecked: true
Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed)
header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com;
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: b79b9c63-d954-43b2-1dbd-08d98a55ac76
x-ms-traffictypediagnostic: AM6PR08MB3864:|AS8PR08MB7307:
X-Microsoft-Antispam-PRVS:
<AS8PR08MB7307EDEDB4885295C615D35AEAB29@AS8PR08MB7307.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:4714;OLM:4714;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original:
YwV0PKP9G2+Za7ZGgIMnhnkpmDEbQHtKgd38XnPRxypJ0Yz+a+qAjcgFb0ttJTL7DBKPMoo/CKNuvaBzLB7YDv9MLxCwyvKZ+FksuOwaC/w42UoTicRlylDBByP0ftmiqSqcg9b8isSQQQQUxdCMEDWGsgVPnZXljcW1qb7J1FjDf1p6g3Sv0lvw1Zk2dCz1dmEm+yJwqJX0My+QrkTz6tkN/4sx8yiOyditNSdT8UiTHlO052mhKLMsSEyfuLqwEK3+b5pr+x0CSeBW+wOElirWkk74etw0AIhzPXKB52Z4M1/529huMylgpDN8LAf3TWk9w1j1IYPXBA2cODoGrcxZniGxogGoN4sPXlCs5cWoAbB/1SCHAiHQ0OTHqd4t4hJ1Hn9JJGBgIJv33n87HLKFypikvTPZVUdJrHy1vE1AmilUDHv5gLbUtdvRQ7Dn39W3Xj02xV9Fd8cmtjwZnuBVGaPQmN0xkVjG23yS1o5W061AZAIFUSxEwbD2M2AQ1BDa2P2lePrt6BiWdt8EYh+fbGTAa/KH4gpbcRaeJN/Q7/vGYkmw7rDN7gF12PelZCKXN8IDFaqIaGe17bFEPDBgxheito1v7M8dxtMncrcDK/r7JEFGnnOyBpsMxSQZQp6EvoCHGJloPqDxcbjKCGGvF5DcRPcL1ktPgw96AlRrnw5CLfRK7tZuZZ4z3zSDQOI2W+OYp8j3/U092kJdrw==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en;
SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0801MB1844.eurprd08.prod.outlook.com;
PTR:; CAT:NONE;
SFS:(4636009)(366004)(76116006)(86362001)(8936002)(6506007)(38100700002)(122000001)(558084003)(71200400001)(38070700005)(66476007)(5660300002)(33656002)(26005)(9686003)(508600001)(316002)(8676002)(66556008)(2906002)(55016002)(52536014)(7696005)(66946007)(6916009)(186003)(99936003)(64756008)(66446008);
DIR:OUT; SFP:1101;
x-ms-exchange-transport-forked: True
Content-Type: multipart/mixed;
boundary="_002_AM5PR0801MB184459FF8D4A79457927F919EAB29AM5PR0801MB1844_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3864
Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed)
header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
VE1EUR03FT034.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs:
1e7f569a-e4ab-4688-12f1-08d98a55a6da
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
HfuyVFXuHI5zGsAamUwrNFkyMEtm6XYW5bFlZivmm0dBTmCtlHNRHhUyQ1MHe6kdPdO3smwWREiQub6Dqglc8ZBNf6+VicKr3b0/2Y2t/lupCm0x9Jn+SEUYQf8KMWe4F6iQX7Q8NcHwjH8q9FLGTW7HXctKDRkk8N9zaabAUIULEjL6Rh+K++TtXMh4ucvl1AC1CQxGTUCBF4HJ047QSm+kxx03C7WwO7DDcXYV3XOeVkyWe/1xd3YTnMy3Jmf/1fSdWOrrLm89aMJYPKgdOfob4nUuduv0ZYT8/xhp+udsLT7P8x0bjcTLV0Hsp4y9kvRadhJIQWOw0bmU8E07Rcljz1pdsC5X2Uhv6sAMTC4gxosCzHDt+WockXKf2MGTGCd/tNYLwwixy3teiU1JMVA2iBsjowbOBsW+Ue16kDTzrc6ARkK5UtKs+3IvXzS2ExSXJ7fEB2Bv+6/g0CMwuY6X7t63uMuMWBfytTdxAUmaLM7+3Ad4SjfEURNjKfDKtFqJ7xLZ9JWpbjNmrvHbhCDCcPSKp9MDJYovScYnNO5KqAlOs+PoNFoP/edtrpL9ZY5G7Uy5xphEQ4YE+wyvCZjyYcileLC7g8POQDs1ZSwRzQNsNUKTf00DnqY1Jv2ORTPW4+AQ/z56jPrSt6ZEWkMdY/VFW7zQWpS8oG56/seKuFkzros1pZ57hd3Jii+A4NHw2A/qcNmKtY7fe7mKnQ==
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:;
IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com;
PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE;
SFS:(4636009)(36840700001)(46966006)(8936002)(2906002)(564344004)(82310400003)(36860700001)(186003)(26005)(508600001)(8676002)(86362001)(7696005)(55016002)(21480400003)(6506007)(336012)(9686003)(70206006)(52536014)(6916009)(47076005)(99936003)(70586007)(316002)(81166007)(5660300002)(33656002)(356005)(235185007);
DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2021 12:18:01.8831 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id:
b79b9c63-d954-43b2-1dbd-08d98a55ac76
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp:
TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123];
Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource:
VE1EUR03FT034.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7307
X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_PASS,
SPF_PASS, TXREP,
UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 <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>
From: Tejas Belagod via Gcc-patches <gcc-patches@gcc.gnu.org>
Reply-To: Tejas Belagod <Tejas.Belagod@arm.com>
Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org
Sender: "Gcc-patches"
<gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org>
|
| Series |
[1/7,Arm] Add Armv8.1-M Mainline target feature +pacbti.
|
|
Commit Message
Tejas Belagod
Oct. 8, 2021, 12:17 p.m. UTC
Hi, Add targeting-checking entities for PACBTI in testsuite framework. Tested on arm-none-eabi. OK for trunk? 2021-10-04 Tejas Belagod <tbelagod@arm.com> gcc/ChangeLog: * testsuite/lib/target-supports.exp (check_effective_target_arm_pacbti_hw): New.
Comments
On 08/10/2021 13:17, Tejas Belagod via Gcc-patches wrote: > Hi, > > Add targeting-checking entities for PACBTI in testsuite > framework. > > Tested on arm-none-eabi. OK for trunk? > > 2021-10-04 Tejas Belagod <tbelagod@arm.com> > > gcc/ChangeLog: > > * testsuite/lib/target-supports.exp > (check_effective_target_arm_pacbti_hw): New. > OK. R.
On 11/10/2021 14:36, Richard Earnshaw via Gcc-patches wrote: > On 08/10/2021 13:17, Tejas Belagod via Gcc-patches wrote: >> Hi, >> >> Add targeting-checking entities for PACBTI in testsuite >> framework. >> >> Tested on arm-none-eabi. OK for trunk? >> >> 2021-10-04 Tejas Belagod <tbelagod@arm.com> >> >> gcc/ChangeLog: >> >> * testsuite/lib/target-supports.exp >> (check_effective_target_arm_pacbti_hw): New. >> > > OK. > > R. Oh, wait! Not OK. Needs documentation in sourcebuild.texi. R.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 9ebca7ac007363d2a35158bb80092118f629b97b..323541c2da527e3da5dce4d85cadcb2068d9bb5c 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5064,6 +5064,22 @@ proc check_effective_target_arm_cmse_clear_ok {} { } "-mcmse"]; } +# Return 1 if the target supports executing PACBTI instructions, 0 +# otherwise. + +proc check_effective_target_arm_pacbti_hw {} { + return [check_runtime arm_pacbti_hw_available { + __attribute__ ((naked)) int + main (void) + { + asm ("pac r12, lr, sp"); + asm ("mov r0, #0"); + asm ("autg r12, lr, sp"); + asm ("bx lr"); + } + } ""] +} + # Return 1 if this compilation turns on string_ops_prefer_neon on. proc check_effective_target_arm_tune_string_ops_prefer_neon { } {