This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mutex in frame code


> > From: Joe Buck <jbuck@Synopsys.COM>
> > To: law@cygnus.com
> > Date: Tue, 26 Jan 99 9:54:36 PST
> 
> > But for i386, we have -mcpu=x -march=y, and -mcpu for Intel means
> > the same as -mtune on Sparc!  -march is used to generate code that
> > requires a particular processor.
> 
> This is unfortunate.  We need a command decision to bit the bullet and
> then to make the ports conform to this decision and document it.
> :-(  My guess is the SPARC port is wrong and should be fixed.

Well on the ARM, -mcpu=<cpu> is short-hand for "-march=<archof(cpu)> 
-mtune=cpu".  It makes life a little more complicated for me, but much 
easier for the user since only one option has to be given instead of two.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]