From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C322A04B8; Wed, 2 Sep 2020 12:44:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C5CF1C0CE; Wed, 2 Sep 2020 12:44:04 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 93EA81C0AF for ; Wed, 2 Sep 2020 12:44:02 +0200 (CEST) IronPort-SDR: YbRjBfp17Sookh7+xt1MaJW/g8y0ymGFxqa8y0ESt/V2ATjO3dIvLh9bhSZlxhK6r5q28QTIyL JvpYpqye3yGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="242185028" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="242185028" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2020 03:44:01 -0700 IronPort-SDR: hnnwewCBYIAHrU1Pb9PBy54fRPx0v8iu+GfK+6kA1DXU6fxgkq11bDLh31kWcLHKFcrf+fg3b1 KEVuK2mCaeZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="477592013" Received: from unknown (HELO silpixa00399477.ir.intel.com) ([10.237.214.225]) by orsmga005.jf.intel.com with ESMTP; 02 Sep 2020 03:43:58 -0700 From: Radu Nicolau To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, viktorin@rehivetech.com, ruifeng.wang@arm.com, jerinj@marvell.com, drc@linux.vnet.ibm.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, Radu Nicolau , Sean Morrissey Date: Wed, 2 Sep 2020 10:43:43 +0000 Message-Id: <20200902104343.31774-5-radu.nicolau@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902104343.31774-1-radu.nicolau@intel.com> References: <20200902104343.31774-1-radu.nicolau@intel.com> Subject: [dpdk-dev] [PATCH v1 4/4] doc: remove reference to RTE_MACHINE_CPUFLAG X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" RTE_MACHINE_CPUFLAG macros are replaced with predefined compiler defines. Signed-off-by: Sean Morrissey Signed-off-by: Radu Nicolau --- doc/guides/prog_guide/writing_efficient_code.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/writing_efficient_code.rst b/doc/guides/prog_guide/writing_efficient_code.rst index 2639ef7bf..c1f2d627a 100644 --- a/doc/guides/prog_guide/writing_efficient_code.rst +++ b/doc/guides/prog_guide/writing_efficient_code.rst @@ -273,5 +273,5 @@ main() function and checks if the current machine is suitable for running the bi Along with compiler optimizations, a set of preprocessor defines are automatically added to the build process (regardless of the compiler version). These defines correspond to the instruction sets that the target CPU should be able to support. -For example, a binary compiled for any SSE4.2-capable processor will have RTE_MACHINE_CPUFLAG_SSE4_2 defined, +For example, a binary compiled for any SSE4.2-capable processor will have a pre-defined compiler macro, thus enabling compile-time code path selection for different platforms. -- 2.17.1