From owner-freebsd-alpha@FreeBSD.ORG Fri Jan 14 21:32:08 2005 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 8829816A4CE for ; Fri, 14 Jan 2005 21:32:08 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E15743D53 for ; Fri, 14 Jan 2005 21:32:08 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25361 invoked from network); 14 Jan 2005 21:32:08 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) AES256-SHA encrypted SMTP for ; 14 Jan 2005 21:32:07 -0000 Received: from [10.50.40.231] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id j0ELW4UZ043593; Fri, 14 Jan 2005 16:32:05 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Wilko Bulte Date: Fri, 14 Jan 2005 16:32:37 -0500 User-Agent: KMail/1.6.2 References: <16866.32790.398095.651691@canoe.dclg.ca> <20050114202618.GA17050@freebie.xs4all.nl> <20050114210716.GA17430@freebie.xs4all.nl> In-Reply-To: <20050114210716.GA17430@freebie.xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501141632.37649.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-alpha@FreeBSD.org Subject: Re: processor type. 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: Fri, 14 Jan 2005 21:32:08 -0000 On Friday 14 January 2005 04:07 pm, Wilko Bulte wrote: > On Fri, Jan 14, 2005 at 09:26:18PM +0100, Wilko Bulte wrote.. > > > On Fri, Jan 14, 2005 at 02:25:07PM -0500, John Baldwin wrote.. > > > > > On Friday 14 January 2005 01:26 pm, Wilko Bulte wrote: > > > > On Fri, Jan 14, 2005 at 10:43:00AM -0500, John Baldwin wrote.. > > > > > > > > > On Friday 14 January 2005 02:43 am, Wilko Bulte wrote: > > > > > > On Thu, Jan 13, 2005 at 04:26:51PM -0800, David O'Brien wrote.. > > > > > > > > > > > > > On Mon, Jan 10, 2005 at 08:16:06AM -0500, David Gilbert wrote: > > > > > > > > I see in the compiler lines crawling by that gcc is asked to > > > > > > > > optimize for 'EV5' while being compatible with 'EV4'. My > > > > > > > > Alpha is an EV4 --- I'm wondering if I would see better > > > > > > > > performance with a different flag there, but the gcc manual > > > > > > > > doesn't even acknowledge > > .... > > > > on "common" machines while still supporting older models. There's > > > certainly no harm in bumping the default -mtune to ev6 if we feel that > > > most Alpha users are ev6 rather than ev5. > > > > Hm, I suppose I could do this in HEAD. > > > > I'll run an experiment with a worldstone built using an ev5 world and > > compare that to a worldstone built using an ev6 world. Stay tuned. > > Things are not entirely clean it seems on RELENG_4_11 and probably RELENG_4 > as well: > > cc -c -O -pipe -mcpu=ev6 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL > -include opt_global.h -mno-fp-regs -Wa,-mev56 > /usr/src/sys/kern/uipc_syscalls.c > cc -c -O -pipe -mcpu=ev6 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL > -include opt_global.h -mno-fp-regs -Wa,-mev56 > /usr/src/sys/kern/uipc_usrreq.c > {standard input}: Assembler messages: > {standard input}:2145: Error: opcode `minsw4' not supported for target ev56 > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/DS10. > > This -mev56 should obviously not be there. Duh.. > > The buildworld itself ran fine with CPUTYPE=ev6 in /etc/make.conf I can't find where the -mev56 comes from, but I have used CPUTYPE=ev6 in my DS20 for a long time on -CURRENT without a problem. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org