|
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:
Hi, 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?
Philip
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 machines. This issue was originally reported in: https://bugzilla.redhat.com/show_bug.cgi?id=837028 regards Jaroslav _______________________________________________ Patch-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/patch-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |