On 8/18/2010 3:19 AM, Carsten Munk wrote:
[this is not another SSSE3 discussion thread]

Qt on OMAP3 has very big benefits from using NEON, just like using
SSSE3 does on Atom. However, we do not currently compile for NEON in
MeeGo for ARMv7 as not all ARMv7 has NEON (Marvell, Nvidia being
notable exceptions).

We'd obviously like to use NEON on Nokia N900 but we're wondering how
to do this in the most ecosystem-friendly way.

I have been talking to Thiago and he mentions that an environment
variable QT_NO_NEON=1 exists to disable NEON usage by Qt.

So, my proposal is the following:

Compile Qt with NEON support by default on ARMv7. Include script in
startup that provides QT_NO_NEON=1 to the UX session based on NEON
presence in /proc/cpuinfo.

couldn't QT read /proc/cpuinfo (or do the equivalent of cpuid) instead of looking for the env variable?

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to