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 2FFD0440E3; Mon, 27 May 2024 13:58:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD77E402CF; Mon, 27 May 2024 13:58:36 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 53EEF402BD for ; Mon, 27 May 2024 13:58:35 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 266D720B6F; Mon, 27 May 2024 13:58:35 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH 1/2] eal: provide macro for GCC builtin constant intrinsic X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 27 May 2024 13:58:34 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F4B2@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F345@smartserver.smartshare.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 1/2] eal: provide macro for GCC builtin constant intrinsic Thread-Index: AdqDt0VLcZ2L1VWtRkuM4qbwTL16pQAV33cwCwc+hvA= References: <1710970416-27841-1-git-send-email-roretzla@linux.microsoft.com><1710970416-27841-2-git-send-email-roretzla@linux.microsoft.com> <20240331150327.71312354@hermes.local> <98CBD80474FA8B44BF855DF32C47DC35E9F345@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: , "Andrew Rybchenko" Cc: "Stephen Hemminger" , "Tyler Retzlaff" 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 UElORyBmb3IgUmV2aWV3L0FDSy4NCg0KQ29tZSBvbiBmZWxsb3cgcmV2aWV3ZXJzLCBpdCdzIG9u bHkgNSBsaW5lcyBvZiBjb2RlIQ0KDQpUaGUgbWVtcG9vbCBsaWJyYXJ5IGNhbm5vdCBidWlsZCB3 aXRoIE1TVkMgd2l0aG91dCB0aGlzIHBhdGNoIHNlcmllcy4NCg0KT3RoZXIgcGF0Y2hlcyBhcmUg YWxzbyBiZWluZyBoZWxkIGJhY2ssIHdhaXRpbmcgZm9yIHRoaXMgTVNWQyBjb21wYXRpYmxlIERQ REsgbWFjcm8gZm9yIF9fYnVpbHRpbl9jb25zdGFudF9wKCkuDQoNClRoZSBtYWNybyBmb3IgTVNW QyBjYW4gYmUgaW1wcm92ZWQgYXMgc3VnZ2VzdGVkIGJ5IFN0ZXBoZW4gbGF0ZXIuDQoNCj4gRnJv bTogTW9ydGVuIEJyw7hydXAgW21haWx0bzptYkBzbWFydHNoYXJlc3lzdGVtcy5jb21dDQo+IFNl bnQ6IE1vbmRheSwgMSBBcHJpbCAyMDI0IDEwLjM1DQo+IA0KPiA+IEZyb206IFN0ZXBoZW4gSGVt bWluZ2VyIFttYWlsdG86c3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmddDQo+ID4gU2VudDogTW9u ZGF5LCAxIEFwcmlsIDIwMjQgMDAuMDMNCj4gPg0KPiA+IE9uIFdlZCwgMjAgTWFyIDIwMjQgMTQ6 MzM6MzUgLTA3MDANCj4gPiBUeWxlciBSZXR6bGFmZiA8cm9yZXR6bGFAbGludXgubWljcm9zb2Z0 LmNvbT4gd3JvdGU6DQo+ID4NCj4gPiA+ICsjaWZkZWYgUlRFX1RPT0xDSEFJTl9NU1ZDDQo+ID4g PiArI2RlZmluZSBfX3J0ZV9jb25zdGFudChlKSAwDQo+ID4gPiArI2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