From patchwork Fri Jul 26 09:21:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1965226 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=b0B7nQN2; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=b0B7nQN2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4WVj2F0PsSz1yY5 for ; Fri, 26 Jul 2024 19:22:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 34E9B386C5B5 for ; Fri, 26 Jul 2024 09:22:11 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on20600.outbound.protection.outlook.com [IPv6:2a01:111:f403:2607::600]) by sourceware.org (Postfix) with ESMTPS id C722D387093D; Fri, 26 Jul 2024 09:21:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C722D387093D 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 C722D387093D Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2607::600 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1721985707; cv=pass; b=DjhZLW6MeNpnk/Qpc1yDXZUXIa60+RuK3dpHk6yQXxbfydVIyI5Rbr78/JmvwavVaHWhr7g75TgK937l1758+SW6lzrudCqNVyM1tuFXg19hbh+2Q0P555ISNVQfJjrueKlH3O1cZJP3P9//tcPtjXXNv69hGJotZ7aRz8NxqaI= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1721985707; c=relaxed/simple; bh=1g139DHe7wGOPKQsqVQBrrHgEekIWkNGWKPqqSXaJRo=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=dtabX17Tnq3aSWX8GjmS9ZPfu/ZjyJ+rrbyzLRQ1pJA2hp1QzzrwSvTg8J3DjabTIHEuC1bzKPZnmbQmD6nZedX2kUOmlPlLHypld8xWqR3atFHAZE1sXoZ4X4jDrm1WMc6rEIGVU5ZWpMviORrN+ilHb1dPFOhmXpiCuetz2Ew= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=C4H5JKeFnLp/+F+ZIzTqFKHaqRqVIsqVc1mFVtRJvcVrsP2gNVdqrkJUF8ndA5jJ9cA8mnZ6V+j7Id8TeGU0XoQ+mH+aZ1KJXNAULDeS3ZMP9Rg/HHmfai1yhADxnfQO7d23DT4ls5EuW3Zjlvqh2dbmc5IK5QWjqim6cgPusWzKATXWacrye2marLAUDAIzrPBefk291Zr9teAl0ya+vMJNL4VzXCIGv8JgN+9ar9GisRQOmRnzd9OTwl3m59L/rzPALbr7dZsfVD6yYFg9uSZFvPEPOcrzgiSZZhWikvVK79pV3xnisDwJDQecooG0go6DS4fcGWyuat+b8dusAA== 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=qsS1dlHpwUS/2in/6pftpexKiVT3vnTtbDUydlVdUiY=; b=VqZL9Wjpohv5m19ozOFebNkI7ZnN8U/imJLCHErMC78Y//6BjcalKtcEmx+4tWXy6BFfPy+E/1uNDGvhvtWlEduEh53UOWtOkqm4XNQfLCRphCTL07CYlgWt9QYmZxRPQNhg/qVZAvoMpcXZ8y8aw2tNvMxHgMthAkRVuwza0EDOkloT2f4nTE1qqNfvtt8Y1WsoHwSle4fYbIghVDBmJfW++JGY2tspRahOEi2t7eQtcgA7wbY9iLOfcDtD4fzJCQkIMLRQRTJwninvwzeWPU0dEF5XiTJNuLQTorCXUoGMK4S+gyRpdITDDO+gkavL1bD03Z8AHLriyS93fWrKLA== 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=qsS1dlHpwUS/2in/6pftpexKiVT3vnTtbDUydlVdUiY=; b=b0B7nQN2v/L0yQ1fknAiZ1/oIRfuRAcB9o4zGcEzppuRQHX1/fkVj3UfrFjOCI/qEi+XmsrHyKS8lOKw1JqIUinh9FsOAVxUBbIxE5y74nM4Wo6NrMzI92DJwtxwB/PntGgsPIQekavafXa+i2P1bLw/0Gm16iw9KpPRMYLGRj4= Received: from DUZPR01CA0088.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::14) by GVXPR08MB8236.eurprd08.prod.outlook.com (2603:10a6:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18; Fri, 26 Jul 2024 09:21:39 +0000 Received: from DU2PEPF0001E9C4.eurprd03.prod.outlook.com (2603:10a6:10:46a:cafe::4a) by DUZPR01CA0088.outlook.office365.com (2603:10a6:10:46a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28 via Frontend Transport; Fri, 26 Jul 2024 09:21:38 +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 DU2PEPF0001E9C4.mail.protection.outlook.com (10.167.8.73) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7784.11 via Frontend Transport; Fri, 26 Jul 2024 09:21:37 +0000 Received: ("Tessian outbound 0808e8e76ea3:v365"); Fri, 26 Jul 2024 09:21:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7a2719ffc4509ae2 X-CR-MTA-TID: 64aa7808 Received: from L7fa7c710fab4.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 90DF9593-BB50-4164-848E-A740851954AC.1; Fri, 26 Jul 2024 09:21:31 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L7fa7c710fab4.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 26 Jul 2024 09:21:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z8yl1aHdg01WmTtWMyV9yLOWBkNYtqL8wpUnKxmq3oBasJQjL5tQdWb5ROwdTKW1kZVJNXyGKDeYsCmJCHB3UdkZXK9ffZGCcgvy2F6jTdMnz8abqmymsdJCUVl90dDvXJmeUONZLUXwMs90chJ9Vjf7+UU/+/mVBmlFCX2tA5iHGwU0OOwp6IFRobCe82S0BHjA136bJFvkx+2Fi9d1ItuzXKbR01ZyYng7Lwirdw6hOeNpLj3kpaiCzW4jyrj4/bI0HAO8QvlXVJHtl9bE92tJJUoQQ9jBb2MhjwZPKwXxLsenEG5dvLWlPkswo0CrcvVXvzjPamrNomrsWZ/IwA== 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=qsS1dlHpwUS/2in/6pftpexKiVT3vnTtbDUydlVdUiY=; b=dtxpWTcoTtH5jZiSaGZixXRY4JUg96jMV5gK9I1wsjcdl4D5UccV0vyF9MmENYgr2TKH/dLQMvXDq82UqgQ+vEdv4fnQ9GHDiVJAJHa094lrnm55AS+Z7sckAS7I4Ws4sd53agJGJDz1+u7pPcmnLXgUY1QBIddkQDlfPE6plqCckVCaahwozqRmeEwabuTJZV17GODbFD1TuKX1IyPZaTo5xMLe/r42tt4PCryhQJaQ4ch40rdEa1/UBDeUsapAhK2JXYloLmtLrvA1wW+hGMjYGNOFeWCmsr33BNUwCGnniTjYgJOxm04G5uPyqdAQVQhNenEQx3PB1DEdyeu/uA== 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=qsS1dlHpwUS/2in/6pftpexKiVT3vnTtbDUydlVdUiY=; b=b0B7nQN2v/L0yQ1fknAiZ1/oIRfuRAcB9o4zGcEzppuRQHX1/fkVj3UfrFjOCI/qEi+XmsrHyKS8lOKw1JqIUinh9FsOAVxUBbIxE5y74nM4Wo6NrMzI92DJwtxwB/PntGgsPIQekavafXa+i2P1bLw/0Gm16iw9KpPRMYLGRj4= 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 GV1PR08MB7915.eurprd08.prod.outlook.com (2603:10a6:150:8d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Fri, 26 Jul 2024 09:21:27 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::89dc:c731:362b:7c69]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::89dc:c731:362b:7c69%6]) with mapi id 15.20.7784.020; Fri, 26 Jul 2024 09:21:27 +0000 Date: Fri, 26 Jul 2024 10:21:25 +0100 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, Richard.Earnshaw@arm.com, Marcus.Shawcroft@arm.com, ktkachov@gcc.gnu.org, richard.sandiford@arm.com Subject: [PATCH 6/8]AArch64: Update Neoverse N2 cost model to release costs Message-ID: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P123CA0354.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18d::17) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|GV1PR08MB7915:EE_|DU2PEPF0001E9C4:EE_|GVXPR08MB8236:EE_ X-MS-Office365-Filtering-Correlation-Id: ab3229c4-2ec7-411f-51a7-08dcad545a01 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: z9O+KpfpeNAYJe8Qu7WIjQ3sJlQy16i+c5i7t141jCXea/UcWn023cHHggF9gBzCUBMu8jSsIphioYlZ+Y7OxZpNY0BTd9gSerESu4ITfF1yRycsmc0je/0uqETrnLHRh7lBiKo5kiQOJlat5B5TkKFg/BcgLVQpu/2VtiUwk7xf02X5efP9806EteA5YPjgD+f4eH0glVXVViO1Grmgeh6GaGsqGSz1zpnqYk5fDz+9Mps1cvOFjEubshB2sZrYai1a1CqRvKq0ZBmDqRbRqpB0mXGMk1fhDFMTygl6tGGdJDl/jLplRdiBT4XN6a/XCaMp53/2lNok9H8ttkiSn9KHdQenu6yJh/it6fnegAnsZkWKMFhRP5F9n7kF44lUAsNz2ptD+uln/mo6uC9QHZGeZ3Um8UNEzaOgYJVHYjbGr9CNmfFIP+T7g0yH5pgXJ5l4ItKeH/i22NsFxDzrjWetVa3s636Zrte99IaEk9sD30Jeb6OJUUgt9ICGWtMLr2J/OdlLXn5Dh74Yks3w37nEWoPW6ioYS43yU4X2YcX3SZckaBmhX01bxijcH3ro+PQf5Va9cA3lNMm9hNS0LeWpn+kvX/ThJSWJ9shNQAN92h4q1TLPHGB6idoqz/MPYos+MrdmGFjxg8Gt8tSBMw58HThS56VVyzI9LxTBJQI7b5e8dm/wunyfr5vEAI8dWvHyJKKZ5nFTb2dbhpkujigdgyNod5PLHzsYsLF640FZRy2+Bqbmn79G9J0J/E6kj4IAhOIIq0qwD5LkKunzRAzmgoxGm0TO7InlfhcmNP5n5/ZWNp9zpZUtAftEgnG81rnaAf32w83C4QCuRUEQfHVbF9AZLVgTPVhszCi7M/YCAZb8O9h4gdGZA3m6gW7Sj3IYDIOLEsDoEoyzqBaRn82ro9uuzkzBD5p3y/AbhI/lebLVxd+7/xot4HlOcIOva2tv0U43TfiK/puf5JhpUXtRbjklGa+/fa5a6Jasqd20VY3m6cX66Po+TS6Ivp79NjrkmSjD36la1KakNWPT92Jq+mQlJr/KHjlNVmNS/+d51vcid/PZEkla8GPi9Wen/7EGOFGO94qthu9Beu/1bPjQ6XtfhIehIyA733/9S/L1kWI/1wTARhQOBpMfVASoy/Q6uTimKpAqMJGAriZbMSqR9X9viAaQQi9aTKmsp47EOVMnb9L6lEvlQGUlzV+DnQQzBqmzT7S9wcL8df4lYd3qS8FAAOuv0qNkVqjpCvPKptYj24xg1t4rMM+bExTmccKyMEskB6cQGBSmbA6hTpNR8LJkxRN6q9iTRbJdRF2mtsNoXLszEONbm0fMVMGWrUNRSh6IGtcKVB1B0qaR8g== 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)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7915 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: DU2PEPF0001E9C4.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 76c998a1-131b-442f-6197-08dcad545395 X-Microsoft-Antispam: BCL:0; ARA:13230040|35042699022|82310400026|1800799024|376014|36860700013|34020700016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?SinEhwk2FzxR++Uh+BneclHcuWqLxH3?= =?utf-8?q?giLvFjCZ9RQszBzle/vR9bINc2pPvEUP7/gw+BZB3e4l/Hd7Xj6D2sxLUlDywHBZk?= =?utf-8?q?knEpBjprw5CwzD5Oz9IVjU4+HTHGjGcCg+g0MUXyE6zXg+rp1nsfHD75RCc95FeIb?= =?utf-8?q?udu+t7ri0/dFJLI7HK0cyZTTug29bI1vEXeHN03WvbJkq8OpsCWdbgQomdRcGPNAk?= =?utf-8?q?KUWzvCSWN9//+9u6/gIQcUCsKP6e0Sr11yng9hEBLKEX+APN7X3f1GH0VqS+Rsxtq?= =?utf-8?q?iUFukid20r+LeiYG7NhGlD19Ik/+TZV3p2DDu1UE9rxzAFU7dr7++Bgv+gaZTauyF?= =?utf-8?q?AgOphYnzSUL485a1OYQqcnbUup+oFWXQebgynqNHN749L5eSA/be7P11sPcqVI6LD?= =?utf-8?q?rcHVMdDU5WEfrzevKPlHNn5ZfF4ElzwjSO7lwQvIX6VGZacQ0AQPIdqwEwu501O1z?= =?utf-8?q?mjd8QioGzkExxdJm8d17Rjb0xjm8CeicgFMfbXzFxavbFew/R9xyfheJYvOPyanZm?= =?utf-8?q?T+J0dZ0g7JsJxUU5pW5IhSeabHppF9Ul+LGgk9yoRSmtC7JzWl1amCReQUHDxZz2Y?= =?utf-8?q?xr8Yla7izzj+AuanJyNYiAbCl5Uxr3TOAwoQtPsxTL+kcYKky8f/3kdMttQGbK92Y?= =?utf-8?q?4dVSaGbAynNTJ5i6sH8+xA5EsO5kc5b5W9gIygz3b14r9U6NPykj64od26h4dRQpN?= =?utf-8?q?l5AnlSo5esHSyO507Utdq2ss8DjYxUGoHgPQpyM91fWF2+0AVqBUhryWAHAr/Jx28?= =?utf-8?q?MGyOMFp4l9uq6bzfZQuz6AvVpPFMIALlEKIIWv6PnO10EqAcY26pj89ZfJNtjgTnM?= =?utf-8?q?btO2e+8czJQT6qg5Vss7bDnAG3WZKQFHpblS3vJzWG4Z/FHtqX3XA/RtinQ0coaCq?= =?utf-8?q?h01yhJx7KHsFp7kqqytsZ51E3dGUblV8ayjrtM/lXxmrqMXicB6fW3OYld+D3j/o8?= =?utf-8?q?Ddzzk9gsFCcIdSY9CduAJBKkMFfhWhSgmQzCVOiIK3ZAIUnccSRZLfIRg+xdE/BEO?= =?utf-8?q?LaRXwmHg5FXLfRCHZta8O95RTbD1FNlT5ymJFK3id1TUbhlcfl5gyIQ6BvwFTq7Hs?= =?utf-8?q?h2K52P7l9Zamr0S8c/dBa79LdQ7aHeA1FZOsbSxMG9/pyDT6QWaoOMuL6dD0x6i4+?= =?utf-8?q?f5h3/sP4jEbA6DO2NVejMn4dHEB/zBjGVyYcg/vsx1BRlHzfGMBA2YUUEey4gJny2?= =?utf-8?q?tE6r7rDbCtpPXf+EauT4QtvL879Si4eWtfiLdaUAY475Of1yYYDLoCyh4v+uuUwzR?= =?utf-8?q?ejhxHrRxoNqGwUZR5Z+6VGzR3q7wQ3gmuNng7hAnx6xaBCLlbo3th2y07tmIQgM8Z?= =?utf-8?q?rIiMMzSA+C3wwVzuonf7Kb2qczLnO4zalTPmiDP3l/Agjm7Rh9Vk9S03dctL4CvgW?= =?utf-8?q?qGdVnt7yg53?= 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)(35042699022)(82310400026)(1800799024)(376014)(36860700013)(34020700016); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2024 09:21:37.7724 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab3229c4-2ec7-411f-51a7-08dcad545a01 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: DU2PEPF0001E9C4.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB8236 X-Spam-Status: No, score=-12.5 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 Hi All, This updates the cost for Neoverse N2 to reflect the updated Software Optimization Guide. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? Thanks, Tamar gcc/ChangeLog: * config/aarch64/tuning_models/neoversen2.h: Update costs. --- -- diff --git a/gcc/config/aarch64/tuning_models/neoversen2.h b/gcc/config/aarch64/tuning_models/neoversen2.h index be9a48ac3adc097f967c217fe09dcac194d7d14f..3430eb9c06819e00ab38966bb960bd6525ff2b5c 100644 --- a/gcc/config/aarch64/tuning_models/neoversen2.h +++ b/gcc/config/aarch64/tuning_models/neoversen2.h @@ -57,7 +57,7 @@ static const advsimd_vec_cost neoversen2_advsimd_vector_cost = 2, /* ld2_st2_permute_cost */ 2, /* ld3_st3_permute_cost */ 3, /* ld4_st4_permute_cost */ - 3, /* permute_cost */ + 2, /* permute_cost */ 4, /* reduc_i8_cost */ 4, /* reduc_i16_cost */ 2, /* reduc_i32_cost */ @@ -86,28 +86,28 @@ static const sve_vec_cost neoversen2_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 */ - 3, /* permute_cost */ + 2, /* ld2_st2_permute_cost */ + 3, /* ld3_st3_permute_cost */ + 3, /* 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 - completes in 11 cycles, so give it a cost of 15 + 6. */ - 21, /* reduc_i8_cost */ - /* Likewise for 7 scalar ADDs (~3 cycles) vs. 9: 7 + 6. */ - 13, /* reduc_i16_cost */ - /* Likewise for 3 scalar ADDs (~2 cycles) vs. 8: 3 + 6. */ - 9, /* reduc_i32_cost */ - /* Likewise for 1 scalar ADD (~1 cycles) vs. 2: 1 + 1. */ - 2, /* reduc_i64_cost */ + completes in 9 cycles, so give it a cost of 15 + 4. */ + 19, /* reduc_i8_cost */ + /* Likewise for 7 scalar ADDs (~3 cycles) vs. 8: 7 + 5. */ + 12, /* reduc_i16_cost */ + /* Likewise for 3 scalar ADDs (~2 cycles) vs. 6: 3 + 4. */ + 7, /* reduc_i32_cost */ + /* Likewise for 1 scalar ADDs (~1 cycles) vs. 4: 1 + 3. */ + 4, /* reduc_i64_cost */ /* Theoretically, a reduction involving 7 scalar FADDs could - complete in ~8 cycles and would have a cost of 14. FADDV - completes in 6 cycles, so give it a cost of 14 - 2. */ - 12, /* reduc_f16_cost */ - /* Likewise for 3 scalar FADDs (~4 cycles) vs. 4: 6 - 0. */ - 6, /* reduc_f32_cost */ - /* Likewise for 1 scalar FADD (~2 cycles) vs. 2: 2 - 0. */ - 2, /* reduc_f64_cost */ + complete in ~8 cycles and would have a cost of 7. FADDV + completes in 6 cycles, so give it a cost of 7 + -2. */ + 5, /* reduc_f16_cost */ + /* Likewise for 3 scalar FADDs (~4 cycles) vs. 4: 3 + 0. */ + 3, /* reduc_f32_cost */ + /* Likewise for 1 scalar FADD (~2 cycles) vs. 2: 1 + 0. */ + 1, /* reduc_f64_cost */ 2, /* store_elt_extra_cost */ /* This value is just inherited from the Cortex-A57 table. */ 8, /* vec_to_scalar_cost */ @@ -127,7 +127,7 @@ static const sve_vec_cost neoversen2_sve_vector_cost = /* A strided Advanced SIMD x64 load would take two parallel FP loads (8 cycles) plus an insertion (2 cycles). Assume a 64-bit SVE gather is 1 cycle more. The Advanced SIMD version is costed as 2 scalar loads - (cost 8) and a vec_construct (cost 2). Add a full vector operation + (cost 8) and a vec_construct (cost 4). Add a full vector operation (cost 2) to that, to avoid the difference being lost in rounding. There is no easy comparison between a strided Advanced SIMD x32 load @@ -165,14 +165,14 @@ static const aarch64_sve_vec_issue_info neoversen2_sve_issue_info = { { { - 3, /* loads_per_cycle */ + 3, /* loads_stores_per_cycle */ 2, /* stores_per_cycle */ 2, /* general_ops_per_cycle */ 0, /* fp_simd_load_general_ops */ 1 /* fp_simd_store_general_ops */ }, 2, /* ld2_st2_general_ops */ - 3, /* ld3_st3_general_ops */ + 2, /* ld3_st3_general_ops */ 3 /* ld4_st4_general_ops */ }, 2, /* pred_ops_per_cycle */ @@ -190,7 +190,7 @@ static const aarch64_vec_issue_info neoversen2_vec_issue_info = &neoversen2_sve_issue_info }; -/* Neoverse N2 costs for vector insn classes. */ +/* Neoversen2 costs for vector insn classes. */ static const struct cpu_vector_cost neoversen2_vector_cost = { 1, /* scalar_int_stmt_cost */ @@ -220,7 +220,7 @@ static const struct tune_params neoversen2_tunings = 6, /* load_pred. */ 1 /* store_pred. */ }, /* memmov_cost. */ - 3, /* issue_rate */ + 5, /* issue_rate */ (AARCH64_FUSE_AES_AESMC | AARCH64_FUSE_CMP_BRANCH), /* fusible_ops */ "32:16", /* function_align. */ "4", /* jump_align. */ @@ -243,4 +243,4 @@ static const struct tune_params neoversen2_tunings = AARCH64_LDP_STP_POLICY_ALWAYS /* stp_policy_model. */ }; -#endif /* GCC_AARCH64_H_NEOVERSEN2. */ +#endif /* GCC_AARCH64_H_NEOVERSEN2. */ \ No newline at end of file