Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: AXP-Liste <axp-list@redhat.com>
Subject: Re: Detecting EV67 cpus
Date: Tue, 4 Mar 2003 13:05:51 -0500	[thread overview]
Message-ID: <20030304130551.A6154@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20030304114717.GA10782@itp.uni-hannover.de>; from kreutzm@itp.uni-hannover.de on Tue, Mar 04, 2003 at 12:47:17PM +0100

On Tue, Mar 04, 2003 at 12:47:17PM +0100, Helge Kreutzmann wrote:
>
>             case 3 : return "ev7";  // I assume this

Assume this for EV7 and EV79 (see below for reference).

> For ev7 I guessed, but for ev67 it is definitly false because
> our XP1000 report ~mask=775 not 307. Also when looking into
> /proc/cpuinfo I see various entries for cpu model: Unknown, EV6 and
> EV67. Does anyone (Jay ?) know a proper table of ~mask values?

Sorry, I don't know why the XP1000 value is strange.

The AMASK bits are documented in the Alpha Architecture Reference, a
copy of which is available for download at:

    ftp://ftp.compaq.com/pub/products/alphaCPUdocs/

NOTE: this is the latest, last, and most complete edition to be made
publically available.

A quick summary:

bitno	extension
-----	-------

  0	byte/word instructions (BWX)
  1	square root and FP conversion (FIX)
  2	count instructions (CIX)
  8	multi-media instructions (MVI)
  9	precise arithmetic trap (PAT)
 12	support for prefetch with modify intent to improve (PMI)

So, from your switch statement we see:

	CPU	extensions
	---	----------

	EV4	none
	EV5	none
	EV56	BWX
	PCA56	BWX and MVI

	EV6	BWX and FIX and MVI and PAT
	EV67	BWX and FIX and CIX and MVI and PAT
	EV68	BWX and FIX and CIX and MVI and PAT and PMI

	/* I believe the following EV7/EV79 info is correct. */
	EV7	BWX and FIX and CIX and MVI and PAT and PMI
	EV79	BWX and FIX and CIX and MVI and PAT and PMI

 --Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
-----------------------------------------------------------------------------




      reply	other threads:[~2003-03-04 18:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 11:47 Detecting EV67 cpus Helge Kreutzmann
2003-03-04 18:05 ` Jay Estabrook [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox