This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/10301: Side effects of architecture specific flags are not documented.
- From: Garen <garen at wsu dot edu>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,hubicka at gcc dot gnu dot org, garen at garen dot net
- Date: Thu, 24 Apr 2003 06:38:31 -0700
- Subject: Re: other/10301: Side effects of architecture specific flags are not documented.
According to http://gcc.gnu.org/gcc-3.2/changes.html, which says:
Fixed common compiler crashes with SSE instruction set enabled (implied by
-march=pentium3, pentium4, athlon-xp)
I still don't see those implications of -msse and -msse2 anywhere in the
manual still. I don't see how that couldn't be "confusing".
In the x86 option sections the flags are listed with no info:
-mmmx
-mno-mmx
-msse
-mno-sse
-msse2
-mno-sse2
-m3dnow
It would be nice if instead it was something like:
-mmmx Enable MMX instructions. Implied by -march=pentium-mmx, -march=pentium2
-mno-mmx Disable MMX instructions.
-msse Enable SSE instructions. Implied by -march=pentium3, -march=athlon-*
-mno-sse Disable SSE instructions.
-msse2 Enable SSE2 instructions. Implied by -march=pentium4, ...
-mno-sse2 Disable SSE2 instructions.
-m3dnow Enable 3DNow! instructions. Implied by -march=athlon-*