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=armv8-a+crc",  it can run. I  do
not  know what is the reason.. can you answer it? Thanks.


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. but when
I change -O2 to -O0 based on "-march=armv8-a+crc",  it can run. I  do
not  know what is the reason.. can you answer it? Thanks.


Hello.

Please report bug here:
https://gcc.gnu.org/bugzilla/

and attach a pre-processed source file:
https://gcc.gnu.org/bugs/

Martin


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 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=armv8-a+crc",  it can run. I  do
> > not  know what is the reason.. can you answer it? Thanks.
>
> Hello.
>
> Please report bug here:
> https://gcc.gnu.org/bugzilla/
>
> and attach a pre-processed source file:
> https://gcc.gnu.org/bugs/
>
> Martin


gcc-9-20220303 is now available

2022-03-03 Thread GCC Administrator via Gcc
Snapshot gcc-9-20220303 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/9-20220303/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 9 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch releases/gcc-9 
revision 1eab4bc3a10ac026b2a57617cc5d9114e1cc7cd8

You'll find:

 gcc-9-20220303.tar.xzComplete GCC

  SHA256=025a5beed7768cbea5637aded3b3385e6c3de18cc80190cd2c68f1c1d371827a
  SHA1=47f7428115dda7e55dc44ff079ef84c0c4f26c8a

Diffs from 9-20220224 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-9
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.