| Message ID | patch-19214-tamar@arm.com |
|---|---|
| State | Committed |
| 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 0CE633858410
for <patchwork@sourceware.org>; Mon, 10 Feb 2025 09:53:45 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CE633858410
Authentication-Results: sourceware.org;
dkim=pass (1024-bit key,
unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256
header.s=selector1 header.b=XK98oW/L;
dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com
header.a=rsa-sha256 header.s=selector1 header.b=XK98oW/L
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from EUR02-AM0-obe.outbound.protection.outlook.com
(mail-am0eur02on2062f.outbound.protection.outlook.com
[IPv6:2a01:111:f403:2606::62f])
by sourceware.org (Postfix) with ESMTPS id 4DF493858D26;
Mon, 10 Feb 2025 09:52:44 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4DF493858D26
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 4DF493858D26
Authentication-Results: server2.sourceware.org;
arc=pass smtp.remote-ip=2a01:111:f403:2606::62f
ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1739181164; cv=pass;
b=vw2hnz0VZZBTHOCUPnf2gpZgNSjXGE7F/hvAHuzDXMH/uiBTknUv1WIw2v5YXlZktoRXmltOOdYBOZ0YHA4iKWhhTSB87fDRRglcv+7QNLwVTK4tcGaqkve8WTsxCOKT+aCTrw4KK3XSN8/hAl4TtO0NxeWSLoogLoBmzGg/hF4=
ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key;
t=1739181164; c=relaxed/simple;
bh=z22fdFtPCjklH35hgzApgxbU7Tatz7LYUeRaKKkjhHk=;
h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID:
MIME-Version;
b=MoATRYjC1X+FcOOIIT5gZD9HRjBNiA3NFHN7RyaRkZdrTFz+gRtIk3Lrkbb8I/CGxXXeHeLPgXKtAgJunp7KdeJ8aE57t1b4ufqPAmu+hYxdz5gpDogCQW4iegKLnbwvs0+zNMaugNwuTGPpsbfVEq90JgIEQLMW2sHUydEoDRU=
ARC-Authentication-Results: i=3; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DF493858D26
ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass;
b=Gy2SU8S0BJhN08D0EPyqGVC1JgJ1dDsDVpYHVJn2jPv8BIzlCJ3px6wggWJ+H7sZs3TaCyLWH9/6sKUGBub9F42PmdFlHvhJDjyLG9oNonyEXyi82bg0ryURYDqBqTfjkZOdHd8a3r7OEcUNEsCRW2365eorLTy7133LTwyND7kL6FKIe9vQGWUJolgyYJgko3qXeKm/jLbtZmV/6FBtJ5bChA4W+3dyBrCzX4bFggv3TIxEC6YH3xvOulkkrc0AaPG7I7OryeI3x88ggM+nuCdGCYq+Or/iVhPlHWZBDJ9J4TxqpfCHlWSYjHAwlfmVJFrC4DxKONpWUyg1Mqej7Q==
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=gEbZELl93LPvmZf0ViVpa3206mJtd7M71Bs1dCnvQHw=;
b=v7EVxfgXU3SlNnPNbr4Im21XiVVig5pKuM0xeEM9dDJF4Z5tM0hn7CgC5ne/7ISHpQMM+9zbfUhmt+tkf/iA0zQWZPe2maLgU7xV9Cn+WqZ9tKqrRmk7fLOhSb+x2s0StquNVUE3fmrCB2h8iQFXmLOByYbMAOo4JsWEKloYfaYEQ870MCAtn2YKI/d4TLS1JjgAvGgMUGLUmhNyuLiWFOw1uEzhIjQfqxc7ZREe1n8Bssed0Du/s/n27jufLD3q+BEralcLCDEflxT4OWaGrfN4jqe8Bgg0UfcPa1vkQoY6fjFO2t7Q1SRC4FRL2D/fhXIft4l/1st3OkMJXKvLHw==
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=gEbZELl93LPvmZf0ViVpa3206mJtd7M71Bs1dCnvQHw=;
b=XK98oW/LdB+eNrSoelDQ/euHEon8Cwncn7a2RQGvmrHkRCKn4VRQk5bvpkEpa3cTfskqPos+vFU052rp77CtbvxzmVbSOM0UmJvAHrUEsLfWRkqiiDkzvagmtNg/peEIqugZR8nY9R9iH0qb8noiIJtXvj3Ts/F7fd65/pnuVNM=
Received: from DB8PR09CA0025.eurprd09.prod.outlook.com (2603:10a6:10:a0::38)
by DU0PR08MB7924.eurprd08.prod.outlook.com (2603:10a6:10:3cb::13) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8422.18; Mon, 10 Feb
2025 09:52:35 +0000
Received: from DB1PEPF000509E2.eurprd03.prod.outlook.com
(2603:10a6:10:a0:cafe::ca) by DB8PR09CA0025.outlook.office365.com
(2603:10a6:10:a0::38) with Microsoft SMTP Server (version=TLS1_3,
cipher=TLS_AES_256_GCM_SHA384) id 15.20.8398.31 via Frontend Transport; Mon,
10 Feb 2025 09:52:35 +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
DB1PEPF000509E2.mail.protection.outlook.com (10.167.242.52) with
Microsoft
SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8445.10
via Frontend Transport; Mon, 10 Feb 2025 09:52:33 +0000
Received: ("Tessian outbound 31e949b9df6b:v567");
Mon, 10 Feb 2025 09:52:33 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 4ca07e5738dbd9a7
X-TessianGatewayMetadata:
sLX8jtd4vCB04rQ/fNJtiKqt5WxjjTlesiwGqmhatRN50Uv2mytVkrdbniWtSjYMeljlDyleOC5z7R8sCqbN1Zb7cfK3T2KAv21S1B05oCcbGVR3qiFSTxrM4l7wzsgZvGgM4bNhED6R7mVrMlmCuA==
X-CR-MTA-TID: 64aa7808
Received: from L4ffc4d884d08.1
by 64aa7808-outbound-1.mta.getcheckrecipient.com id
E5978F0F-EB41-41DF-A851-4A59BAE61DEB.1;
Mon, 10 Feb 2025 09:52:26 +0000
Received: from EUR05-DB8-obe.outbound.protection.outlook.com
by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id
L4ffc4d884d08.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
Mon, 10 Feb 2025 09:52:26 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
b=xLD4HxWkTrpi8GPI4LN5J+brOQ4pXrOsro4U8oXBbiHrOGLc8TH0BqHSy6gsuq1WZZJSqGX5bfePc9GH+WznNi3QowL6nBx/pKV8wD8RvGOyO+axVX9imD1Uh3xRtyaDpwm2XAZVbf0SuxJaqm0tA2Rj1SoCM6KAip0RDS/g+StpiTP9bQVOldiSKJLe9GTc/NaM6eUJHk5QXKT1t//eTMUMCwO0Z/BVpOi52ztEQuOiwhsS0kZRVbn8YJ4Y9AtcoSHOwVBfoYL6TKN0z1f3pKySfwYDBsEJ9v4oO+bKBQi1bCxxK8+c3duLQgwBlV8eTDbyAJ8YI8MllSWexwU8QA==
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=gEbZELl93LPvmZf0ViVpa3206mJtd7M71Bs1dCnvQHw=;
b=a0si5kpd7bGtgavCy97mGnBMUekrPn8xii6ZIbX4Z9W7521THetShPhczwGe1C1Y+xpzeJ4FCqex9su7zl5k6Su514ML+FGtYMr44+5x0rZVYW/BlMutuS4cCobsuGkaQ+Mk4eTeLvqg7bUGqzpGcg4s05mWnfwEPL4amLnYSda+Z3iOlguAO7KBv+IKVT1mFf0EdwRuZPMYuUp4JBdpsHuG1Ojms11wbI5MCA8oq6jsS222EfkfWQBFzS/bEyjNFEYai608ZTsRyrBGIfkQv9hPQJRnSmYQJLos386/n8m3suouiNfiuKLzDR9bYd+Fl0eg9yd4Rm5ULoB1kNSW1Q==
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=gEbZELl93LPvmZf0ViVpa3206mJtd7M71Bs1dCnvQHw=;
b=XK98oW/LdB+eNrSoelDQ/euHEon8Cwncn7a2RQGvmrHkRCKn4VRQk5bvpkEpa3cTfskqPos+vFU052rp77CtbvxzmVbSOM0UmJvAHrUEsLfWRkqiiDkzvagmtNg/peEIqugZR8nY9R9iH0qb8noiIJtXvj3Ts/F7fd65/pnuVNM=
Authentication-Results-Original: dkim=none (message not signed)
header.d=none;dmarc=none action=none header.from=arm.com;
Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17)
by AS8PR08MB9790.eurprd08.prod.outlook.com (2603:10a6:20b:615::21)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8422.18; Mon, 10 Feb
2025 09:52:23 +0000
Received: from VI1PR08MB5325.eurprd08.prod.outlook.com
([fe80::89dc:c731:362b:7c69]) by VI1PR08MB5325.eurprd08.prod.outlook.com
([fe80::89dc:c731:362b:7c69%3]) with mapi id 15.20.8422.015; Mon, 10 Feb 2025
09:52:23 +0000
Date: Mon, 10 Feb 2025 09:52:21 +0000
From: Tamar Christina <tamar.christina@arm.com>
To: gcc-patches@gcc.gnu.org
Cc: nd@arm.com, Richard.Earnshaw@arm.com, ktkachov@gcc.gnu.org,
richard.sandiford@arm.com
Subject: [PATCH]AArch64: Fix GCC 13 backport of big.Little CPU detection
[PR118800]
Message-ID: <patch-19214-tamar@arm.com>
Content-Type: multipart/mixed; boundary="BqX6gfWTkROBj2sQ"
Content-Disposition: inline
X-ClientProxiedBy: LO2P265CA0074.GBRP265.PROD.OUTLOOK.COM
(2603:10a6:600:8::14) To VI1PR08MB5325.eurprd08.prod.outlook.com
(2603:10a6:803:13e::17)
MIME-Version: 1.0
X-MS-TrafficTypeDiagnostic:
VI1PR08MB5325:EE_|AS8PR08MB9790:EE_|DB1PEPF000509E2:EE_|DU0PR08MB7924:EE_
X-MS-Office365-Filtering-Correlation-Id: 3423cd48-be6c-40ac-5ce2-08dd49b8a45a
x-checkrecipientrouted: true
NoDisclaimer: true
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
ARA:13230040|376014|366016|1800799024|4053099003;
X-Microsoft-Antispam-Message-Info-Original:
miwhNNQXGLkHoGfFAG+TQhh92c8hmdnwVNQ0M1FSv1dkPlxuZnOV8R6D/ndgCW0oJ64yDDu+eSLjWKu41dJtTorlRm81bIui7z13fiWvSFkp+8WDXbLAOXkxvQs0SFP4RGIyhdOhLfhkLFWJc8nau9m4YpVZUivMGMcT6cNbYi3B7rX27WKKz3abZs4MpDWpX+Hmaf4KBXPp4OgIUX/tm6kOLaoeDa0d4FJFd+AyMj1T3roesoWjeSnJnTQlzCd2m7qhMTpTGwdm1XrHB88k1j3HoJ29og1mNTe+khSvlzhbDDIV0o1KDjFze8U5AFPcNuz8fhEtdFM8ufdBk5TeAbnN8LQi9Uez9xhpEJTFMptStmyeAXL9B9ROTkLJ5je08/dWhKREYJkzUaqXlFxyOgrJ4O/lj8BIEY14kI5pNv6f3qOMhzGmA5kv4rqVW4jBk4GVYzqh9k4SiXD+naigmsw7wYqJ2h50GTP4outa5wExYB9OcjSRqyjY+6P30+kNwGC0cVZo544s5BAWfYrvNTetrlnVU6H2lrJOxGEoDEoBGaabG6m6jUb7U+iMZ9ppyQN0s9XWLZdsKr9iQUqpWoKLqB81unUvsjcXJ+1UfIiUwWO0W8fF5Toyeje7vs+Uirkr9cxV4XdqZt1HvWFHoELdMkjyk8kV6XcSLFY77ut/HBzByznzGtzPnUYN1llY8nBrDLYnD0rMTTJpzzHF1BP+wNKQjiYRjn/RhGs6EmmevyErAqKkFUJs0/U/O0FOlxUdhwURRRenEw4tFX/5G1I3TqjsoveuyNUpM54FqPVuLIIHOvJZkG20sF7G930GladFz+JKLXy4i9/OPyaFCL0n3oO7yTLdJprPd/w4khDLHI4Ci26LG6KbfFQXi4XMjcx8DVw7oI3HTRE65jy/90RfbVZuhtjQKYpO0QVEC66KdvLvBHczMpK/mU1nK3hoH+XGAZios5zZaKgwlUMirZmBDZSZ86XX7SFiOTJD6E30bOGGumgLAcWKpJQdXRwhHtHxlZgTstCexffFHk2jv7d5c+/sObfrOljflDS32CsjZB1Qf10Ig+1iqGiUwPXC3e2MrOfhkK9wxN9vCZstSUz1DWCME2DqWd625Z5abLYkfsq77d481oZ9fZoqQ9mJwde6RDAU/nkZf0uBxuiaQWwwj7ZIBHR50wYCx8EvB2uMZEm1J5l4h+NL+QcvoNQEcbwiOp8KFKdCiLV31SBLpqCbelGdnfNHX+X1kGBORYY51CtAt+4KKjE/O5QEdshr3R+9D5bcyPblMLaP/ByeGlJ3CyCdaDo4g92LJQ435HJTSBlbPOc2urSRk3wmwAhtdAMBo3Xukyqm+j41k5LbAw==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en;
SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com;
PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(4053099003);
DIR:OUT; SFP:1101;
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9790
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:803:13e::17];
domain=VI1PR08MB5325.eurprd08.prod.outlook.com
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
DB1PEPF000509E2.eurprd03.prod.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs:
59131406-fb68-434d-5de1-08dd49b89e59
X-Microsoft-Antispam: BCL:0;
ARA:13230040|376014|36860700013|82310400026|35042699022|1800799024|14060799003|4053099003;
X-Microsoft-Antispam-Message-Info: =?utf-8?q?ioY4C/cIfHQiFocaGKAE8nJFJxaRaBq?=
=?utf-8?q?9ZcO9OhwJofH78tL67sJesqL/Kd/EpuctAkOjNyi1NW7XqxLHZ/eeP80uaxo/hkjg?=
=?utf-8?q?O6UhRGpIt2FgKgkg0S0VWWRQG4nR2ZjKvfriM3VPHI0b9DokxSIZ0/zZ5zLhQCuwl?=
=?utf-8?q?Ipl3dULkc5cwHna6Lz50UPe1Zx83wK3W7FTpNj6PHwyvYKL/UJbIZj+Lnw/iulYg9?=
=?utf-8?q?MP72+XdXc86LquHCT5+KYvTD//OQG/iIqO/H5NpgHiCghoANojmT+z5iQ16bGBvvK?=
=?utf-8?q?gSAyxPt1YVHmTohQgbWKTuOHGRKyBG3dxxJYJNBzQzY2tkY7YRrEbEr4b54KWvCVt?=
=?utf-8?q?N1vwhoHR5DverIDCEq1srvbELK1A3feEJaDdSoMqBSanK1GHkK67EMDC/fntGfwX7?=
=?utf-8?q?QW2RjEjVqZ3nV9Bp1jM3gfgqcLrRJNxbMqLNExH9pkBXheWiSVSHPZ3g7ZjL+IBfC?=
=?utf-8?q?JgF0erg+kB0oO26ONmfB+2szGJw/7T02rYnnPh95De3EWfu2i2HlupMLpzQhc0b9Z?=
=?utf-8?q?Iw3RVNW7029hqwBiLPaVuh4twLX+l5PNV0+mHlpIOo74utRYPB+jQWwJ4l1nqv5IZ?=
=?utf-8?q?KD3TlyobDCcsiAa4hQ/OVUviIBXiBVV73kQtutkS+2qFxRD4c7oQcd0Fy9eoqCXCY?=
=?utf-8?q?7ojig0C1YJX19VYhQemrevZXLS1RVvZFId1yVxVSQbqdTBK7U6NTcZlyTMmRJ1BLl?=
=?utf-8?q?HdrWKFpKxAocixje1AxjoPxgILzXCP75cv0BJDYdsThV9aPCWjr+qG1axGXhntBhW?=
=?utf-8?q?zo5JAz0qY93qfROYeY11qwkMcgK4VexZNAaZuOm312/cBlR1YBQWLFvizFxMV9dLN?=
=?utf-8?q?8j+eeaa7ES70kH0jrOUvnkV6p/hyRGhL1OzF5JMmggzzU5Gy+Vjw3ossLIsikE6eW?=
=?utf-8?q?zUd4GHcTu5FXdyrPj/EK53vjXKplMTqK0QKNfd5yeOlqM9lBMdOF6Uuhd8Jm+e4hq?=
=?utf-8?q?sa6Hslik49DOstydLj9OS9233sgpUlBVoKUmrq9KouEiCaeHiwhLT7zvTN0rVtbe3?=
=?utf-8?q?1bcijZQKTWVtIfnqfTQOsxax6+0p3QdvAxBDYmSvUuY8SDFsD/aJkI1tpPWfZi3Gi?=
=?utf-8?q?EIAa/zib2+YDuCrnSlh//KWQ5cDJS0EP1EC8V7zBMI/02n6daWoiHeMcRO47oKft6?=
=?utf-8?q?4XyzMHVondNo3q3bv8TibJ/Fc7Sx9kgmDkUZOek0WbPLUDbuiW/7vm8HoBuwOx5W/?=
=?utf-8?q?UAk2voQwDzL61uOSkWTKPhpdI77JJ86z8xzVOcRBeLT2jm2vTWDKgK8koyHttvH2g?=
=?utf-8?q?fNTIYCR8/gECaw2gBTIRx761JgQzv/M4NqFEjUDcV35qpuzCaWPtQeJe3bOioQceY?=
=?utf-8?q?z2kHhBIc642NUfrhHEOM6OAG/iw9pX/F3tdxWBnkGtKUEHhhF9QF+z47Qo/QhgG2H?=
=?utf-8?q?PxehpKxR8JL?=
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:64aa7808-outbound-1.mta.getcheckrecipient.com; CAT:NONE;
SFS:(13230040)(376014)(36860700013)(82310400026)(35042699022)(1800799024)(14060799003)(4053099003);
DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2025 09:52:33.6361 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id:
3423cd48-be6c-40ac-5ce2-08dd49b8a45a
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:
DB1PEPF000509E2.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7924
X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0,
KAM_LOTSOFHASH, KAM_SHORT, 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 <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>
Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org
|
| Series |
AArch64: Fix GCC 13 backport of big.Little CPU detection [PR118800]
|
|
Checks
| Context | Check | Description |
|---|---|---|
| linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | success | Build passed |
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-aarch64-bootstrap | success | Build passed |
| linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 | fail | Test failed |
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap | success | Build passed |
| linaro-tcwg-bot/tcwg_gcc_build--master-arm | success | Build passed |
| linaro-tcwg-bot/tcwg_gcc_check--master-arm | success | Test passed |
Commit Message
Tamar Christina
Feb. 10, 2025, 9:52 a.m. UTC
Hi All, It seems I ran regressions but forgot to check them last time `(*>?<*)? On the GCC-13 branch the backport caused a failure due to the branch not having generic-armv8-a and also it still treating the generic cpu special. This made it return NULL when trying to find the default CPU. In GCC 13 we still had multiple structures with the same information and in this case aarch64_cpu_data was missing the generic CPU which is in all_cores. This corrects it by using "generc" instead and also adding it to aarch64_cpu_data. Bootstrapped Regtested on aarch64-none-linux-gnu on GCC-13 branch and no issues. Ok for master? Thanks, Tamar gcc/ChangeLog: PR target/118800 * config/aarch64/driver-aarch64.cc (DEFAULT_CPU): Use generic instead of generic-armv8-a. (aarch64_cpu_data): Add generic. gcc/testsuite/ChangeLog: PR target/118800 * gcc.target/aarch64/cpunative/native_cpu_34.c: Update order. --- --
Comments
Tamar Christina <tamar.christina@arm.com> writes: > Hi All, > > It seems I ran regressions but forgot to check them last time `(*>?<*)? > > On the GCC-13 branch the backport caused a failure due to the branch not having > generic-armv8-a and also it still treating the generic cpu special. This made > it return NULL when trying to find the default CPU. > > In GCC 13 we still had multiple structures with the same information and in this > case aarch64_cpu_data was missing the generic CPU which is in all_cores. > > This corrects it by using "generc" instead and also adding it to > aarch64_cpu_data. > > Bootstrapped Regtested on aarch64-none-linux-gnu on GCC-13 branch and no issues. > > Ok for master? > > Thanks, > Tamar > > gcc/ChangeLog: > > PR target/118800 > * config/aarch64/driver-aarch64.cc (DEFAULT_CPU): Use generic instead of > generic-armv8-a. > (aarch64_cpu_data): Add generic. > > gcc/testsuite/ChangeLog: > > PR target/118800 > * gcc.target/aarch64/cpunative/native_cpu_34.c: Update order. OK, thanks. Reading this made me think that INVALID_IMP and INVALID_CORE might be better for the generic entries, rather than 0x0 and 0x0. But that applies to trunk and gcc-14 too, so isn't something to change here. Richard > > --- > > diff --git a/gcc/config/aarch64/driver-aarch64.cc b/gcc/config/aarch64/driver-aarch64.cc > index ff4660f469cd5caaaa899c981ee8181d1794fade..acc44536629e814a2aea0e4b21e327da3fa5d6ea 100644 > --- a/gcc/config/aarch64/driver-aarch64.cc > +++ b/gcc/config/aarch64/driver-aarch64.cc > @@ -60,7 +60,7 @@ struct aarch64_core_data > #define ALL_VARIANTS ((unsigned)-1) > /* Default architecture to use if -mcpu=native did not detect a known CPU. */ > #define DEFAULT_ARCH "8A" > -#define DEFAULT_CPU "generic-armv8-a" > +#define DEFAULT_CPU "generic" > > #define AARCH64_CORE(CORE_NAME, CORE_IDENT, SCHED, ARCH, FLAGS, COSTS, IMP, PART, VARIANT) \ > { CORE_NAME, #ARCH, IMP, PART, VARIANT, feature_deps::cpu_##CORE_IDENT }, > @@ -68,6 +68,7 @@ struct aarch64_core_data > static CONSTEXPR const aarch64_core_data aarch64_cpu_data[] = > { > #include "aarch64-cores.def" > + { "generic", "armv8-a", 0, 0, ALL_VARIANTS, 0}, > { NULL, NULL, INVALID_IMP, INVALID_CORE, ALL_VARIANTS, 0 } > }; > > diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c > index 168140002a0f0205c0f552de0cce9b2d356e09e2..d2ff8156d8fc14fcc14ddd91f43f0b0fea15cc7b 100644 > --- a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c > +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c > @@ -7,6 +7,6 @@ int main() > return 0; > } > > -/* { dg-final { scan-assembler {\.arch armv8-a\+dotprod\+crc\+crypto\+sve2\n} } } */ > +/* { dg-final { scan-assembler {\.arch armv8-a\+crc\+dotprod\+crypto\+sve2\n} } } */ > > /* Test a normal looking procinfo. */
diff --git a/gcc/config/aarch64/driver-aarch64.cc b/gcc/config/aarch64/driver-aarch64.cc index ff4660f469cd5caaaa899c981ee8181d1794fade..acc44536629e814a2aea0e4b21e327da3fa5d6ea 100644 --- a/gcc/config/aarch64/driver-aarch64.cc +++ b/gcc/config/aarch64/driver-aarch64.cc @@ -60,7 +60,7 @@ struct aarch64_core_data #define ALL_VARIANTS ((unsigned)-1) /* Default architecture to use if -mcpu=native did not detect a known CPU. */ #define DEFAULT_ARCH "8A" -#define DEFAULT_CPU "generic-armv8-a" +#define DEFAULT_CPU "generic" #define AARCH64_CORE(CORE_NAME, CORE_IDENT, SCHED, ARCH, FLAGS, COSTS, IMP, PART, VARIANT) \ { CORE_NAME, #ARCH, IMP, PART, VARIANT, feature_deps::cpu_##CORE_IDENT }, @@ -68,6 +68,7 @@ struct aarch64_core_data static CONSTEXPR const aarch64_core_data aarch64_cpu_data[] = { #include "aarch64-cores.def" + { "generic", "armv8-a", 0, 0, ALL_VARIANTS, 0}, { NULL, NULL, INVALID_IMP, INVALID_CORE, ALL_VARIANTS, 0 } }; diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c index 168140002a0f0205c0f552de0cce9b2d356e09e2..d2ff8156d8fc14fcc14ddd91f43f0b0fea15cc7b 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_34.c @@ -7,6 +7,6 @@ int main() return 0; } -/* { dg-final { scan-assembler {\.arch armv8-a\+dotprod\+crc\+crypto\+sve2\n} } } */ +/* { dg-final { scan-assembler {\.arch armv8-a\+crc\+dotprod\+crypto\+sve2\n} } } */ /* Test a normal looking procinfo. */