From owner-freebsd-alpha Tue Dec 14 13: 9:55 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id 879A314E6C for ; Tue, 14 Dec 1999 13:09:53 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id NAA29906; Tue, 14 Dec 1999 13:09:40 -0800 (PST) Message-Id: <199912142109.NAA29906@lestat.nas.nasa.gov> To: Wilko Bulte Cc: FreeBSD-alpha mailing list Subject: Re: use of -mcpu=21164a Reply-To: Jason Thorpe From: Jason Thorpe Date: Tue, 14 Dec 1999 13:09:39 -0800 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 14 Dec 1999 21:39:15 +0100 Wilko Bulte wrote: > Will adding -mcpu=21164a to CFLAGS in /etc/make.conf > result in code not running on EV4/21064 CPUs? The Alpha Architecture specifies that user programs can expect the kernel to emulate BWX, so it should work, albeit a bit more slowly in the event that BWX is actually used. Also, your assembler has to do the right thing; gas will treat the BWX instructions are macros and open-code the equivalent in EV4 instructions unless it is explicitly in EV56 (or greater) mode. If your compiler is targeted correctly, the assembler will behave properly. If not, you'll have to pass additional flags. -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message