[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch-gnuradio] Add possibility to disable NEON optimisation on ARM

From: Philip Balister
Subject: Re: [Patch-gnuradio] Add possibility to disable NEON optimisation on ARM
Date: Fri, 13 Jul 2012 14:13:35 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 07/13/2012 11:10 AM, Jaroslav Skarvada wrote:

the NEON optimisation is always used on all ARMs, even if not
supported. Another problem is that in Fedora we build with
-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard, so
the compilation fails even on machine with NEON.

The proposed patch adds guard to NEON assembly code and the guard
depends on have_mfpu_neon cmake internal variable. The value of
this variable is autodetected during cmake initialisation, but
can be also overriden by e.g.:

Do you know if this works for cross compiling? I assume it can be forced on regardless?


cmake -Dhave_mfpu_neon=0

The performance/usability of binary compiled without NEON is
probably not good, but at least it compiles fine on more

This issue was originally reported in:



Patch-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]