| Message ID | 20261008163139.274892-1-artemiy.volkov@arm.com |
|---|---|
| State | New |
| Delegated to: | Tamar Christina |
| 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 vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 80A834BA2E08 for <patchwork@sourceware.org>; Thu, 8 Oct 2026 16:33:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80A834BA2E08 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=GwVjQ5N/; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=GwVjQ5N/ X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazlp170120005.outbound.protection.outlook.com [IPv6:2a01:111:f403:c200::5]) by sourceware.org (Postfix) with ESMTPS id 965984BA543C for <gcc-patches@gcc.gnu.org>; Thu, 8 Oct 2026 16:32:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 965984BA543C 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 965984BA543C Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c200::5 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1791477149; cv=pass; b=MaStlXF8RB1Vj+baRcDvhPahyf3Bish4rBy71BOkgUFSrvRD0ydIJptJrn6tcVdQ/cu5RCQYULpk077kM0ojRZZyqdw60ADjB5JIH3ZVMKlniiCkDNyqn3J2XMD79Ih3eNYsTQdw8JqLJc7Cix34P83Iz05v1o3/9Q/h/ubPHT0= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1791477149; c=relaxed/simple; bh=142RMtJWi6ol0xmDCTqEOxzIiWqNDdiKIgWzTsdpW0g=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=r7qujkUylSMijPzog6b1vq9AeO7CdkzVDdRCreSh3ViEB5/KnxgJPMbOhyNWHkZbe2IKxb1htsVa0fBwZH+1x9lJGL9X1tIvZDN5nGeRP1NYqDEXOFgcMzdk2XXJJT/+bu7ebFjHE14j6uwYHM8eJzeYfShpAUkpKwAVIqcFuRk= ARC-Authentication-Results: i=3; 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=GwVjQ5N/; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=GwVjQ5N/ DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 965984BA543C ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=wyb9nAPCFMHd9y4KegHu+BEOGzLhpKxZlzYvuE6Q0G7U6iyVr9Tn2VBHL1GvZ+Lcff+BhYcP+kU7cxgRolfywoGx7qydSJsFwd1OMx2mFQrx2Fl50vA3bEPVEXRSRgWMyldU1lK3Sio5evHCk2iwAWniGLDZwN5DND1VabZfRzOYQfVatXArbyFThXcrlS8xFQ/QoqDfDx+iB9qRs5eX5Xk2Dn6JVDx9Tcf4OHDrxWiAoWvi9bI8DsyNxpDMxPq/r5Dt8QUTSPc3jjLNEhMxvjUK6Tp+Wb3FVaOjdHwZoGfiZ88b9bpa9i4XHhlfXNq5qzhSgl4/shR91RavH3r/ww== 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=Lp6luM1/rbO1iv4xVKRRxBUfMti5koQEZfCb8ygRbrw=; b=aVsx3zO9IqZPP7PIgnepGt++3AlrEx50DaoP/UwhuOKmosJLDbvf8n5DxC5JIxMABj8jdQUE8dRDQs+lJZPx2R146X9GDqFCqptAw44LiT/PacV+ov4QbO9o6vjLXEHviQPwilXccvkNgRwiC13//iH96yoSWGYdkzT4a+glOW0VdlIzWUsEmrViCznN6NhMHkHNiVktUfvS5u68erTi/J7m9JW1H9IIEEhemr6gSfS1Hb/kqTItOldaHONpN1tqDkGm0UilVUHwO7K6riXBuIEdIgtWIy4vyCUrg/YGUfslYqG8kv0KdfyG5aBtgPdfwd4bj2PsjqEdTFscXblaJg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) 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] 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=Lp6luM1/rbO1iv4xVKRRxBUfMti5koQEZfCb8ygRbrw=; b=GwVjQ5N/7iCbhkVnm1EHaYSmIqJ+0ksVR1c6gr7VF+lWp2qIAX8gIUz2HjZPgGVWZbnrahXQcMVHwwvU0nYCDjgwviwMeAiww4/ZUUcbl2NBG3V6mv16eCVVDIO/QWWT1B0Ex+u9GBTYRP7NhurAzsteqV+TmVhp1loQtadqBS4= Received: from PAZP264CA0201.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:237::8) by PAXPR08MB6544.eurprd08.prod.outlook.com (2603:10a6:102:157::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.472.18; Thu, 8 Oct 2026 16:32:23 +0000 Received: from ZR1PEPF0000E6B6.eurprd07.prod.outlook.com (2603:10a6:102:237:cafe::7d) by PAZP264CA0201.outlook.office365.com (2603:10a6:102:237::8) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.496.5 via Frontend Transport; Thu, 8 Oct 2026 16:32:23 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 4.158.2.129) 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 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by ZR1PEPF0000E6B6.mail.protection.outlook.com (10.167.241.69) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.522.6 via Frontend Transport; Thu, 8 Oct 2026 16:32:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=L7JDVrnlBlla3AGNVlAs2ix+GX+dE0hibdhqD+fpuE3q97jVRMtuv9PXLAHymvROUiUd5LW4Flj95NT12juPkJJG6z9fDXIiULUh53SD66N0lWIUDa87/t2Ye1+M8yrgKimw31Z48EhRFHTaL3dqJENJgWpxL6kE1cSjEsofNGhnWrd4oICPe1TzXgIUKaZg3pfAV/gRKmRENnvwljdmyzX+vW9lGV3Q7XtdDSWvSdl1+lfHqIs/uZ2CLSv8X4Mr6gXhuGLdr4Pc9WbbkyfEjYtsKnWLHZ9IabjzfiNcjL2nbfy+5Z2jvw/09H85K7wCo+qRbjGf8IWn7CpdRVkxNA== 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=Lp6luM1/rbO1iv4xVKRRxBUfMti5koQEZfCb8ygRbrw=; b=usm2a0x3HnT091lXAKjTx9iA84L3tCp3jmUvFO+JNYpr2/6Ozp7EEX7XfpvlrOIyz1MrDoelhGYn+6RVHsnzGANUKupJsUYNPTo98otA2almOLP3GPfi9EQ+/MtK2zYh/wMJAoJ8UEf6tJM6Ma3lAOVqk1KdiZpVlSZVQiuCocfStofrVBrWfrx2s4ls5wWP8git3K87OI3YJhIHyUnPys0bMvFem4OVh6LsJJ/hl8jX9za2xQOw9XQ1wIhIXL2YhapRzBey/wlij0OOdknRmz2FhQttGX0zDHVY9uykM3oFn+nTq45wrKfEVbDTfrKNpX7IB7rsORT/emWtWtwUVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 172.205.89.229) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) 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=Lp6luM1/rbO1iv4xVKRRxBUfMti5koQEZfCb8ygRbrw=; b=GwVjQ5N/7iCbhkVnm1EHaYSmIqJ+0ksVR1c6gr7VF+lWp2qIAX8gIUz2HjZPgGVWZbnrahXQcMVHwwvU0nYCDjgwviwMeAiww4/ZUUcbl2NBG3V6mv16eCVVDIO/QWWT1B0Ex+u9GBTYRP7NhurAzsteqV+TmVhp1loQtadqBS4= Received: from DUZPR01CA0128.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bc::21) by MRWPR08MB11758.eurprd08.prod.outlook.com (2603:10a6:501:98::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.6; Thu, 8 Oct 2026 16:31:49 +0000 Received: from DB1PEPF000509EE.eurprd03.prod.outlook.com (2603:10a6:10:4bc:cafe::44) by DUZPR01CA0128.outlook.office365.com (2603:10a6:10:4bc::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.496.5 via Frontend Transport; Thu, 8 Oct 2026 16:31:49 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 172.205.89.229) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (172.205.89.229) by DB1PEPF000509EE.mail.protection.outlook.com (10.167.242.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.496.14 via Frontend Transport; Thu, 8 Oct 2026 16:31:49 +0000 Received: from AZ-NEU-EX03.Arm.com (10.240.25.137) by AZ-NEU-EX04.Arm.com (10.240.25.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Thu, 8 Oct 2026 16:31:48 +0000 Received: from ip-10-249-56-202.eu-west-1.compute.internal (10.249.56.202) by mail.arm.com (10.240.25.137) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Thu, 8 Oct 2026 16:31:48 +0000 From: Artemiy Volkov <artemiy.volkov@arm.com> To: <gcc-patches@gcc.gnu.org> CC: <tamar.christina@arm.com>, <wilco.dijkstra@arm.com>, <richard.earnshaw@arm.com>, Artemiy Volkov <artemiy.volkov@arm.com> Subject: [PATCH] aarch64: increase SVE structural memop costs for Neoverse-V2+ Date: Thu, 8 Oct 2026 16:31:11 +0000 Message-ID: <20261008163139.274892-1-artemiy.volkov@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DB1PEPF000509EE:EE_|MRWPR08MB11758:EE_|ZR1PEPF0000E6B6:EE_|PAXPR08MB6544:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b5be75f-b78b-41df-273f-08df2559baea x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|36860700016|1800799024|376014|23010399003|82310400026|56012099006|11063799006|10067099003|18002099003|13003099007; X-Microsoft-Antispam-Message-Info-Original: Kv6b0UVY0UnHIY9U9lJ7gXLFk4qWyznu5tT6ZDguWVILaq2hxl5DdyyY/dve8mJsX6RMnwbTbva6rzSd3YtVm99V8Ok2BHoNk+IquO0SFAMxQxUh7AO2yu/iAsHYxQ+mWQGi8iNgTEv2tDepyNGuqThNKJ3+BwxDzMNi+pWnrzIh0c2NtS6t+uLEjG9o5ktF4AxafQrP66z+Yyvq7VZ+d1965qPmiMeSbgUETV2vNzdrmjzA/VoKYFNr5QVImN4iZuEAsaXiT1BIMlDDsDSQORlEZACj6hOFcmv63j2XMa5xNOxhN/9trkkXqHSGO8FPJYfpDoukUG+YW+JZZiOKwurjUkbX1SgqGS9EI8jD+1mW7vhkQZuT4i7RVO+ss4cyfCF78O6xM+7y2lLy5AOkFg/eiQHznr8/FAOSoDw8QAo1dT+mNFtDbqj4kqn1NvIviZKg+j/XdbFa2pmpwhWOJzF4aQX6rU0gQXkMRk/LzKL261MAna7ResJtju2zXoYtqsuot4jAdmP49/8/afHf4FrTLk9YqX1A38k+c/qOJ1i+TO5+MqWL54T+8IgDVyt7cmZlyCfTgSDOGtN5jWTrCM9UqcTopU6kaItkfSObKU9bGpSAbcPyMJuB/8QXqMR4bZQ5uNCQ15ZM8pr3bvLWhtECiDqekJWUQUR7VAH1UwbCuf9MB4yFvsOHhySCZhPvGKnlJ7EBpJ3uE8+yH9ZPIA== X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(36860700016)(1800799024)(376014)(23010399003)(82310400026)(56012099006)(11063799006)(10067099003)(18002099003)(13003099007); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: HKD+jChudjxTWR4KboWWl5awElMtHA7INsT/56/9SHp+xK5tH1cj71/c7Tfl6ei3BOZA/C8K5DUfjWQxP2I0IZEIjOk2m34MjaelfYIR3BuOG7IZr/IpYg0baIklArDGmYfijiRKeBiCc8o3Tf81aBvUhoAjQHJYbcGngWkVWLEu27IGGbkMUt+KBhx9ascBMaH0k5Qyb7zlrPc+wcsYSG2bcCIs0gCkfSGuWmSZxfBatmjbsIn+HiTMK+oMD5zYwRS63m6wXujInhtjnT/9pw/uVNMzXySqHUFmMJA5/nqlcG6huTPHV7q9ztOPByyltET7wstlZZLzGK5oij86Cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MRWPR08MB11758 X-MS-Exchange-Transport-CrossTenantHeadersStripped: ZR1PEPF0000E6B6.eurprd07.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5f5908d5-f160-449c-4f92-08df2559a6e4 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|14060799003|376014|36860700016|23010399003|35042699022|82310400026|56012099006|11063799006|10067099003|18002099003|13003099007; X-Microsoft-Antispam-Message-Info: RioWM+GA00QdipdzrpSI1qhajGu1Bs+7w5Cf81qlFYc3KWWo0AwgZDiYdJFVwgR1ATq0Q2wyZ+G+pyLphDbhhRJPnLzz2+BE7CFNjbecKCZ98N310nVHEWJeFMmsubTnv2DlIRHpb2jvBD17dnLHv5N5SQuqjYfwkcvBGnSGTzehqfMQBAoV7509FKEXazg0/ESYos0cSXyzbZB7Giij6F8xYGd7QXZHIrcuqChCge3GncW+D0r9smUfjQ9KHo3Y07NjbEHdEai6CqPjM4n2xu/4tSDEGH+UU3fOeJDMuYSdoRSYiGEPJ6ZQTDAe3UI1glp32nSWH1mXz99CTcLowHrcS+5kW4Ql5A86bcQs4kCHxt+BajtXTVdvrPa9+dZK//k/EAMR24BFTpJnK84mBB0bGA1JI8bIVrWioKu6Izmt2pen+8MMQvAK6Vmrd8uXsRCwqTxw4b65pZKZ0FcyAyHNpR3NpQxDIixNOQa61I+3tq894jdt8P8WCG81S21QuX+OnZrNN/koNj1osahvRH5OFbM/ycymqgGcDv0/6OVechvl97fPVw0EoerUnqR/1YmHqayrVelOW8E8AF40zzLHvwOckRPgFs4OncaFa68YeO9zQN3/Za+AGxYI5IKk9Qi52T5Tb0tmV1K3eoAqdP9N1dw8Clgu7UfZ/x1f/yBud0tpVzQq9GLEPEia3V43BsVPHyxF4rjJIMJj3GCkrA== X-Forefront-Antispam-Report: CIP:4.158.2.129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(14060799003)(376014)(36860700016)(23010399003)(35042699022)(82310400026)(56012099006)(11063799006)(10067099003)(18002099003)(13003099007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IIPI7Q3tBAm0xF9eKz9DrzPvX2D3N8vUL4ebNo8RWMAEFC227ofNBbA9w9zpJMVxGL/lt38VuPl9VxWrJoPIvDUvEbEfcZDHByC7NzGALVy3+m1fVqkU4pDrLxAFWU6HVO5bvDLZ11ORj2I3lYGbZblHXCVzh9LW97ZHwPZKV00xDLt1KamdahYI9oh5/G226eczveyM43e7+6ODl/+c4ykdl/9EcJLXrKhgfX9bqY503iT9zAZ/oDb5KPPYxyUMbdUjoDysGTwHmZXyKogxNwv+xTanp4bV+XOcY0daNrk3uYM41d8uHEklnksgWYvx9/1T2AtUrkI2zxU65JcK7iQPfFAyqyRyGkqZwHyi2nxcjeglB47MP3MLqDlVFGCK4MpruHUZ5MGLuCTShIN//QWBolLm0mPT/dOUjYD4IvqTn25BKQRATRuDO94PF8aL X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2026 16:32:22.7434 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b5be75f-b78b-41df-273f-08df2559baea X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: ZR1PEPF0000E6B6.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6544 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GB_MSAUTHSOURCE_EUROPE, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on 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: increase SVE structural memop costs for Neoverse-V2+
|
|
Checks
| Context | Check | Description |
|---|---|---|
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap | success | Build passed |
| linaro-tcwg-bot/tcwg_gcc_build--master-arm | success | Build passed |
Commit Message
Artemiy Volkov
Oct. 8, 2026, 4:31 p.m. UTC
After r17-4605-g38370907dce41b which rectified costing for non-uniform
loads, the vectorizer started to prefer some SVE epilogues to AdvSIMD
ones, and this has led to performance degradations when ld4w/st4w's
are involved (see also the related change in r17-2685-gad8686f649cfec).
Reflect the fact that SVE structured loads have higher latency and much
lower throughput than AdvSIMD ones (11 vs 8 and 1/9 vs 1 for 4-component
structs on Neoverse-V2, according to [0]) by adjusting corresponding
fields in relevant tuning models.
This fully recovers the 736.ocio_r numbers (+9.8%).
Bootstrapped and regtested on aarch64-linux-gnu.
[0] https://support.arm.com/documentation/109898/0300/
gcc/ChangeLog:
* config/aarch64/tuning_models/neoversev2.h: Increase SVE structural
load/store costs.
* config/aarch64/tuning_models/neoversev3.h: Likewise.
* config/aarch64/tuning_models/neoversev3ae.h: Likewise.
---
gcc/config/aarch64/tuning_models/neoversev2.h | 6 +++---
gcc/config/aarch64/tuning_models/neoversev3.h | 6 +++---
gcc/config/aarch64/tuning_models/neoversev3ae.h | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
Comments
Hi Artemiy, > After r17-4605-g38370907dce41b which rectified costing for non-uniform > loads, the vectorizer started to prefer some SVE epilogues to AdvSIMD > ones, and this has led to performance degradations when ld4w/st4w's > are involved (see also the related change in r17-2685-gad8686f649cfec). > Reflect the fact that SVE structured loads have higher latency and much > lower throughput than AdvSIMD ones (11 vs 8 and 1/9 vs 1 for 4-component > structs on Neoverse-V2, according to [0]) by adjusting corresponding > fields in relevant tuning models. > > This fully recovers the 736.ocio_r numbers (+9.8%). LGTM, OK. Cheers, Wilco
> -----Original Message----- > From: Wilco Dijkstra <Wilco.Dijkstra@arm.com> > Sent: 22 October 2026 17:45 > To: Artemiy Volkov <Artemiy.Volkov@arm.com>; gcc-patches@gcc.gnu.org > Cc: Tamar Christina <Tamar.Christina@arm.com>; Richard Earnshaw > <Richard.Earnshaw@arm.com> > Subject: Re: [PATCH] aarch64: increase SVE structural memop costs for > Neoverse-V2+ > > Hi Artemiy, > > > After r17-4605-g38370907dce41b which rectified costing for non-uniform > > loads, the vectorizer started to prefer some SVE epilogues to AdvSIMD > > ones, and this has led to performance degradations when ld4w/st4w's > > are involved (see also the related change in r17-2685-gad8686f649cfec). > > Reflect the fact that SVE structured loads have higher latency and much > > lower throughput than AdvSIMD ones (11 vs 8 and 1/9 vs 1 for 4- > component > > structs on Neoverse-V2, according to [0]) by adjusting corresponding > > fields in relevant tuning models. > > > > This fully recovers the 736.ocio_r numbers (+9.8%). > > LGTM, OK. No, this isn't right. The cost as the field says measures the difference in *permute* costs of LDn instructions. It is not the latency of the LDn instruction but instead measures the additional costs of a LD1 vs the LDn. This because the vectorizer is asking us to make a choice between Load lanes and load + permute. So these numbers will increase the costs of LDn immensely to a value that's not reflected in the SWoG. You have something else going wrong here. Thanks, Tamar > > Cheers, > Wilco
> -----Original Message----- > From: Tamar Christina <Tamar.Christina@arm.com> > Sent: 22 October 2026 19:11 > To: Wilco Dijkstra <Wilco.Dijkstra@arm.com>; Artemiy Volkov > <Artemiy.Volkov@arm.com>; gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com> > Subject: RE: [PATCH] aarch64: increase SVE structural memop costs for > Neoverse-V2+ > > > > > -----Original Message----- > > From: Wilco Dijkstra <Wilco.Dijkstra@arm.com> > > Sent: 22 October 2026 17:45 > > To: Artemiy Volkov <Artemiy.Volkov@arm.com>; gcc-patches@gcc.gnu.org > > Cc: Tamar Christina <Tamar.Christina@arm.com>; Richard Earnshaw > > <Richard.Earnshaw@arm.com> > > Subject: Re: [PATCH] aarch64: increase SVE structural memop costs for > > Neoverse-V2+ > > > > Hi Artemiy, > > > > > After r17-4605-g38370907dce41b which rectified costing for non-uniform > > > loads, the vectorizer started to prefer some SVE epilogues to AdvSIMD > > > ones, and this has led to performance degradations when ld4w/st4w's > > > are involved (see also the related change in r17-2685-gad8686f649cfec). > > > Reflect the fact that SVE structured loads have higher latency and much > > > lower throughput than AdvSIMD ones (11 vs 8 and 1/9 vs 1 for 4- > > component > > > structs on Neoverse-V2, according to [0]) by adjusting corresponding > > > fields in relevant tuning models. > > > > > > This fully recovers the 736.ocio_r numbers (+9.8%). > > > > LGTM, OK. > > No, this isn't right. The cost as the field says measures the difference in > *permute* costs of LDn instructions. It is not the latency of the LDn instruction > but instead measures the additional costs of a LD1 vs the LDn. > > This because the vectorizer is asking us to make a choice between Load lanes > and load + permute. So these numbers will increase the costs of LDn > immensely > to a value that's not reflected in the SWoG. > > > You have something else going wrong here. You are likely hitting that the way *throughput* is calculated needs an update, there is an inconsistency in how we cost load_lanes and load_lanes with gaps. But due to a disagreement with Richard S on the calculations it hasn't been updated yet [1] [1] https://patchwork.ozlabs.org/project/gcc/patch/patch-20510-tamar@arm.com/#3687409 But the latency costs in the cost structures are correct. Thanks, Tamar > > Thanks, > Tamar > > > > Cheers, > > Wilco
diff --git a/gcc/config/aarch64/tuning_models/neoversev2.h b/gcc/config/aarch64/tuning_models/neoversev2.h index 73408977251..b70f5c787c1 100644 --- a/gcc/config/aarch64/tuning_models/neoversev2.h +++ b/gcc/config/aarch64/tuning_models/neoversev2.h @@ -70,9 +70,9 @@ static const sve_vec_cost neoversev2_sve_vector_cost = { 2, /* int_stmt_cost */ 2, /* fp_stmt_cost */ - 3, /* ld2_st2_permute_cost */ - 4, /* ld3_st3_permute_cost */ - 4, /* ld4_st4_permute_cost */ + 8, /* ld2_st2_permute_cost */ + 11, /* ld3_st3_permute_cost */ + 15, /* ld4_st4_permute_cost */ 2, /* permute_cost */ /* Theoretically, a reduction involving 15 scalar ADDs could complete in ~5 cycles and would have a cost of 15. [SU]ADDV diff --git a/gcc/config/aarch64/tuning_models/neoversev3.h b/gcc/config/aarch64/tuning_models/neoversev3.h index 7e0144032dc..d86d269aeee 100644 --- a/gcc/config/aarch64/tuning_models/neoversev3.h +++ b/gcc/config/aarch64/tuning_models/neoversev3.h @@ -68,9 +68,9 @@ static const sve_vec_cost neoversev3_sve_vector_cost = { 2, /* int_stmt_cost */ 2, /* fp_stmt_cost */ - 2, /* ld2_st2_permute_cost */ - 3, /* ld3_st3_permute_cost */ - 3, /* ld4_st4_permute_cost */ + 8, /* ld2_st2_permute_cost */ + 11, /* ld3_st3_permute_cost */ + 15, /* ld4_st4_permute_cost */ 2, /* permute_cost */ /* Theoretically, a reduction involving 15 scalar ADDs could complete in ~4 cycles and would have a cost of 15. [SU]ADDV diff --git a/gcc/config/aarch64/tuning_models/neoversev3ae.h b/gcc/config/aarch64/tuning_models/neoversev3ae.h index bbe4dc54701..cbb2927f045 100644 --- a/gcc/config/aarch64/tuning_models/neoversev3ae.h +++ b/gcc/config/aarch64/tuning_models/neoversev3ae.h @@ -68,9 +68,9 @@ static const sve_vec_cost neoversev3ae_sve_vector_cost = { 2, /* int_stmt_cost */ 2, /* fp_stmt_cost */ - 2, /* ld2_st2_permute_cost */ - 3, /* ld3_st3_permute_cost */ - 3, /* ld4_st4_permute_cost */ + 8, /* ld2_st2_permute_cost */ + 11, /* ld3_st3_permute_cost */ + 15, /* ld4_st4_permute_cost */ 2, /* permute_cost */ /* Theoretically, a reduction involving 15 scalar ADDs could complete in ~4 cycles and would have a cost of 15. [SU]ADDV