From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2119.outbound.protection.outlook.com [40.107.13.119]) by sourceware.org (Postfix) with ESMTPS id 2E49D3858D20 for ; Thu, 11 Apr 2024 13:58:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E49D3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=microsoft.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E49D3858D20 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.13.119 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1712843901; cv=pass; b=a34PQv0T9l4PT11VNuzemGfiHsc9dqZXwp29wgbrFeQU/cQ41RBd7i8T7U49lleREJN8QTMyfZOhuc58LjXpPfRwh5sy0/3gJ6G5ZvKZZPLFEN9h1H91M9cjD5Vdb05JfYziEMn5bwJv4wNN1nrQNpGYinjGwTZoBssinvtCTB4= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1712843901; c=relaxed/simple; bh=aIaU/qUVT/WXaOZHy4ERqE6+Rd8bNDVCxE8DF/9P9O8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=f1u4t79IouS2mF0ThtY1Miet2fpUYzAPONxAA/3JykOh+8y3FJG+D6Ocnhu5ZlMY++CDjQ+o9DInzayKDeJ9B4GhvgD7OXVyRvJenbD0OPAgY6oMydQvn6TNZExZ8/jtB4Lhi8uJD3zGQ9v7VzfYVyhSuJVgWxKP2S36PpDDJpQ= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UvPGYnzeSFqThu23bycU1Gb2NUno2kAdYggvmXq9jHZ8kAN/rxRPXddxNLxs0IT4WZOmR3V6zCqFt/RdOTIFKki73qW28/FTMHrKK24P0/h0q4ChNKPMm6SUbHN3nJ9d2MNHF426fiFCI1z5l5fYWs1gLNsqr40FF39XacWee5rNdvuk839PXyG/EisAHZX2dQu8OTD+rsHcfsUPIOuiR36LYZyfvrbMxIp1+CgcOX11229AhXe+8fKVp/rITRNguMR5niHoGkstmZmzBfzXVZEGuzcCuBN9B6boBYnNZhgFVwLZSZfXwZDrvbVH11ZPSGSW1WPW9N6/+NsRHRF0Ag== 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=aNm9+sMFFFwyHqN14I9p2pfvL+NzH7J6Qs/GO8zWjUw=; b=MCVEg562RsLyK2d73NVM3B0Bzo5vKMa4WpSZkNX7CWJpRIx56dagqXVGptG93gkXxavHK9hfY2XW8j0TBeAFk3ObW7WE9NNAvcJUC5MJK/dpU/uoIBjFXETUqtLbzPvMuErxamAJ5wU/twl3g4dcWDTUuYq+8tmTwWReoL6qj9f/Fosnusygwn03CTJiSvcVSVqzKtTLEuYMGimOSU4CtIE0gjChR3nvLNr5oZWGdOLnjnaWyC+RTCEeavu9Pj4B03g8UuiR903FA/twyXbiioQsJFqYhBo+S7zJVvAoXMXNKi5WRPZ+4+Uns8zSu3MDHW2STVEe+qn17ul3vkgGgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aNm9+sMFFFwyHqN14I9p2pfvL+NzH7J6Qs/GO8zWjUw=; b=h3bHlCXzchlKV6E5jv0dyiTBYx+DepGO5lxdHRQngxuBZfcd1rX9sl46X+GQl+Px29DMMXx/gND0TMy8cnC4zUW1EV5ccWN7XjUQxIoSYb2hON9Plb1AOtEsbmkmeRFOBleA54/ht8boKUp6QlwcPeTyVDycN/tqADwpuxzlse0= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by AM7PR83MB0418.EURPRD83.prod.outlook.com (2603:10a6:20b:1be::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.12; Thu, 11 Apr 2024 13:58:13 +0000 Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7147:b7f9:31fb:39f7]) by VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7147:b7f9:31fb:39f7%6]) with mapi id 15.20.7495.011; Thu, 11 Apr 2024 13:58:13 +0000 From: Evgeny Karpov To: Evgeny Karpov , "gcc-patches@gcc.gnu.org" CC: "richard.sandiford@arm.com" , "Richard Earnshaw (lists)" , Maxim Kuvyrkov , Radek Barton Subject: [PATCH v3 08/12] aarch64: Add SEH to machine_function Thread-Topic: [PATCH v3 08/12] aarch64: Add SEH to machine_function Thread-Index: AQHajBhL7v5411dmuEKIYVjvf1hHbg== Date: Thu, 11 Apr 2024 13:58:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=ee10a91a-ecb0-4ef6-a7aa-22b9c54f3645;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-04-11T13:35:01Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: VI1PR83MB0431:EE_|AM7PR83MB0418:EE_ x-ms-office365-filtering-correlation-id: c9ace260-65fd-4968-497f-08dc5a2f6de3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wv6lgWwrAzKus3UJVY7xoKDV14gkXtyVh11HDr349n4W8hpbQEIyOOd1961zb3G7Wmmkt99Sj2bwkAsX+XMvWt4YbN01Tlizbc0IQjEvzJE9NriU/lRM8XRYSlh7rQwOCjKSgeAAldH13TUtpjDLAhzyW89FCYeKjO1NNIWqiXmIsxUK31V3gb7opm2pkpLy3IC9ZbBfP6j1BnTYBdABnm4iOTaFQhM6AoSztH7frHvmYK44VfqG2uPycfn3wchTgMi4c8YGJWEEYjTuakuLrYVWj9uh8Ttt4TDpbqnRAyOVTapKquaKIIAq1m88cJEZaJ38H9pzcEQtYVzARFw07zWVH44FljbC/h4/bTqLqgO4W+vUwpmqXuVbTTnm0ROZqMjOdfT53QKqLjHN29X+9YfWHzuH3rOKRybpRTdcmFM0xePN4AUR7yPaNE+julsOUUPbsYPGYlsIE1esBQjswGFdJK5jBwm+HlH7Rqp4eCJy0PSFrviQ402uBHUT4bMctV6T0PyNG+E0nIhvEHi4koFqKAGJJw5h55fesOa+mbz1POP74DL9rsbh2l7lNfBe5S0iWXV8XbcMUXR8WKbEhqjhv42gfTNzr6kMF4Fk6lQgoa3p2SvpFutdb/u9A9TZhwX4+kvaYkdG2zaQvZ+X9xAH8gYiPa4phUtVi0C7jNO4874ZyG7/2QkT4QlhnrEdx/tZVnfa4mTHYekb6irlMw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR83MB0431.EURPRD83.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6Am7KZr1e5MpU1/X8dFcx6n+NLqMP+iPj1zFYJmLHZhKlc19zGtgca+Zy34o?= =?us-ascii?Q?PIsD/+uml8Iu5k9NggC2TL7iPvvaC335Ft7YopuCpxEyTMRehBI9B6pAKupz?= =?us-ascii?Q?1XVohx9ujDPyjbBtFLH6UpPHQfMHi4WVZC9mlE5+95J5bknQcPhZGh0bo2AF?= =?us-ascii?Q?S6p9bm2NH5GBiglukmRFgNZhlx+QtTrY7umB4N90IK6FsfLscVWUgdBnciWY?= =?us-ascii?Q?Io43VRMH/ldeoTl8bw91pkT4aYoKn1SjPxko9Q47xUOZAcsr2hb8SxStmoaH?= =?us-ascii?Q?iGrX8+nt4W7YCRz5z893T7kp6LKcFz/Uj/TKyz/UurGmm2+B543BXa6HjPdw?= =?us-ascii?Q?Qo5ice0yjqKoADqtVWu80IPdNMlmuWTMUt0UwtW0T6/96pTEZpeJsxTP7+Fl?= =?us-ascii?Q?Er1bszTXYLo5ovko59ZBlltGnpBrghLZtw9eTzyhqOH70NqGGAPmZZ7/xley?= =?us-ascii?Q?FZp/sjXRZFh6pQhuLNM+wUMdRyVkm31UJrmV/+wojwSMZnshW4l+8rObEa3I?= =?us-ascii?Q?fFSlmsGabF9PcqL4V4InRbSlX76gzI8fusGZSo6FolRJ52WrySawFytl7LfZ?= =?us-ascii?Q?lAAz6tx4bAdOaV0zHsuVw0tI3AqV0ocRPHHWaLnE9TSpxy1cTe/Rfls+r8mP?= =?us-ascii?Q?Vp7gqddDcHuwng4AerH6j4VkrXvTeyRrMNSENJ/kfUB9/BqfCw3iVJtBnmGo?= =?us-ascii?Q?+9lqLts6K6UTlGaM/mtmMx02GufKYGt98Hp2uVsAQH3RSEK3ZLvGTda6AZOi?= =?us-ascii?Q?WmwtZu2LfyAtUpr2va+VMyeaDtAQJSSJEomHAzwjPETuWIH7dKcG/YkKoNeC?= =?us-ascii?Q?v/PAQh+GNDheuxLg0q7l/DSONipEgSU3ZESodxZCtxfzNvfjGMQHamO0zbhj?= =?us-ascii?Q?wlN1nyIXYZa3ngv6iFwhNqvn9sDqwle7zlw+vjwC9wltPWS0uAbWoOBVGN0N?= =?us-ascii?Q?9yWV/ZdCN6wCghO7xYtAybGWTB7JoF67doJ3EakwrY1xvEqixvhbaf1RZFQR?= =?us-ascii?Q?1nA7mx8nSo1grXgzg4qdFP4eekcSA6C52t4LC0EFKqbAxuFlVV94bhi2Ebvt?= =?us-ascii?Q?4vuWvGZDzMR+bWDf0NYLpBbzUP37T+dflauDqkdDph06UFg7N45JUueJBGne?= =?us-ascii?Q?W/r3kJJQLfHz5cTVwwMtFiak1GG7/Y6N79n+iXGNtJ4f24oZk1At0q3qxQgb?= =?us-ascii?Q?7W8NJGEGZSA7lz2hCvGFd176a5YruMo5hjbcz2oyKbULxZ/dWveKH/ysIJst?= =?us-ascii?Q?REOdqb2ZmtzrdJlmNfdx+a4Mg1YuRfLZDvEOj7dZk9Jj711bTFwit/mufKIM?= =?us-ascii?Q?lIJu+LlF5U19ZPhijKsVXfU3ecA+t4gJVaYBxMEgYa5+lSdFGELe1eRmBwkb?= =?us-ascii?Q?ZsPzU5cnC9l1Ltvdyoy3GA1G/Nl/bCzcAjr/GKS4JAFl4XKpuIpDn3MO2xmA?= =?us-ascii?Q?WjO70JrOYcR4TYy26KrxVIySpToQcV078Fx13oCuhWozDwqK83wVlezEx+0x?= =?us-ascii?Q?S3m16GZkNEctHdaJNYsyz+5/cmhY3qhf3h09pQbWf/XzX0fMHV1d88yBRuPA?= =?us-ascii?Q?1dHQvPnpCPLtsD0ep+NmL8PUW71dCCF04VJgngHk?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR83MB0431.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9ace260-65fd-4968-497f-08dc5a2f6de3 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2024 13:58:13.2703 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: C++OfnDyHL5h9tZe71vPpiD/LyubWptSLiF8ySVb5hBTb7LGXDpA/PUnvxrIqaK+qyPiR9A++cKKv5GxKA/oJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR83MB0418 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,GIT_PATCH_0,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,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 List-Id: From: Zac Walker Date: Tue, 20 Feb 2024 18:10:08 +0100 Subject: [PATCH v3 08/12] aarch64: Add SEH to machine_function SEH is not enabled in aarch64-w64-mingw32 target yet. However, it is needed to be declared in machine_function for reusing winnt.cc. gcc/ChangeLog: * config/aarch64/aarch64.h (struct seh_frame_state): Declare SEH structure in machine_function. (GTY): Add SEH field. --- gcc/config/aarch64/aarch64.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 6d360ca3e33..67736baedc1 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -1045,6 +1045,9 @@ struct GTY (()) aarch64_frame bool is_scs_enabled; }; =20 +/* Private to winnt.cc. */ +struct seh_frame_state; + #ifdef hash_set_h typedef struct GTY (()) machine_function { @@ -1085,6 +1088,9 @@ typedef struct GTY (()) machine_function still exists and still fulfils its original purpose. the same registe= r can be reused by other code. */ rtx_insn *advsimd_zero_insn; + + /* During SEH output, this is non-null. */ + struct seh_frame_state * GTY ((skip (""))) seh; } machine_function; #endif #endif --=20 2.25.1