From owner-cvs-all Thu Feb 22 4:59:36 2001 Delivered-To: cvs-all@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id C7D2537B491; Thu, 22 Feb 2001 04:59:27 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.22 #1) id 14VvLB-0005Nc-00; Thu, 22 Feb 2001 13:59:25 +0100 Received: from a2a16.pppool.de ([213.6.42.22] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.22 #1) id 14VvL9-00060F-00; Thu, 22 Feb 2001 13:59:24 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.2/8.11.2) with ESMTP id f1MCJSF08422; Thu, 22 Feb 2001 13:19:29 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200102221219.f1MCJSF08422@Magelan.Leidinger.net> Date: Thu, 22 Feb 2001 13:19:26 +0100 (CET) From: Alexander Leidinger Subject: Re: cvs commit: src/share/mk sys.mk To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-Reply-To: <20010221114805.A96924@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21 Feb, David O'Brien wrote: >> BTW, may be -mcpu=${MACHINE_CPU} can be added to the default CFLAGS now? > > I am nervous about this on the Alpha unless very well tested. We all > know that an ev4 system as the ev4 cannot handled ev56-only instructions. > [note the release building box and package cluster are ev56 machines] > According to the GCC manual for 3.0 (in development), -mcpu on the Alpha > includes the functionality of -march: [Quoting the docs] Reading "man gcc" on my -current (gcc 2.95.3) I interpret this as: - -mcpu does the _instruction scheduling_ for the specified CPU - -march _uses instructions_ of the specified CPU So using -mcpu may slow down a program on a different CPU, but it didn't uses instructions for the specified CPU. Is this a bug in the 2.95.3 manual (I think not) or does the behavior change in gcc 3.0 (that would be bad, is this a fixed decission)? Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message