[Interest] Enabling NEON on a Qt Android app

Nuno Santos nunosantos at imaginando.pt
Fri May 6 10:27:18 CEST 2016


Thanks for your insight Thiago.

Regards,

Nuno

> On 06 May 2016, at 08:38, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On sexta-feira, 6 de maio de 2016 07:58:30 PDT Nuno Santos wrote:
>> What are the necessary steps in order to enable NEON on a Arm processor that
>> supports it? 
> 
> Compile a plugin for Neon and a plugin for non-Neon. At runtime, determine 
> which one to load, then call functions on it. Do not try to include files built 
> with and without Neon support into the same binary if those sources are C++.
> 
> I don't know Android API, but if you can't find a suitable function to tell you 
> whether Neon is possible, you can always just read from /proc/cpuinfo or from 
> /proc/self/auxv.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list