Re: -march=x86_64 -mtune=generic question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 May 2022 at 11:15, Tom Kacvinsky via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
> A colleague of mine reminded me of this thread:
>
> slowdown with -std=gnu18 with respect to -std=c99
>
> So I checked what the default C standard for GCC 8.3.0 is (gnu11) and 12.1.0
> (gnu17).  So I used -std=c99 with the GCC 12.1 build of our code, and things
> went back to normal (and sometimes a teensy bit better).

N.B. the issue in that thread was the difference between -std=cNN and
-std=gnuNN, not the changes in the value of NN.

So you should be able to use -std=c17 and get the same performance as -std=c99.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux