On Thursday, 09 January 2003, at 22:19:09 (-0500),
James Moss wrote:
> I won't argue the -Ox stuff, but I don't suppose you had a
> conversation with Zack Winberg about why in moving from gcc-2.95 to
> gcc-3 they deprecated '-mpentiumpro'? Also, the manpage lists
> -march=pentiumpro and -mcpu=pentiumpro as aliases, but whenever I've
> spoken to anyone there always seems to be a distinct favortism
> toward -march... are they not truly the same? If memory serves me
> correctly at one point in time, they were different... are they
> still but to a lesser degree, or are they really the same now?
They have never been the same, at least for as long as I've known them
to exist. From the info page:
Intel 386 Options
-----------------
These `-m' options are defined for the i386 family of computers:
`-mcpu=CPU TYPE'
Assume the defaults for the machine type CPU TYPE when scheduling
instructions. The choices for CPU TYPE are:
`i386' `i486' `i586' `i686'
`pentium' `pentiumpro' `k6'
While picking a specific CPU TYPE will schedule things
appropriately for that particular chip, the compiler will not
generate any code that does not run on the i386 without the
`-march=CPU TYPE' option being used. `i586' is equivalent to
`pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the
AMD chip as opposed to the Intel ones.
`-march=CPU TYPE'
Generate instructions for the machine type CPU TYPE. The choices
for CPU TYPE are the same as for `-mcpu'. Moreover, specifying
`-march=CPU TYPE' implies `-mcpu=CPU TYPE'.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`-m386'
`-m486'
`-mpentium'
`-mpentiumpro'
Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and
-mcpu=pentiumpro respectively. These synonyms are deprecated.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I've highlighted the important parts which should clarify why I said
to use -march= specifically.
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]>
n+1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"When the Lord closes a door, somewhere he opens a window."
-- Maria Von Trapp (Julie Andrews), "The Sound of Music"
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel