From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Issue on rte_sched.c Date: Thu, 14 Apr 2016 09:19:45 +0200 Message-ID: <132784424.Pjq79LXnpm@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ariel Rodriguez Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 9C59536E for ; Thu, 14 Apr 2016 09:19:47 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id u206so111674696wme.1 for ; Thu, 14 Apr 2016 00:19:47 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-13 20:35, Ariel Rodriguez: > Hello, viewing the new code of librte_sched/ i found this line strange ... > > #if defined(__SSE4__) Are you refering to http://dpdk.org/commit/90f455f ? > if instead i use : > > #if defined(__SSE4_2__) || defined(__SSE4_1__) > > works like a charm ... > > i never see in any directive like __SSE4__ Indeed, it is strange. By the way, it is recommended to use RTE_MACHINE_CPUFLAG_*.