Re: what is the difference with and without crc extension support

2022-03-04 Thread Richard Earnshaw via Gcc
On 03/03/2022 13:41, Dongjiu Geng via Gcc wrote: Hi, My program does not use CRC instructions,but I find the compiled binary has much difference between using "-march=armv8-a+crc" and using "-march=armv8-a". Even stranger, when I use "-march=armv8-a+crc", I find my compiled binary can not r

Re: what is the difference with and without crc extension support

2022-03-04 Thread Martin Liška
On 3/3/22 14:52, Dongjiu Geng wrote: Thanks for the answer, my source file is complex,it is not convenient attach, because it is company code. I see. So then you can try -fdump-tree-optimized and compare the corresponding dump file. Or you can use -fdump-tree-all -fdump-rtl-all and do the sam

Re: what is the difference with and without crc extension support

2022-03-03 Thread Dongjiu Geng via Gcc
Thanks for the answer, my source file is complex,it is not convenient attach, because it is company code. According to your experience, what is the reason about it? Martin Liška 于2022年3月3日周四 21:48写道: > > On 3/3/22 14:41, Dongjiu Geng via Gcc wrote: > > Hi, > > My program does not use CRC

Re: what is the difference with and without crc extension support

2022-03-03 Thread Martin Liška
On 3/3/22 14:41, Dongjiu Geng via Gcc wrote: Hi, My program does not use CRC instructions,but I find the compiled binary has much difference between using "-march=armv8-a+crc" and using "-march=armv8-a". Even stranger, when I use "-march=armv8-a+crc", I find my compiled binary can not run.

what is the difference with and without crc extension support

2022-03-03 Thread Dongjiu Geng via Gcc
Hi, My program does not use CRC instructions,but I find the compiled binary has much difference between using "-march=armv8-a+crc" and using "-march=armv8-a". Even stranger, when I use "-march=armv8-a+crc", I find my compiled binary can not run. but when I change -O2 to -O0 based on "-march=ar