Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 13:09:39 -0800
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        FreeBSD-alpha mailing list <freebsd-alpha@FreeBSD.ORG>
Subject:   Re: use of -mcpu=21164a 
Message-ID:  <199912142109.NAA29906@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Tue, 14 Dec 1999 21:39:15 +0100 
 Wilko Bulte <wilko@yedi.iaf.nl> 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 <thorpej@nas.nasa.gov>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912142109.NAA29906>