From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3653 invoked from network); 28 Mar 2000 20:34:00 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Mar 2000 20:34:00 -0000 Received: from zmamail01.zma.compaq.com (zmamail01.zma.compaq.com [161.114.64.101]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA27249 for ; Tue, 28 Mar 2000 15:33:50 -0500 Received: by zmamail01.zma.compaq.com (Postfix, from userid 12345) id 65735720; Tue, 28 Mar 2000 15:33:16 -0500 (EST) Received: from pdgsrv.mro.dec.com (pdgsrv.mro.dec.com [16.34.112.86]) by zmamail01.zma.compaq.com (Postfix) with ESMTP id 25D7A7D2 for ; Tue, 28 Mar 2000 15:33:16 -0500 (EST) Received: from linux04.mro.dec.com by pdgsrv.mro.dec.com; (8.8.8/1.1.8.2/13Dec96-1209PM) id PAA25448; Tue, 28 Mar 2000 15:33:15 -0500 (EST) Received: (from jestabro@localhost) by linux04.mro.dec.com (8.9.3/8.9.3) id PAA02212 for axp-list@redhat.com; Tue, 28 Mar 2000 15:35:21 -0500 Date: Tue, 28 Mar 2000 15:35:21 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: different alpha cpu compatibility issues? Message-ID: <20000328153521.A2198@linux04.mro.dec.com> Mail-Followup-To: axp-list@redhat.com References: <4DAF89CD261ED011A47B0000C0F973BFF6DE31@norge.is.sal.ksu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: On Tue, Mar 28, 2000 at 02:59:45PM -0500, Eric Ding wrote: > > OK, so here's the followup question -- how to compile specifically for EV4? As the self-documenting features of Alpha GCC are a bit sparse (:-), you could look at what the Makefile does for generating a "generic" kernel for Alpha; ie arch/alpha/Makefile. I believe it is something like: ifeq ($(CONFIG_ALPHA_GENERIC),y) CFLAGS := $(CFLAGS) -mcpu=ev5 endif Currently, the other options for -mcpu are: ev4 for AVANTI, NONAME, MULTIA, etc ev56 for PC164, LX164, MIATA, pca56 for SX164, RX164 ev6 for DP264, DS10, DS20, ES40, XP1000 ev4 and ev5 differ only in the scheduling of instructions. ev56 adds byte/word operations. pca56 adds the so-called MVI instructions (ie analogous to MMX) ev6 adds addition FP instructions, and probably some scheduling changes. In the future, perhaps ev67 will add the counting instructions (I think Richard already did code generation to use them, but it's not active). --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------