From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 04/18] eal: remove unneeded conditionals for SSE headers Date: Tue, 04 Jul 2017 14:23:03 +0200 Message-ID: <4685675.qTixDyZR3a@xps> References: <20170620152313.107642-1-bruce.richardson@intel.com> <20170620152313.107642-5-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Konstantin Ananyev To: Bruce Richardson Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 664D21094 for ; Tue, 4 Jul 2017 14:23:05 +0200 (CEST) In-Reply-To: <20170620152313.107642-5-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/06/2017 17:22, Bruce Richardson: > Our x86 baseline is to have support for SSE4.2, so therefore there is no > point in conditions around the inclusion of SSE1 - SSE4 headers. > > Signed-off-by: Bruce Richardson > --- > lib/librte_eal/common/include/arch/x86/rte_vect.h | 16 +--------------- > 1 file changed, 1 insertion(+), 15 deletions(-) I'm adding rte_pause: --- a/lib/librte_eal/common/include/arch/x86/rte_pause.h +++ b/lib/librte_eal/common/include/arch/x86/rte_pause.h @@ -40,17 +40,11 @@ extern "C" { #include "generic/rte_pause.h" -#ifdef __SSE2__ #include static inline void rte_pause(void) { _mm_pause(); } -#else -static inline void rte_pause(void) -{ -} -#endif #ifdef __cplusplus }