From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 35C175586 for ; Fri, 18 Mar 2016 14:51:29 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id l124so31978427wmf.1 for ; Fri, 18 Mar 2016 06:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=dUwqb4L8uTbd+B4krqPgwCBqXIIYgdVqizH26yGKQHQ=; b=HZ2p9gDHRDcLd1SUNuij6qihexYGazJCBwqtyvH/nwXstQtu8HzdQ8HFdzbp7Hqf0D 2l1H7O6Rruksfxge90m5BSdMfmSoyATME/CH+jjxDC3Hg0M+czuavaA6KbH815uj/CXn e9ZTlw4Sc2CbOpmMmyBF9/CvrVXsOLUbhoG2mZ+YUAzYzmsn1yNC/vt2HNetv6dcopqN golNptAz80tNKYV4z6X/yWZPmyfPg7shV2WWvpkRn4W24NXTFbMT3zuZ30CyPHVC60aT XC1OcwZq3OiXrljLR5r9RKujeuk7ex67nwEFKXN4kgW/qiICvG6nvZkRPX/nEoZdkJXl 7xsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=dUwqb4L8uTbd+B4krqPgwCBqXIIYgdVqizH26yGKQHQ=; b=EK0KdikVALcXneTshExOKUHc/Oab4voOOENjh13AKe84f0DMv1fC7/IliG6S9gZLUn G0eqPtWY7GZpMVUWwhhoR6l7d4PzMxZRG0bz0IYtl2vYyuU5hyv6ILvOrvtQLU5qhjJl 5/mdBAiQvYELOOGzoXKyVRujWA3vJ7u7dUWOOdTWZ/nSoRXHR/UO9q7/w84pP0cdnreR baNiXg+PQG419dwmjd1XWscnzZU219TdmOCf7uVBRuSDn7AFhIFRctYoONqoLKfnnBQT VQC+WrLgC0IzNENrRJsnPVb7KLYLfjdFS3y0UGLJ1pMFT8dRc9g3BwHQoHCerJRxHppa D42Q== X-Gm-Message-State: AD7BkJJt6dzxjyYmO+X5D+HK2YMY/B5gcw6uaEWSnaAn0YfK8InmmpDhTH8syjpGPI5tf3yR X-Received: by 10.28.195.9 with SMTP id t9mr18197010wmf.0.1458309089083; Fri, 18 Mar 2016 06:51:29 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id c71sm12787797wmd.4.2016.03.18.06.51.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2016 06:51:28 -0700 (PDT) From: Thomas Monjalon To: viktorin@rehivetech.com Cc: Jerin Jacob , Tomasz Kulasek , dev@dpdk.org, jianbo.liu@linaro.org Date: Fri, 18 Mar 2016 14:49:57 +0100 Message-ID: <18259292.OJteoyVp0E@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160318130019.4715e5d5@pcviktorin.fit.vutbr.cz> References: <20160318130019.4715e5d5@pcviktorin.fit.vutbr.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] arm: detect NEON by RTE_MACHINE_CPUFLAG_NEON flag only X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 13:51:29 -0000 2016-03-18 13:00, Jan Viktorin: > The RTE_MACHINE_CPUFLAG_NEON was only a result of the gcc testing. > However, the target CPU may not support NEON or the user can disable to > use it (as it does not always improve the performance). > > The RTE_MACHINE_CPUFLAG_NEON detection is now based on both, the > __ARM_NEON_FP feature from gcc and CONFIG_RTE_ARCH_ARM_NEON from > the .config. The memcpy implemention is driven by > RTE_MACHINE_CPUFLAG_NEON, so the reason to disable neon is hidden for > the actual code. > > Signed-off-by: Jan Viktorin > --- > > I can also include this one: > > examples/l3fwd/l3fwd_em.c:253:#elif defined(__ARM_NEON) Yes please. I will set my patch as superseded.