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 C7EFFA04B1; Wed, 23 Sep 2020 17:11:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3C13B1D735; Wed, 23 Sep 2020 17:11:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 819511D725 for ; Wed, 23 Sep 2020 17:11:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600873875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7LtfQEHjpCfrrDjHYuOCitmbEgJoA0KvMjA+gW6iYdE=; b=b1khJX0leOsvNTjluskN3bh1icYcBfo7mbDOLy/193OcYorrKR/giOvWTUyDTegI3XfgmD OhpNo31PMwjp5ulQ7SOBWxLA5wK8YeVQYiK3kNfci0eoNqBKDxjFS8P0KvkpltQdEFzwkN pw5Q70FhpGjtXo21OAdvhkXTb6BnpCI= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-426-YVz48sddMbaLk8Y6JOLBPA-1; Wed, 23 Sep 2020 11:11:14 -0400 X-MC-Unique: YVz48sddMbaLk8Y6JOLBPA-1 Received: by mail-vs1-f69.google.com with SMTP id s201so30703vsc.2 for ; Wed, 23 Sep 2020 08:11:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7LtfQEHjpCfrrDjHYuOCitmbEgJoA0KvMjA+gW6iYdE=; b=G3u59e9sQ+XuyarHEke/YGrKqYpI4COrGPfhs1YcRzK8j8ZhOi4+DXYXSgdo3tCn+6 JNecq5TFM4NpQc+O/1ba1XadrRZX9PQwL1mlczP4xen7/PcQRBLxqAI+1N46/KC6lTA+ 81spwTVApVZjXFmJ0nxzEwb0w4D1I42tia0fBtyOGu23zIwCNvdwTRbQ1TmMBE8bamnw KwECh1PmLR/FLfoQXYTj+/xseGgF6qk95A/KDSZnO9xk/s5e9xjwIOqrhpC1jOYyjaGR f6h3lqYJyYCkZsYrYQhRtsxk5hDsaP5D0wbR4KVd072GALW7bEx3ktND7mjr73LGSJqb MzrA== X-Gm-Message-State: AOAM530W+V6JxAu9QV9WWpYRU1M4fts4zXdwTsVyGe9DKbblfTwYtdVh bBok7IlWIbbUequ0NJbry8yQiD9GxwW+PyMVCv2O/lukRQxRgI3DY5uwPxxbR/ht57i4usbvDIv KtTbNHb7bPREhI2xZg14= X-Received: by 2002:a67:e190:: with SMTP id e16mr427394vsl.5.1600873872863; Wed, 23 Sep 2020 08:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSZXKGXs5g76YxwzB5x11hmCvPyXYVryeq4doXfn8VKdq9SURV1/73qdWUjXmkorwEVjVqRHRuq6X2JzwWrL8= X-Received: by 2002:a67:e190:: with SMTP id e16mr427356vsl.5.1600873872580; Wed, 23 Sep 2020 08:11:12 -0700 (PDT) MIME-Version: 1.0 References: <20200902104343.31774-2-radu.nicolau@intel.com> <20200923104433.11442-1-radu.nicolau@intel.com> <20200923104433.11442-2-radu.nicolau@intel.com> In-Reply-To: <20200923104433.11442-2-radu.nicolau@intel.com> From: David Marchand Date: Wed, 23 Sep 2020 17:11:01 +0200 Message-ID: To: Radu Nicolau Cc: dev , Thomas Monjalon , Jan Viktorin , "Ruifeng Wang (Arm Technology China)" , Jerin Jacob Kollanukkaran , David Christensen , Bruce Richardson , "Ananyev, Konstantin" , Sean Morrissey Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/4] x86: change cpuflag macros to compiler macros 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" On Wed, Sep 23, 2020 at 12:45 PM Radu Nicolau wrote: > diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c > index fdbee70b4..78181a640 100644 > --- a/examples/l3fwd/l3fwd_em.c > +++ b/examples/l3fwd/l3fwd_em.c > @@ -215,7 +215,7 @@ static rte_xmm_t mask0; > static rte_xmm_t mask1; > static rte_xmm_t mask2; > > -#if defined(RTE_MACHINE_CPUFLAG_SSE2) > +#if defined(__SSE2__) > static inline xmm_t > em_mask_key(void *key, xmm_t mask) > { > @@ -231,7 +231,7 @@ em_mask_key(void *key, xmm_t mask) > > return vandq_s32(data, mask); > } > -#elif defined(RTE_MACHINE_CPUFLAG_ALTIVEC) > +#elif defined(__ALTIVEC__) It should be in patch 3. > static inline xmm_t > em_mask_key(void *key, xmm_t mask) > { -- David Marchand