From owner-freebsd-alpha@FreeBSD.ORG Mon Dec 13 19:24:05 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD75516A4CE for ; Mon, 13 Dec 2004 19:24:05 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F82C43D64 for ; Mon, 13 Dec 2004 19:24:05 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.1/8.13.1) with ESMTP id iBDJO2ep043639; Mon, 13 Dec 2004 11:24:05 -0800 (PST) (envelope-from marcel@xcllnt.net) In-Reply-To: <200412131300.34382.kirk@strauser.com> References: <200412131130.59807.kirk@strauser.com> <83229A4B-4D2E-11D9-9C15-000D93C47836@xcllnt.net> <200412131300.34382.kirk@strauser.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8B2E39C7-4D3C-11D9-BEF4-000D93C47836@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Mon, 13 Dec 2004 11:24:01 -0800 To: Kirk Strauser X-Mailer: Apple Mail (2.619) cc: freebsd-alpha@freebsd.org Subject: Re: Safe (but quick) GCC settings on a PC64 with 5.3? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 19:24:06 -0000 On Dec 13, 2004, at 11:00 AM, Kirk Strauser wrote: > Out of curiosity, on my Athlon systems I can set "CPUTYPE=athlon-tbird" > in /etc/make.conf and it will automatically add "-march=athlon-tbird" > to my > system and ports builds. On my Alpha, though, it only adds > "-mcpu=ev45" > and not the expected "-march=ev45". Is this general to all Alphas, or > is > it because my ev45 is the bottom of the barrel instruction-wise so > there's > no instruction set optimization to be had? The interpretation of the -m options vary per platform. The meaning of -mcpu on alpha is the same as -march on i386: instruction selection and scheduling. -mtune is used to control instruction scheduling only and on i386 (at least) -mcpu is a deprecated synonym for that. It's a bit odd, but it looks like the GCC folks are trying to normalize things here. See also: http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Submodel- Options.html#Submodel-Options -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net