From patchwork Fri Oct 4 17:51:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Carlotti X-Patchwork-Id: 1992939 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=DTf3DKdn; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=DTf3DKdn; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKx2f6H2hz1xtH for ; Sat, 5 Oct 2024 03:52:26 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1C4A5385E83E for ; Fri, 4 Oct 2024 17:52:25 +0000 (GMT) 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-db8eur05on20600.outbound.protection.outlook.com [IPv6:2a01:111:f403:2614::600]) by sourceware.org (Postfix) with ESMTPS id EC1F5385841E for ; Fri, 4 Oct 2024 17:52:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC1F5385841E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EC1F5385841E Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2614::600 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1728064325; cv=pass; b=sG/FOf5JYt5U7O3/h9gLBxIEDXLU8Pv3Ovz6PIk1aSHwyPIunwfD9C78wWsbh8ipA+JHL9zZRvR4p1WSSIHlfwQduKu+TsIhkJdRCWUbk9u+pIjdrqS6w47WoRCJ8DxEKH+Vomk+OvgOBNyO8ob4INU2vkER/nauw+HfLsGUEeI= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1728064325; c=relaxed/simple; bh=Rs6ZQotwUHmohYnRbd4+PLVboG7EDVPiYwpeEWK2yvk=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=TrYWDZa1ulWgImprqr0Ne1EF7kPqs0d3tXzEDaWydzTQYPXXFaO4cgv1Z5R1O4Mcmjva1OnHS2Fnts8f62AEX4OBtraKkgIx6lNPiGK9408qV89bDClYEqT7jhIf6jsGbffG50BhGCpaZ1Eqh8UkElhy65zg+6M8qTDKEbz8ZyA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=wCPWNyPLT5orzjucB3GYgJ2ggXrnvlEASn65/ofQn6b57jjmvJzWDLWx39QCXnhWl1553gwxwyK6zNB51JTRHN6RT4IW8ZON0o2lLVJ58aXt/IEdccWkBrJEjlyZh5kj6HYhfXAi/B5v/vAo+M9rQ48/CqTpfFrobqcX+RRXL8XMiP08oPFcSb+nIf4ZmPE/D+RxVrNNdUYA1GD2xalsfKs+wr2rNn3akkb+3jeI3zU2VGPt2gL+KhBTLAFDh7GDMVHO3zPEhAJGlo9Oiz++bl1tbuZre1i0P3NHXktX17rkvXuq8/bef15tIAEcwcBs4Cb5MR6quCIXkyZHQdI4+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=NAsancyR7f6oRh5oEg1FFklY9Dc0K5MtDytoLXeJ6Zs=; b=F0soQgB94cDKDfxQrK1DVZFlaltSzkMrcn2msj4etwCQembOTTe2wgt88oBGSZnYezI5v72BWPYXBYdPImxhYBByULUUPX68V/b5fDKylWn9T7ZJ+NnJhAGN66Z/qzlE5MV5ay8PVu5NhUSvbBZNt+JAAinPxbCen/rdonAU9aSC0sKpviX0rn7F0ql45V2IBOU0F9r/f+pPDzPK3Cha4i/ZhW96ek3K8Zr/zFnHZ/nRiB8Ls4/Dxw+jcwfnWJxQnlGZACprFFnCmd9+Aoaaq+iEKbnMhLScuFZh7+Ita+zHXAMepFiK8pIveMnJkV38f/4UrMmwxJJ9U25AQaCFtA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NAsancyR7f6oRh5oEg1FFklY9Dc0K5MtDytoLXeJ6Zs=; b=DTf3DKdniYDh0PRVJ82AeH0Kc4g8OhUhMAP8c2K4FTvVBdWWcSs8NczTkqijYyz78lM3/+pNK/tO0FpCawyy8f18pGBiULNBEdyqJ0c8H7Ws2kg33muzvBU6hGczB8ufBOwl6gKKWDN/fC7xFJAStclxA9Bt1NSUZ4n4k68zVUA= Received: from DB8P191CA0027.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::37) by DU0PR08MB9726.eurprd08.prod.outlook.com (2603:10a6:10:446::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.18; Fri, 4 Oct 2024 17:52:00 +0000 Received: from DB1PEPF000509E3.eurprd03.prod.outlook.com (2603:10a6:10:130:cafe::b8) by DB8P191CA0027.outlook.office365.com (2603:10a6:10:130::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.19 via Frontend Transport; Fri, 4 Oct 2024 17:52:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB1PEPF000509E3.mail.protection.outlook.com (10.167.242.53) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8005.15 via Frontend Transport; Fri, 4 Oct 2024 17:51:59 +0000 Received: ("Tessian outbound 1cf41b4bd505:v473"); Fri, 04 Oct 2024 17:51:59 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1ccb56302180f196 X-TessianGatewayMetadata: Q8vMEOZ2pW7cz0wzB2U2Kd22WalBhkQLLAeuWZiTb7q4plOccJClDZZHg9kWeW9bJ36HnS0ibpT/sYvfmIx0znbaOHFODhRAF5jU493bmAuj/uUpwRqHX9EebgpRAMdrzOsVOCDoWTEiZYUND3qQHwNhL66zq5KIfxkad6C+MbjdimZqdFOEC320G8FDrJZ8 X-CR-MTA-TID: 64aa7808 Received: from Lb5e9ba60031a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4C77731A-F15A-4EC8-AACD-157C9BFB34E4.1; Fri, 04 Oct 2024 17:51:53 +0000 Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id Lb5e9ba60031a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 04 Oct 2024 17:51:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lqDDOe3ue2tIOAmdPAuwqn33nzVz3zLc2txBJtqRypRqciWxrde6pvLcBG0pQA5CIgJtSFvC1VLHgnRHsu2f5ywk1H2pUO/mVfPI4rj91TGfb2Q7Lt8g72F9XaevkdkY4CuNY2bDBi9SFYg7MpNe0jLdWy0dxSVKdDNCUf/eTSAOE08387kzU+g0wTmtREPlB2Y6l+sYh9GfwBKRaj165uS13eTH64Mz6JEk1bkh4Hb4JObagyC06Cd5PrAcB4RmXo1ABT372xjjwISh/98x0DtasSGwmSGx6weWLPCB+I5hLebQhypP/29xjZKiA6KMMzlqwh/EwLPk+QD+Loabaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=NAsancyR7f6oRh5oEg1FFklY9Dc0K5MtDytoLXeJ6Zs=; b=cWH8J4e9g0czIxjnFJparf/iYoDczPMv1I/pqEHArt64DCFM2Q9EZ49e9Kw6VmQX2F3UM+zdKYwsEorxgm8i6sK3jMTuGPuOGLsjZgZm6eBsvnqLl/8/6eu1yS4pcXLKHzDNnpNvBlBzT5TfmNe+BUYQSX5FeZAMdeNAFJdC0rRsZlnYTca0po0UKJQSXeD/GS46axc7UPyIPhmCR/XTYwcG1YbBn8OmtMAIgBK1r96XIhPGBXdywhAPUAjGMcUztFCpQQZF6/0+kLY7+BzPxvOsecKfvrXylK4BzUdBUw4gCErmZXl/eBvmqjzu+yp3GZemz+TO8xi0tt5Yl02v/g== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NAsancyR7f6oRh5oEg1FFklY9Dc0K5MtDytoLXeJ6Zs=; b=DTf3DKdniYDh0PRVJ82AeH0Kc4g8OhUhMAP8c2K4FTvVBdWWcSs8NczTkqijYyz78lM3/+pNK/tO0FpCawyy8f18pGBiULNBEdyqJ0c8H7Ws2kg33muzvBU6hGczB8ufBOwl6gKKWDN/fC7xFJAStclxA9Bt1NSUZ4n4k68zVUA= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DU0PR08MB8255.eurprd08.prod.outlook.com (2603:10a6:10:411::9) by AS8PR08MB9527.eurprd08.prod.outlook.com (2603:10a6:20b:61d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.8; Fri, 4 Oct 2024 17:51:51 +0000 Received: from DU0PR08MB8255.eurprd08.prod.outlook.com ([fe80::cbc8:c020:6a1b:d27a]) by DU0PR08MB8255.eurprd08.prod.outlook.com ([fe80::cbc8:c020:6a1b:d27a%5]) with mapi id 15.20.8026.017; Fri, 4 Oct 2024 17:51:51 +0000 Date: Fri, 4 Oct 2024 18:51:49 +0100 From: Andrew Carlotti To: gcc-patches@gcc.gnu.org Cc: Richard Sandiford Subject: [PATCH 1/8] aarch64: Use PAUTH instead of V8_3A in some places Message-ID: <705937e6-c27e-fcb0-9b1b-203770a3c89e@e124511.cambridge.arm.com> References: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO2P265CA0424.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::28) To DU0PR08MB8255.eurprd08.prod.outlook.com (2603:10a6:10:411::9) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DU0PR08MB8255:EE_|AS8PR08MB9527:EE_|DB1PEPF000509E3:EE_|DU0PR08MB9726:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fc395ce-3e81-4acc-7eee-08dce49d3ef9 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info-Original: Nqn1dLRe7SbmezxEikHXSozU3NX/uqGTxveN4/0StFNiHc2ExYoYrwVmfn0axpI6us7FC8ZNyyWeYMpFS6+eEnM6mEGlZKFG+RVw696VgsgGdOHKQtbh7VE8dMI4yONXAxIzl7m+6rwsU4Y4qhnXrw/kOD0qOH6JGHhXBKLuxYL7FnkQrr769vtCnXdwlOIp0+a1PyNjWm5PvxfYacGd7wbY5G+urvAH4WGVXIrfoPXnoVTHtyPXPMfcwSGZw7DFVDqdG+3yzP0rYqOvmntjOtyhFyAYiyVby74fc+HbKaRauTPKDS1BYiFyGMDF78Blb0seR/Xg/mJztrAGL4oSWE2HmcRHUS2K2s6PMeroLh2KnyqRUgMZ/RY1BtF6dsNF4NQU6xm7rgK3iygmxt2NMLfZv7RBrUCm6Uiu5JUTU6CqhE5wAnPgYvtHqGYh9itk7DSn0hJJS9S2zlYvBiLOhV7QFaFrZOM6YwJ0EE1bsaH+eBcYTnGzF+3KLLlBNfnQNeWBIixeTfEKe7492mnxuMwUqulhVICDnJkhZVW3powk1mR1acHUMjlYlJonsD/vb1YwXTppsNMk0gwYs4F2kh1SXQ3fHS+VJYzdufguZf8fYVwUCqDhHf8+pa+l5dpyZNiJdOSbTvmwnCYu+txrbPCiQo0mgpHRZgd2bHL2MQcD2/AhZDn+c23Mgcq8QrUbK3mkUBLZ135ApysdoOW2psSEundBh4lFqt5NRpr1m2foHnSzFIfI2jfQ8uYOfJ4KO6w1y2V7ET78FjaJry+bT9m1/ANKpNwXYjpRFPuoHQQuVJIlSGqKXS1O6yTyldiKEeCYVIaV9w/pls0Ye8VN83YABQwODq+6g+iNMmGpN6fIHivdw5FeDgGyHH/ZdbSLuc3m6vfLFDxbAmiKIFwvU0Lf2mwcRI1ZnUKe/Uc8aWYcr0gsI0qpdMVXhillLIxcKXaIUfoC3m8TablRyhI3Uxc2dj3qRnTdzANwTnyrd96+kPbmFj7zhBnXkUvK1lGLb7Foqagm99l9uG7VOQODQU+/K+xpOOwrbR5EUJ/m3MlFMd1mblmBng3TEWM2Jxny/PC7U7r32OfE/DRGbFjo0hzPDM/i0zsiUalUO3ckbFHf8BiM0SDNzsvOVva0botiuNZ2k/kcvpLCtrvNxWk3I8TVe04VsqtDWO2iIoyJ2YP5NjdrqTpLr3WcpUpjPYebERDbTHeiwZxgdh/K0ZIvIrCR7QkzHefIbqpSO7d5zoaKSv1zjWomH9YWgNvs5jgJTQ4Nk9xbFMYtcYEjPzfwpA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR08MB8255.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9527 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:411::9]; domain=DU0PR08MB8255.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF000509E3.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 4f052374-004f-48fc-80c6-08dce49d3a36 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|35042699022|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: Fy/+9RV/Cg8KYHyezpWUEI9AThnfUXaSsnGbnYuCJXeg28W+J5DLEMLIPbpChqQJJi/mWN7JnaBTq6lHZ5Yk8Dk/b2dz4CdvTURLcIuY93u3/RDI1qi/GJIrX9q0gSNXiWDJN8Q2st0R5Hig3TsyaaS4oyYVKBPKr0zyql5z32ga1EF5Yohk+PaVsMPSeXA0f4x+VB3jSj1dWJ5ZFm4mr89mci6wew/hZWbU8xjz5BUsS+s6rw49r4lbkvCcuNtAN4hiBpgOHR7WMgnuny220suHniRilQO7L3I8SWgFQdtvVuBOF3Kc7bYPF0NebD/AohSp9QU5pWrWYpWIwimyUzLHWE7e/CoxyGi597KzQAmXGvQ7OIJezCB+hrjD2HO6tGFWHCxoj4Bi7MpX/z4I3V6RY1UYcKaNThVWR/O6zU+lS0PjIFUt7SJmKCGBxDGyaQg0PxVHd85ZbT7k2DQZaorAUqFedEc3qVWR47yV88LwI46RaVOdGFv68ubWPxOy7FmP/NFrjDbnYkiCbo0ZcXy/3A5zHwsS5ClyZ1scDBqAh2RkUhH9u8O6F+3Xag3G+lj9OPWEcY+Fy3BXEhaszLdpzCc0ab/Tnm2doPEttUUQZ/dRPMZJ9v80pEw63UBo5+hBSYH5rk2fc61xhaAR+ftLqg/qU9OQ79aFJ62vm667l6rJwr2/nFPB2U0VISGDiEUOyRHA7jyAv7XQl6tiVpDxzInoqrskNXeP+zcqoFHVrDZ/o0h3eDkMnUwneXp2PZ+UD5X8OTnsD+p8ZpHEgrdGwVxOBbT2FXj7vVMjmNyXr19PAIXf/Jq+4QqR3f62FBO7Z3BKDLgEhDZqcEF8nGctcIT/R4+WcTm6CteQSkMfuBsnXqqoDQTUP/3pSQPJdrm5rob4DxrtR/K35i+5aFcrqHNRZbPx06A99E73VcgLbpDeHB6z+cAp+PpVlpxoO0tosFvPrjfGb45Xn7HeyrVQksiAC4Lrzh5kMFJnPAfoaDZw9r0LA8BsNBM2kPhd+LVy5ENGmmnslBzYfy+4hcwKmzvWCdcL0+J4M+pG3FAsZ6rLaIT/kleaNv1NLDfJul9ntsNhpN/13HrukcdT2lG6LPNiTo/cjqSUjbKCFL6mWY5QMH8kJHXNgcjfou0CWWb/LXJcN53azO0en2fKWnQ2u+1yYOzpBwiTb/9SryGhoGUT5c6ForrSUEReLSfd4uyH4zYiE3KFxcQedgw64k5ojilKmt2mgM1nQifE9iZhRgY78h7Hx62za6IG/Ho66KTDFD6H+ypcVZTZcg3hgB04fxq9yKFBGkVaGkuvJ4M1MqUmsa5biRR5vqZX1G9bcNyTlKoaG4Lk2z5qRTBYpT0SEjgOGvj2fFmLNYf8VyQ= 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:(13230040)(376014)(82310400026)(35042699022)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2024 17:51:59.7148 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fc395ce-3e81-4acc-7eee-08dce49d3ef9 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: DB1PEPF000509E3.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9726 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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~incoming=patchwork.ozlabs.org@gcc.gnu.org gcc/ChangeLog: * config/aarch64/aarch64.cc (aarch64_expand_epilogue): Use TARGET_PAUTH. * config/aarch64/aarch64.md: Update comment. diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index e7bb3278a27eca44c46afd26069d608218198a54..cf1107127fd5d9e12ad42441528666bf6b733f73 100644 --- a/gcc/config/aarch64/aarch64.cc +++ b/gcc/config/aarch64/aarch64.cc @@ -10042,12 +10042,12 @@ aarch64_expand_epilogue (rtx_call_insn *sibcall) 1) Sibcalls don't return in a normal way, so if we're about to call one we must authenticate. - 2) The RETAA instruction is not available before ARMv8.3-A, so if we are - generating code for !TARGET_ARMV8_3 we can't use it and must + 2) The RETAA instruction is not available without FEAT_PAuth, so if we + are generating code for !TARGET_PAUTH we can't use it and must explicitly authenticate. */ if (aarch64_return_address_signing_enabled () - && (sibcall || !TARGET_ARMV8_3)) + && (sibcall || !TARGET_PAUTH)) { switch (aarch64_ra_sign_key) { diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index c54b29cd64b9e0dc6c6d12735049386ccedc5408..0940a84f9295ee2bc07282b150095fdb5af11a4d 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -7672,10 +7672,10 @@ ) ;; Pointer authentication patterns are always provided. In architecture -;; revisions prior to ARMv8.3-A these HINT instructions operate as NOPs. +;; revisions prior to FEAT_PAuth these HINT instructions operate as NOPs. ;; This lets the user write portable software which authenticates pointers -;; when run on something which implements ARMv8.3-A, and which runs -;; correctly, but does not authenticate pointers, where ARMv8.3-A is not +;; when run on something which implements FEAT_PAuth, and which runs +;; correctly, but does not authenticate pointers, where FEAT_PAuth is not ;; implemented. ;; Signing/Authenticating R30 using SP as the salt.