From owner-freebsd-alpha@FreeBSD.ORG Fri Jan 14 22:45:26 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 DD23816A4CE; Fri, 14 Jan 2005 22:45:25 +0000 (GMT) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47CEB43D46; Fri, 14 Jan 2005 22:45:25 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) j0EMjNnX049206; Fri, 14 Jan 2005 23:45:23 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.1/8.12.9) with ESMTP id j0EMjNVi017870; Fri, 14 Jan 2005 23:45:23 +0100 (CET) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.1/8.13.1/Submit) id j0EMjNQL017869; Fri, 14 Jan 2005 23:45:23 +0100 (CET) (envelope-from wb) Date: Fri, 14 Jan 2005 23:45:23 +0100 From: Wilko Bulte To: John Baldwin Message-ID: <20050114224523.GA17854@freebie.xs4all.nl> References: <16866.32790.398095.651691@canoe.dclg.ca> <20050114202618.GA17050@freebie.xs4all.nl> <20050114210716.GA17430@freebie.xs4all.nl> <200501141632.37649.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501141632.37649.jhb@FreeBSD.org> X-OS: FreeBSD 4.11-RC2 User-Agent: Mutt/1.5.6i X-Virus-Scanned: by XS4ALL Virus Scanner 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 22:45:26 -0000 On Fri, Jan 14, 2005 at 04:32:37PM -0500, John Baldwin wrote.. > 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. Looks like NO_CPU_COPTFLAGS=true # Don't add -march= to COPTFLAGS automatically fixes it on RELENG_4 -- Wilko Bulte wilko@FreeBSD.org