This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: Re: [Fwd: Re: Kernel 2.4 CPU Arch issues]
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: "William M. Quarles" <quarlewm at jmu dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 23 Jul 2003 07:19:30 -0700
- Subject: Re: Fwd: Re: [Fwd: Re: Kernel 2.4 CPU Arch issues]
- References: <80aa9292.a7a44443.de87200@mpmail1.jmu.edu>
"William M. Quarles" <quarlewm@jmu.edu> writes:
> Hi,
>
> I heard this gnasty rumor attached below that says that GCC
> can't optimize any differently between any of the P6 or later
> processors, so that -march=pentiumpro and -march=pentium2 for
-march=pentium2 allows generation of mmx instrctions,
-march=pentiumpro does not. (I don't know if the optimizer makes
much use of mmx however.) I believe -march=pentium2 also implies
different parameters to the scheduler.
See
http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options
for more info on these options.
> example will always compile the same. I have not been able to
> find anything in the GCC documentation, buglist, or
> limitations list that suggests that this is the case. Is what
> this developer telling me true?
[snip]
They will often result in the same code, but not always. They do
affect use of the x86 builtins
see:
http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/X86-Built-in-Functions.html#X86%20Built-in%20Functions