Re: Behaviour of -msse -march=athlon

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

 



Ryan Hill <dirtyepic@xxxxxxxxxx> writes:

> Are -march options expected to override any relevant options specified
> previously on the command line?

No.  -march should only override previous -march options.  Doing
anything else is complicated and error-prone.

That said, I think it would be reasonable if the compiler issued
warnings about incompatible options after all options have been
parsed.

> It appears in GCC-4.2.0 that SSE movss
> instructions will be generated when for example the following code is compiled
> with -msse -march=athlon:

Don't do that, then.

Ian

[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