From owner-freebsd-current Thu Mar 16 11:43:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id E771737BCBF for ; Thu, 16 Mar 2000 11:43:06 -0800 (PST) (envelope-from jeff-ml@mountin.net) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id NAA14976; Thu, 16 Mar 2000 13:42:43 -0600 (CST) (envelope-from jeff-ml@mountin.net) Received: from dial-72.max1.wa.cyberlynk.net(207.227.118.72) by peak.mountin.net via smap (V1.3) id sma014969; Thu Mar 16 13:42:18 2000 Message-Id: <4.3.2.20000316132120.00af5ce0@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Thu, 16 Mar 2000 13:39:56 -0600 To: naddy@mips.rhein-neckar.de (Christian Weisgerber), freebsd-current@FreeBSD.ORG From: "Jeffrey J. Mountin" Subject: Re: gcc -Os optimisation broken (RELENG_4) In-Reply-To: <8aqksg$1ah2$1@bigeye.rhein-neckar.de> References: <38CF48CF.59A100D7@altavista.net> <38D08908.C629B55E@gorean.org> <38D08ADF.9C28C61E@cvzoom.net> <20000316023655.B64165@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:42 PM 3/16/00 +0100, Christian Weisgerber wrote: >David O'Brien wrote: > > > What??? 'pentiumpro' code isn't going to be very optimized for a Pentium > > (if it even runs at all). > >According to the gcc(1) man page, -mpentiumpro is synonymous to >-mcpu=pentiumpro, which only affects instruction scheduling but >not the actual instruction set used (for that, use -march=...). >So it certainly should run. > >If you are aware that the man page is wrong in this respect, please >tell us! Wondering why one would use -mcpu and not -march. If the code runs only on Celerons, PII's, and PIII's why would one *not* use -march. I'm curious about (possible) breakages with -mcpu or -march compared to -Ox settings which seem to break things more often than -O. Only ask, since -Ox and individual flags (rather than the mulititude added going from -O to -O2) are used far more often. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message