[Interest] Compiler optimisation flags on Android

Nuno Santos nunosantos at imaginando.pt
Tue May 3 19:42:42 CEST 2016


Thiago,

Thanks for your explanation.

I will try to understand if it is bringing me benefits or not. 

Regards,

Nuno 

> On 03 May 2016, at 18:18, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On terça-feira, 3 de maio de 2016 18:14:11 PDT Nuno Santos wrote:
>> Because, from my experience with the code compiled for Intel, putting -O3
>> made a huge difference on the processing code of my audio app. But the same
>> might not be valid for arm. That’s why I’m asking.
> 
> -O3 not only enables all of -O2, but also enables optimisations that increase 
> code size considerably. One of them is -ftree-vectorize, which is one of the 
> reasons why your code and QtCore benefit a lot from it.
> 
> I have no clue whether GCC's -ftree-vectorize support on ARM is any good. In 
> any case, I doubt that you can count on Neon support on all those Android 
> devices anyway, so it's likely that the gain is minimal anyway.
> 
> PS: QtCore and QtGui are compiled with CONFIG += optimize_full, which enables 
> -O3.
> 
> -- 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160503/fae88463/attachment.html>


More information about the Interest mailing list