Aarch64 gcc does not optimize function when applied as function attribute

2018-12-05 Thread Roger Cuypers
Greetings, I’m trying to have the Aarch64 gcc optimize a single function using the O3 optimization in this manner: void __attribute__ ((optimize ("-O3", "-ftree-vectorize" ))) However, when examining the assembler code, there is no trace of any optimization beyond the project default. The only

Re: Aarch64 gcc does not optimize function when applied as function attribute

2018-12-05 Thread Christophe Lyon
On Wed, 5 Dec 2018 at 15:34, Roger Cuypers wrote: > > Greetings, > > I’m trying to have the Aarch64 gcc optimize a single function using the O3 > optimization in this manner: > > void __attribute__ ((optimize ("-O3", "-ftree-vectorize" ))) > However, when examining the assembler code, there is no