Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 03:37:37 -0700
From:      Daniel Berlin <root@danberlin.resnet.rochester.edu>
To:        Bob Bishop <rb@gid.co.uk>
Cc:        Daniel Berlin <root@danberlin.resnet.rochester.edu>, Matthew Dillon <dillon@apollo.backplane.com>, Alex Zepeda <garbanzo@hooked.net>, current@FreeBSD.ORG
Subject:   Re: EGCS optimizations
Message-ID:  <Pine.SGI.4.05.9904060335340.5403-100000@danberlin.resnet.rochester.edu>
In-Reply-To: <l03020923b32f750157f4@[194.32.164.2]>

next in thread | previous in thread | raw e-mail | index | archive | help
I always use both (because it's in my darn makefiles :P), but that sounds
correct to me. If it said -mpentium implied -march=pentium, i'd say it's
lying.
most of the -m<whatever architecture> alone are worthless, it's the
-march's that matter (note i say most to mean of the 4 architectures i've
played with -m and -march on).


 On Tue, 6 Apr 1999, Bob Bishop wrote:

> Hi,
> 
> At 2:15 am -0700 6/4/99, Daniel Berlin wrote:
> >
> >Also, -mpentiumpro will actually usually generate WORSE code for a pentium
> >pro.
> >-mpentium and -march=pentium do better at it.
> 
> OK, but according to man cc:
> 
> >NAME
> >       gcc, g++ - GNU project C and C++ Compiler (egcs-1.1.2)
> [...]
> >       -mpentium
> >              Synonym for -mcpu=pentium
> [...]
> >	   Specifying  -march=cpu
> >              type implies -mcpu=cpu type.
> 
> If this is right, then -mpentium is redundant in the presence of
> -march=pentium.
> 
> 
> --
> Bob Bishop              (0118) 977 4017  international code +44 118
> rb@gid.co.uk        fax (0118) 989 4254  between 0800 and 1800 UK
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.05.9904060335340.5403-100000>