From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7399745895; Thu, 29 Aug 2024 10:15:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61C02427DA; Thu, 29 Aug 2024 10:15:17 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2080.outbound.protection.outlook.com [40.107.236.80]) by mails.dpdk.org (Postfix) with ESMTP id 84EDC427C5 for ; Thu, 29 Aug 2024 10:14:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wL2/cEj6BKBt05lc4MFCcBYvJ2Yn03PmvRIRuXb0bm0Szi7XprtZiMoXRXhYlvGHLmsIwLdXOLn4fNRLMJLwrC5x2vBbygn6lOEdNG9hEIuTBgYIV6K+LGYooCsEGfGheDEPyAjNqclgPkISvRUKknkPUPb9tcnTzZu3YrlQny/iEfVM6J+sk057tWr/JyyZEAwndnoDC6H+5rajyNGua7bB2VDFI9vakTJFmNayK8GZld5uar7pa5k/kzEGz7o3Nth0OAVsqsYjfrO/7RilyKy6v+G9uoRD5xrllbZWRFA1raHklinEVamOw3vRjq6jSxNPfjzKMZUTu0HwTVaMyg== 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=to+2koq/H9qnVKp/KzIaKrQ5i51ywocrIfaQF9K/tA8=; b=w6JZJWLfLMbHvBq48bWuWg6N1/mozwCrUBHPuFdx8dRW1tNEVYJqJzZ8GYQjnswTN4prZL6PKjhhFiy9EWgzt8FpuGQZREH01A1SJOaNBZQcVg3iG0eqRKNBpyl+Gw0vj46i58KsksiJIxLE7vaT+Nk50HT0Zkt015p2G6Rgsns9xYnML7SzMg7vKLFFh7ibWN80ueuBe9m7wtaivN0XHg2wyh+EbG84no9I26aMvVro7iaJR2wG7QNIFJtGt3g598k2tuT8iuLeZ/AjKkAz/s1x3A67O8bjRotbBiQPP3ZjTAjee8+r4Fa37ptM66uiyPInF2DFye/YSo5AsRDbBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=to+2koq/H9qnVKp/KzIaKrQ5i51ywocrIfaQF9K/tA8=; b=MKPBOUvuzc1nYUxI/4CF+NAZj4umSj3y30eXvYoxoNfyVdgOWgYPfQ94ufhUJtaGQx8aXLhqV+TOpOqALsltQ8Fk6H7yfPBU3hbyHLkttEmsuyu6DT3aZbDfM4P37zsXSMdRdtg4EpHx1KWgFJzksTAR2kd3GfDUZaiAw1GDQts= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from PH7PR12MB8596.namprd12.prod.outlook.com (2603:10b6:510:1b7::6) by SJ1PR12MB6098.namprd12.prod.outlook.com (2603:10b6:a03:45f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22; Thu, 29 Aug 2024 08:14:55 +0000 Received: from PH7PR12MB8596.namprd12.prod.outlook.com ([fe80::a011:943d:7291:8069]) by PH7PR12MB8596.namprd12.prod.outlook.com ([fe80::a011:943d:7291:8069%5]) with mapi id 15.20.7897.027; Thu, 29 Aug 2024 08:14:55 +0000 Content-Type: multipart/alternative; boundary="------------wkU0wpTEbH4QkgRToCk2ycCO" Message-ID: <07b80041-e80f-42f5-a05a-de298aeb372c@amd.com> Date: Thu, 29 Aug 2024 13:44:47 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] app/testpmd: add register keyword Content-Language: en-US To: Stephen Hemminger Cc: ferruh.yigit@amd.com, bruce.richardson@intel.com, konstantin.v.ananyev@yandex.ru, aman.deep.singh@intel.com, dev@dpdk.org References: <20240716063724.850-1-vipin.varghese@amd.com> <20240821143857.1972-1-vipin.varghese@amd.com> <20240821143857.1972-2-vipin.varghese@amd.com> <20240821075502.3faa0997@hermes.local> <20240827103924.1d1d2711@hermes.local> From: "Varghese, Vipin" In-Reply-To: <20240827103924.1d1d2711@hermes.local> X-ClientProxiedBy: MA0PR01CA0121.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:11d::11) To PH7PR12MB8596.namprd12.prod.outlook.com (2603:10b6:510:1b7::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB8596:EE_|SJ1PR12MB6098:EE_ X-MS-Office365-Filtering-Correlation-Id: 4876663d-2fc1-4001-aa21-08dcc802aa33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WGowbVRqRjF2aXo4b3labW9FT2ZmckxFN3JqUC9CWGEzSEY4NjdDNWR6MThO?= =?utf-8?B?VVJiWDhrcUFmUUJxN1FGSEl2YjlvekRnblVlcmhJMFZSZVpWK0hSOFBZMFdp?= =?utf-8?B?eFp6a29yZm8zZ0pOSVM3aTduNHBVekhWdEFWRHRsK1pkamJnT1h3Y3lWZHM0?= =?utf-8?B?OS93Kzdvak1DSHp2MXdKdnZMMENJUXJmOTRSWDBCcDJJUE9aenZsWHpWd1JD?= =?utf-8?B?VUdKSXZlMmpXajNwU2JKWG9jTU1WRzF5T202eXk4TTVFd2E5aENSTHY3czQz?= =?utf-8?B?ZjM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Zk?= =?utf-8?B?MDN6bTRjd1NhYmhBNm84ZjYreCtiRERFQzdoVVB2dlo5cjQ1T2xOQ25FMzd0?= =?utf-8?B?a0NubTRGeHhKenJlaFRtcDhrdHl5Uk43QzVUNzlYTWRkZGwxc3l6NS9mUnV5?= =?utf-8?B?d3hSSkt0RmRFOHNJU2dTdldhR0VObEoydFNkTDlOV1VqaitrL1lyWGZSR2hR?= =?utf-8?B?SklnNUp0YVJoejFBc055UUpydkx0aXhzOG8xbS9aaFVJcTlMeEZzdFlrRk9v?= =?utf-8?B?cXNsTFN0T2F3TjlkOVJ3RkFiTWNaWXJlNi9kREc1d2QydXhDdXlGVVhXSUJZ?= =?utf-8?B?VmZhem4zMlplby9NNTk0amVacTBITDVJRjd0MlFFK3FmM3VPUXlyQzVlVUph?= =?utf-8?B?cmM4QXhpTUk5cEk4NlVFTFJFRUdld2pxTVFtY2x0LzV6UjJTcFUxWVRCcVY4?= =?utf-8?B?cm1IT0hZSWRGS09XRjZHLzc2YmNJODVZM0VDSUQ4dGNDb2N1WEE4NVZmVmJ5?= =?utf-8?B?d2FFL1Y4aWs3amVUSER5aktpZ1FOYm9DWE1IcGZBMWJyRCtnT21zTWNYUU1x?= =?utf-8?B?VUhFS3JaSmtuRTJlRnhKRUk1NEtpRjI5dWVsNmJxTEpXaXpYckdiZkZWazRU?= =?utf-8?B?LzhaNjBkMjhsZXBZRjFLQT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR12MB8596.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T3pmR2sxODR3K2tFeDMzd01GY1BubEtDOHFJK21CR1JUSVpHTlcvV3hSU3Zx?= =?utf-8?B?MjVjdWFEN296UWtWdVRlYXd4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Y05WZGNqVU1t?= =?utf-8?B?TDdiUS85WnlSaVp2RVB4dnBsaFgwTnVacks2dFJZZnBwWXZlS2N5dmt0UXAw?= =?utf-8?B?RHVRZ25FL0E4SWt2S0JUZ2REUCtlaFRiTTZLcWhLVi82S2NxUC82YXdVOEZX?= =?utf-8?B?Q3ZiV0wzdTJIQ3BJRWhNSXl2Qi9tYXUzcVpidHJSMDJXcWdyN3FibVQ1SUV2?= =?utf-8?B?S2l3R0Rmd0dTN05qK1Blc1F0UVVqSm1nMWtuNjE1QitDcUR2b1l3dElqUG1a?= =?utf-8?Q?rDWjAf99QOBlHKdkB9BFypsBT?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4876663d-2fc1-4001-aa21-08dcc802aa33 X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB8596.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2024 08:14:55.1825 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OxjTNMnknL2KN/728RPqkzZk62lgUGcV+WkdyrJ6/W0uhoPljVVTCgno8RW6Z7RYG+wYvYN2PK42VRClh2hG3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6098 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --------------wkU0wpTEbH4QkgRToCk2ycCO Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/27/2024 11:09 PM, Stephen Hemminger wrote: > not sure why compiler would not decide to already use a register here? Hi Stephen, I totally agree with your point, but in practice it did not use registers for code generation. --------------wkU0wpTEbH4QkgRToCk2ycCO Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 8/27/2024 11:09 PM, Stephen Hemminger wrote:
not sure why compiler would not decide to already use a register here?

Hi Stephen, I totally agree with your point, but in practice it did not use registers for code generation.


--------------wkU0wpTEbH4QkgRToCk2ycCO--