From owner-freebsd-current Sat Mar 18 6: 8:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 08AD737B53F for ; Sat, 18 Mar 2000 06:08:49 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup1-23.iptelecom.net.ua [212.9.226.23]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id QAA15575; Sat, 18 Mar 2000 16:12:47 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id QAA01155; Sat, 18 Mar 2000 16:07:50 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38D38DB4.509791D0@altavista.net> Date: Sat, 18 Mar 2000 16:07:49 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Thomas =?koi8-r?Q?K=C3llmann?= Cc: R Joseph Wright , freebsd-current@FreeBSD.ORG Subject: Re: gcc -Os optimisation broken (RELENG_4) References: <20000317125045.A15480@schumann.cx> <20000318031845.A1816@home.net> <20000318133724.A3411@home.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Köllmann wrote: > I wrote/schrieb (Saturday, March 18, 2000): > > | R Joseph Wright wrote/schrieb (Friday, March 17, 2000): > | > | | > In contrast, I've been using -Os -march=pentium during the last three > | | > months for buildworld and the kernel. Never had problems whatsoever. > | | > | | Perhaps this is a bit off topic, but can the pentium optimisations be used > | | for AMD K6 processors? > | > | I did a `make world' yesterday with > | CFLAGS= -O2 -pipe -march=pentium > | COPTFLAGS= -O2 -pipe -march=pentium > | (inspired by recent mention of optimizing on this list) on my > | AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) > | desktop machine. It still runs, but I'll have yet to see whether > | this will cause any suspicious behaviour. [...] > > I've just learned that there is a `-march=k6' even though the man > page for gcc-2.95.1 does not mention it... GNU folks are very reluctant in respect of updating man pages (they think that man pages is obsolete feature). If you would look into gcc man page thoroughly you could find following disclaimer in its very beginning: This man page is not kept up to date except when volun- teers want to maintain it. If you find a discrepancy between the man page and the software, please check the Info file, which is the authoritative documentation. Therefore if you want to learn about new options and optimisations than it would be better to read info pages instead (info gcc). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message