From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: fix compilation for non-x86 systems Date: Thu, 16 Jul 2015 23:16:27 +0200 Message-ID: <3833913.eQtG18FVLH@xps13> References: <1437079307-18092-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 3DC595A3E for ; Thu, 16 Jul 2015 23:17:39 +0200 (CEST) Received: by wgxm20 with SMTP id m20so68056646wgx.3 for ; Thu, 16 Jul 2015 14:17:39 -0700 (PDT) In-Reply-To: <1437079307-18092-1-git-send-email-pablo.de.lara.guarch@intel.com> 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" 2015-07-16 21:41, Pablo de Lara: > Hash library uses optimized compare functions that use > x86 intrinsics, therefore non-x86 systems could not build > the library. In that case, the compare function is set > to the generic memcmp. [...] > --- /dev/null > +++ b/lib/librte_hash/rte_cmp_fns.h Renaming it to rte_cmp_x86.h would allow other arch in separate files.