[Interest] Enabling NEON on a Qt Android app

Thiago Macieira thiago.macieira at intel.com
Fri May 6 09:38:10 CEST 2016


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




More information about the Interest mailing list