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 4A6CC45C94; Wed, 6 Nov 2024 12:48:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2989C402C3; Wed, 6 Nov 2024 12:48:58 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id E47B240265 for ; Wed, 6 Nov 2024 12:48:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730893737; x=1762429737; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=rIwmTTTNv/XTNYMEM/k7X4gW50EsmPmFpA3kEr4sbBg=; b=n4SMbRde7GmzHLUJwH1mCN1E/MdAYoCIvOvVSQi8161ol+Cy4cRBNpKW KsYXoHIWJJa7dxAueeI2TZ9EOxWCMSmups/zvDjEpptOmeEnj7li3XHnw RuGlnsBHX8FCy/g8ET1IsqET2ipJDifTi8Y0S1w6AvH3P12MoibKf/2Wq Chx6VF9lubeh8nRQE/Mpoz9KyfCiqPp/X1fw5/K+34QIeDCEOAGkS2ayd K2Ep4mAEJr0EcxUIw5VQpPJ0RXtFia3n8Ebfte+BYWDFqrtYg5br+euFa QBkVIQmi91MyROnsyHfZhglbE0UNjj7OfP1y2lX/oGogB/UVwwsKVL4// w==; X-CSE-ConnectionGUID: Ck0cJ36URMWC1GKUf4nYUg== X-CSE-MsgGUID: h2qzgJVqTyylY7HSSHA2qQ== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="41788138" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="41788138" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2024 03:48:56 -0800 X-CSE-ConnectionGUID: swCGLsPvT5GM5AdhAlfaqg== X-CSE-MsgGUID: KIHnxDWJSbmAgbQbeVz8nA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,262,1725346800"; d="scan'208";a="115318519" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Nov 2024 03:48:50 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 6 Nov 2024 03:48:49 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 6 Nov 2024 03:48:49 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.41) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 6 Nov 2024 03:48:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EbLVBgXNaRNWUeWapZsMNcp5JTVGNVYeuQYUeonfzOc+pJhW9ty6Nu53U/hfla1903qjJtzO6jfswDu3q8fBWnPHPp7UDOPs6n59CfE2LFmewxuBs7Eh75WewbzJG3LqV13r2TLMm5rLnn2S1bz7gZRUkqMQ0caWiq2VQLd0WIjQ+Xth3VQG+4IfDCauFa1rUdUSVDNfdJRCA9aMmbbG+wAs/ZcVBc6KexmKtDKl4hjMZp/J0E/yiV/AZYuB5AjjgncbPMoGTdxPeQGuPI8EJDMod6pjuh89bZSAOl7pdDgf8BCZN34GDK/Uw9ixiRfuCJQ1vlAFQUdd/f3I8dPPhQ== 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=DeDke2V4mgO4CYJ+eNpWaAIMNw3aVge9ytSytYdLcfk=; b=JzzlGi/T8k+fX81SElg/GDHVMwv8bG0Uj3kT3tgVs5zcpAnzQuNW/5nTMw0izo0W6h5ebTSeINVVJnM7STGbQcHK+04CIrnv5ao8UZkS69dpXBc8cS+zi2fWt+cUNYIsF5cA8q4oUWzNAdT0L5aqHc8TP9QrvW8E0ide3LlFDf+2oZENfAcd2E06W0OWg+paYr8FmzgMApF4uCNDrsdcCCNnjHpRlxy6kEq87EvLaqJuBEsV29NRQaF15vGfDiuEisMWYlqdoeAbuUqcAJT8uZadNxKIR5uA//tjAf6q+G/le5rjAb6IuegAszZ0LQvzLKxmuRAqJpkyYGG8bykntw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH7PR11MB7987.namprd11.prod.outlook.com (2603:10b6:510:242::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Wed, 6 Nov 2024 11:48:46 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%4]) with mapi id 15.20.8093.018; Wed, 6 Nov 2024 11:48:46 +0000 Date: Wed, 6 Nov 2024 11:48:40 +0000 From: Bruce Richardson To: Morten =?iso-8859-1?Q?Br=F8rup?= CC: , Tyler Retzlaff , "Thomas Monjalon" , Ferruh Yigit , "Andrew Rybchenko" , Ajit Khaparde , Somnath Kotur , Gaetan Rivet , Jie Hai , Long Li , Wei Hu Subject: Re: [PATCH 1/2] eal: add unreachable and precondition hints Message-ID: References: <20241025115223.1230680-1-mb@smartsharesystems.com> <20241025115223.1230680-2-mb@smartsharesystems.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241025115223.1230680-2-mb@smartsharesystems.com> X-ClientProxiedBy: DU2P250CA0006.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::11) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH7PR11MB7987:EE_ X-MS-Office365-Filtering-Correlation-Id: eba707b6-1761-4ca7-8ff8-08dcfe58f8a9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?5nVfkCOxV6Zat+dePZahHFp3+HgrGDKaIsyRXOaQ7AnoX8x3Go4tAkJulm?= =?iso-8859-1?Q?ZZTU6gFGxnIuaGM/24lHMI1Y9k/T91F+mh3lo9qlrUNphOUFR9LLAS6BDX?= =?iso-8859-1?Q?xsIr2otK/Hseg7yI8bwcaLMoe4qjvL7JrALUJTzz1fu6yh5D8KPVYHgERY?= =?iso-8859-1?Q?lrI5i2wVjjc+JP736+40qz3aTft3QYp2iRHUnpae9HqlOx8vXlGrihUii0?= =?iso-8859-1?Q?pVW+mKDiWD/24fArlHS+OPRnvKhYeJEtSaOtPbvQrr2D7hCldG6t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f7VleGW2IEcdoUJbmkn/uOg/rj0FD0YL1ne2tQ+aVfGut?= =?iso-8859-1?Q?peMvNpNPk6TxXUy/tDUFfJfJciWvwPZOL5Hjh10R5uRN1OuwkTxAxkjUij?= =?iso-8859-1?Q?Z6nyS1utK1dR1BIPqTY5fNeFmZ/BYaCZykXnhC6Wn9sUC/al1fkwZy33xv?= =?iso-8859-1?Q?s7fdcrVozPjL9ytnnPsi5NhjfrPtzHhbXmYK4dU/PNJm/Vjgq2PLG1kyxw?= =?iso-8859-1?Q?e0xm4FD2SW?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(7416014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?n/sC8CnJej2NrG1bwX38KH2E3J0ut8U5f8+hKrNC7a/23By/aheA3cYafj?= =?iso-8859-1?Q?0fXqhtvz4Esjmggk81QPIUebhlsFgBEraYKXdQbrMttSfkp0PQDj2qBl9Y?= =?iso-8859-1?Q?zhGgQ96ffqXnp842bi/v9BWmpndrHip6ZhXyycPbkBQkGtfnwBgXBdNkRl?= =?iso-8859-1?Q?SqzUolIEkHi+uC0ovgMRaSa2Nq5og2HnPcB+4d4XDvxusj4qD29pArbVk7?= =?iso-8859-1?Q?MN5bfyOzHtQCWG79+AREeQ1IH2tuCriTyP3WwswjtNQ3/B/rI6w1mCGu+V?= =?iso-8859-1?Q?wUo2MdCMp9EWmPzY/OA81kV0gcuf2CoCi+3rcijvlncWKGjBAsyr44UjHi?= =?iso-8859-1?Q?+1GTEKRR2+pgkjZgzmljQrp/jSNyBy490U+m6lT7wP0NPIgNz18TeU9BIz?= =?iso-8859-1?Q?xrtjJlMNgaiLs0F6Tjs6To2X4Oc7rWzCWice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/dv47ZU7IMK+1+xhFz56sHxxamMZCJtdKq3nSEWv57b4eRgRxYeWgj7wO?= =?iso-8859-1?Q?x4Q7dN+KZQOmlYzfm9+so/SZQNXBAdwQidmsNuKZNaxQQ9szb7i1Hrag9C?= =?iso-8859-1?Q?i2W4pU61aKdPtpiwlYOOaCm/uF/HkJsJIrzOAqoZo+q+/NE98o1jBIy+Y6?= =?iso-8859-1?Q?MA+R89c6XJnKeEJqg3MtykBgWAiyh8QmNyid/Q5kXEPVZxGi5dRbweQ4Yq?= =?iso-8859-1?Q?jpDdNRjg7LuBTJc0SgPvFqy+Nb3pW4wwi4pYBvf823Ycg+0MDfWtRrsBbs?= =?iso-8859-1?Q?bZ5e0Va6adkryc9ULyK9tUNPiHbn0OehVYmmhg+vipB7gP+cfnkJCXGw?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: eba707b6-1761-4ca7-8ff8-08dcfe58f8a9 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2024 11:48:46.3326 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Cc5nAT5iIdP41l4SDqHSXrDfgnF3Cpcz6zzeQTYdf0kpXIp258IfIzkgmJ5Im6mbwIPwtdK8nYcLt5J21WCHU5THFB8AdMDnHZsA0JwHLIE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7987 X-OriginatorOrg: intel.com 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 On Fri, Oct 25, 2024 at 11:52:22AM +0000, Morten Brørup wrote: > Added two new compiler/optimizer hints: > * The __rte_unreachable hint for use in points in code known never to be > reached. > * The __rte_assume hint for providing information about preconditions the > compiler/optimizer might be unable to figure out by itself. > > Signed-off-by: Morten Brørup > --- > lib/eal/include/rte_common.h | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > Acked-by: Bruce Richardson