From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2105.outbound.protection.outlook.com [40.107.8.105]) by sourceware.org (Postfix) with ESMTPS id C7DFA3858D28 for ; Mon, 4 Mar 2024 17:24:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7DFA3858D28 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 C7DFA3858D28 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.8.105 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573055; cv=pass; b=rh3GJy4N81D9vefWTH8p/vyJEncMnklOOpiMzODC9Citt7HPq/zMjWaCfouVAnKKdhSZoT48kd2MSN3pe06vUtYLjRUxdaQqRyifW1goMP5i4klZV4xwpR40Ezq1SKNS9UaS2FZTxhb4LyBEnHg0zOBtbjiw0HY3geiepRyiuCA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573055; c=relaxed/simple; bh=qMCemgQ7uUBCHit+JGk4AjCO6g0dBkW1ffnjpQ07aa0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Cet2zqZ0JjyB5WqnLkAPp/k+e92z9xlo0bzRmEOgB5u90/X7elz07jFtGjtNVo1GwDSK9it/moEeEqDYpwXRBkYPksU2iXDQGPAAfiL8v08ZLINpVtPd9Fw9ySaxgzKwwrTR1g0ArcpBT3Qg3CpUbEG3s3wWO3FiDJ1aVApLCUU= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nLwC9yAJUfF9biS5H9Lfcqtsd5UyjhPfylsUMsz+Kgl1k0l9bX21rAsXzaaolVeIov/1ySvsU0MDcyUDC8pJHPmoXAjrZITKmEoMRtclBZYe2UWLXxuiExit11973fyymoCf5WaPua/bE+7IoqGsvPlIyzsevrbea6Y0BRZMmjuZ3UTcztEt7hzXXyabIgLqVoHsFhDbxo8TuutZCpRKVdLD2v7HNcWsvuE7F5ofys+T5meHCS++hmmVdCIAcGNOMyUUEFLTdfHksY0LjXyPFMZ/sDIHDkojByJzZcN9QqDVsLfwZ16nCkAOCx6B+NHJM7RoU1m38vKnZMg6TsU07A== 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=qMCemgQ7uUBCHit+JGk4AjCO6g0dBkW1ffnjpQ07aa0=; b=R9CQo7jTHyvRA6PQGPchcQE98IOkt/wNgoLK27eP7N7FZn9Hoitl0O5nspa9AOHq51F/vf20mjR9wuRJimwHsTffk5+0rDy5wpGUhUYZOMGRQh2xc6BxSdu3eRe/bKBfg+aL5AQ2HYmc4+Adtd26YnW6+nkBxKeTJutY1hZ20CkvpZZk5OKa+c9GNM7ySyw6pVQSDaCWORLXyHI/ILq3YvOPyyrOlZIdXQNkvAvWtHhocLFSmVjXutuKSUlwvB4LXnpxD6Bl1MOloF3CrgWQ5JvVbVa5iNIBNKyV+4/kT98664XfmsdJXBlTGXulWZLiCP6J9i+vTfdrZaCGa5I0xg== 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=qMCemgQ7uUBCHit+JGk4AjCO6g0dBkW1ffnjpQ07aa0=; b=IfDJ2Y0xMHefwYy5GwybGjGxZDdxzsmTQImjJZL9siG/J/rzQOU0owpV8V2dJnfmQCQDVcz19SaCZ9OIplOOTjZzq6awdV90EI63j6XrL39cKJ/ILa6+HHfKMosapw04j9xmjLUI948bVCDB+bBaS5gG3Hsa3JhIV4p/ZrsB9Tk= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by VI0PR83MB0624.EURPRD83.prod.outlook.com (2603:10a6:800:211::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.3; Mon, 4 Mar 2024 17:24:10 +0000 Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5]) by VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5%7]) with mapi id 15.20.7386.002; Mon, 4 Mar 2024 17:24:10 +0000 From: Evgeny Karpov To: "gcc-patches@gcc.gnu.org" CC: "richard.sandiford@arm.com" , "Richard Earnshaw (lists)" , "Andrew Pinski (QUIC)" , Maxim Kuvyrkov , Radek Barton Subject: [PATCH v2 00/13] Add aarch64-w64-mingw32 target Thread-Topic: [PATCH v2 00/13] Add aarch64-w64-mingw32 target Thread-Index: AdpuVu2V9k72/kiQT/WLFgBSzdzhIg== Date: Mon, 4 Mar 2024 17:24:10 +0000 Message-ID: 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=804f8e78-f263-4809-bbd5-d515c5934d44;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-03-04T17:10:26Z;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_|VI0PR83MB0624:EE_ x-ms-office365-filtering-correlation-id: 90b3ac5c-b29c-4e00-eb3a-08dc3c6fe7b4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qxmO4MXeJbEwvfBpJ2GXdb0mwkGAqXNABdimuf6QyX4GE3MmTKMTfGo+HOnqcuGEUeWrQH9qf49sM0W3+WY6ylqb2ZIywugMadWBuP6bMGX4ojRc3czahIVJ/d6nTt6oqK0DBgy5kyOldhQvyM6V+IKhbTcsRkMgkxhyfmsR/U1lsRdI0cLRpLPahYN1SScmk80b4SDx68qTx0mcBi2uk2PRpfYxq++iSBXEMg798Gl8sAxZywjNKWmObnoAaFOR42zNwoW/nFnb2HPgA3J1b5Pv6HkfoiyVUwmXh3DUD4BMaPcb/LDWixerPA3r89GlrlZEOpa0LFtdxaP38Sr/XOpTaZbkfoYEIWVJKg/9cl4euG0KCJ/NBBy8uPhuJGxHfKlDaMGyqXSt94KDHPKJh45YiFeMhtu/PdXFCYERJ7qVFn5r6OKh1CgB1TYiO87bog619sOQtWAu1D0eJqvKxeuSM7/2DfUTtZjhAMP28aGzNkyBC11wxjCJ33vDznK9PHrsc25K6HpzIRWPuXPUue50VsMItrj5uqPUnJiIAi2uRKlauYSjTYJ1PRt/zOe7uivnzoGWk1q+ODvGvbiIX4ZJB4q1uN1QYnS5bNboyXl5ayezrOY/b72sI6miYlD7X2FUf4poRhbtq4eEjBeCZqScqeOgCDTb2jBuxLSJrSs= 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)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+gbrnddtuTeSw6iY0KJnQRyg46DnYXJmk8ghLqSbIemLrPYM8ABq4vnberio?= =?us-ascii?Q?VG3qUYQK5D9xV/QtwD50XTVL+tUrjhG4IgvzvNESqf0j4Tsb+kqEmhU5NcMy?= =?us-ascii?Q?9qGyI6/yd2N2XqMp1ocMSqFnRibaJPFZvJpaDWxd1YcKEG+yHnCxJWP0bwmF?= =?us-ascii?Q?yap0QHTOH9qrU+fwEuKBkV70+GHRMYQJS01NuZQlEa2Qvfnj2XAm8uEobRCq?= =?us-ascii?Q?ec7n2Evwh3HySWVA9nrZ93HI3winBPC7T8ACmmFVXA6M7ZVgjLOhSFEnzvKy?= =?us-ascii?Q?OZVfMfNmho+fxjCAhWD/OQrxZQgeYRd+/cBWUvtn1QyheJkX/nmWDEOVYZPN?= =?us-ascii?Q?6pTYp5eF7u7RQCIh2Xa7PeAgSRhKrs0UJO4GLKqYIs1t66OHe5qBVYutJs1o?= =?us-ascii?Q?oPTcaDbjl0/H4/WnIJay7JWjC+VKRXQRW33C19g1LuTdjALY04ucoOVy6jKG?= =?us-ascii?Q?tixNJI2nuO0vfcjuqnvnI5StlD/nHPzV5kDRzY/aTjIqncITKh+WkicSe41q?= =?us-ascii?Q?N4AjJiG8JdM+ZMeEiD7ZSB9RlTVZ/0+w6ph4uCETIx/WCOemjx1ML3wmfIfe?= =?us-ascii?Q?27s4aeLTjOA2x0H2LMktQkO9HtMv0jL3S6P00WuNMw3Iw0Zes3AhPm7PrM3q?= =?us-ascii?Q?zjCaBXrP0ols2JbaKQx1CyvcjXAIGwVGylVXYH/TiWBTwUjmM0ZeKA+PIFBg?= =?us-ascii?Q?9pMzFXFnSXlIM/+WHPtt5ZW6mzKapalEcesEqw96dwT78AMlbfmzzuqWSEll?= =?us-ascii?Q?p1T8UK90aP4oi5os+vJEjGM7//RJpkcNZzEpONPl6tKzUmorGydv3Cmb0gpy?= =?us-ascii?Q?qZUd2JKeU0B08lN9jpoFPVRFrTyWxRah+TgtOOKiOwGQEE88JIchn7qk8r88?= =?us-ascii?Q?O1W4UbbHP/AB/Q3E0SUsagbCsSWBv4Q+AIRJthElvlxVIcRJUYnLcUv+5ny1?= =?us-ascii?Q?42bVzuAxGN+BuyNnlJPfyoVR8a863KhfdjllivyPmk+4PHogi8hCvF7IQEcS?= =?us-ascii?Q?GFeHCoRibLw2LblmyTvruIDZx4BL37MeTgrqGZWwtQogJYWQwjy7YuT9NB15?= =?us-ascii?Q?BRLOE/0n2ZlVu0Rxye2IcJsK7XQ7l1Ic02R81kuE2rjU9r1VO8Epz+SSQkPh?= =?us-ascii?Q?CJarg5x8YpbzrEkmG1k7tSLmbzb7/NwG16I5M91gU3pjkiAUeyCzrbr6IPx2?= =?us-ascii?Q?mQ/PtM4HqaBFsmOoMUF5O4p6H2O6hiroIEkpNKM7DtSLXfabGoKpNwH+ACIk?= =?us-ascii?Q?4hPWT/Iov+54pbwdCsvsZz2NKdrjB2/3cGo3/8DrTd7YZ0ZK+/3D/M1FNNSE?= =?us-ascii?Q?XTSAj1jMOL8gFIGTfgL0kCIo+o3X4z5BVMwUezeRaz2GLnW0hShUxrRBeShl?= =?us-ascii?Q?m9RxNT3UNJ+StyY1fTnBYIZ9nf5ZMu0ra1DGNoIRp4AxKW/gFWzgomlMYdeD?= =?us-ascii?Q?FKHDx1J24LuxXur0JsBB76W/dXzlXqM/2H6gDtmafGANUFa1MDFcCg/hLwCZ?= =?us-ascii?Q?PqMIwyEkMddT4S0zqhk/zwKUpaunvUNRilSVajHw1eIFgNatyHPiBJZU+em7?= =?us-ascii?Q?HWRXf8aLF7lbTkf0EDmSkSQgnFZ6BsPOKXWx7ySi?= 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: 90b3ac5c-b29c-4e00-eb3a-08dc3c6fe7b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:24:10.5612 (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: CG2e4u3vxOdZgg8d13XbwafuTu71jkDwGurP9/FixodakgxRjpkwn9ToQL15PplHva2hNoJSvp0cQB/W5zb9zQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR83MB0624 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello, v2 is ready for the review! Based on the v1 review: https://gcc.gnu.org/pipermail/gcc-patches/2024-Febr= uary/thread.html#646203 Testing for the x86_64-w64-mingw32 target is in progress to avoid regression due to refactoring. Regards, Evgeny Changes from v1 to v2: Adjust the target name to aarch64-*-mingw* to exclude the big-endian target from support. Exclude 64-bit ISA. Rename enum calling_abi to aarch64_calling_abi. Move AArch64 MS ABI definitions FIXED_REGISTERS, CALL_REALLY_USED_REGISTERS, and STATIC_CHAIN_REGNUM from aarch64.h=20 to aarch64-abi-ms.h. Rename TARGET_ARM64_MS_ABI to TARGET_AARCH64_MS_ABI. Exclude TARGET_64BIT from the aarch64 target. Exclude HAVE_GAS_WEAK. Set HAVE_GAS_ALIGNED_COMM to 1 by default. Use a reference from "x86 Windows Options" to=20 "Cygwin and MinGW Options". Update commit descriptions to follow standard style. Rebase from 4th March 2024.