Re: amd64 arch and optimization flags?
Tollef Fog Heen <tfheen <at> err.no> writes:
> ]] Jaromír Mikeš
> > Aha ... so these default flags are added by compiler and they are not
> > controlled by debian tools at all?
> > Can I see somewhere default flags for different archs?
> run gcc -dumpspecs on the different platforms and you can see them.
No, that won’t display them either.
gcc/gcc/config/i386/i386.[ch] and …/linux*.h would have them, for example
/* Enable by default the SSE and MMX builtins. */
target_flags |= (MASK_SSE2 | MASK_SSE | MASK_MMX |
ix86_fpmath = FPMATH_SSE;
ix86_fpmath = FPMATH_387;