How to control GCC builtin functions optimization

2019-01-10 Thread Cao jin
table_64"' -c -o arch/x86/boot/compressed/pgtable_64.o arch/x86/boot/compressed/pgtable_64.c Now the questions is: from code-reading, it is kind of non-intuitive, is there any explicit way to control the optimization behavior accurately? -- Sincerely, Cao jin

Re: How to control GCC builtin functions optimization

2019-01-11 Thread Cao jin
Hi Martin, On 1/11/19 5:22 PM, Martin Liška wrote: > On 1/11/19 4:03 AM, Cao jin wrote: >> Now the questions is: from code-reading, it is kind of non-intuitive, is >> there any explicit way to control the optimization behavior accurately? > > Hi. > > Pleas

Re: How to control GCC builtin functions optimization

2019-01-11 Thread Cao jin
On 1/11/19 7:09 PM, Cao jin wrote: > Hi Martin, >> >> and possibly for: >> -mmemcpy-strategy >> >> and >> -mstringop-strategy=alg >> > > And yes, -mmemcpy-strategy worked as I expected. typo. It is -mstringop-strategy=byte_loop -- Sincerely, Cao jin