From owner-freebsd-current Tue Apr 6 0:44:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from danberlin.resnet.rochester.edu (danberlin.resnet.rochester.edu [128.151.84.217]) by hub.freebsd.org (Postfix) with SMTP id 3E0E815582 for ; Tue, 6 Apr 1999 00:44:45 -0700 (PDT) (envelope-from root@danberlin.resnet.rochester.edu) Received: from localhost (root@localhost) by danberlin.resnet.rochester.edu (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id DAA05409; Tue, 6 Apr 1999 03:37:37 -0700 Date: Tue, 6 Apr 1999 03:37:37 -0700 From: Daniel Berlin To: Bob Bishop Cc: Daniel Berlin , Matthew Dillon , Alex Zepeda , current@FreeBSD.ORG Subject: Re: EGCS optimizations In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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