Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: Re: ev56 optimization -> illegal instruction
@ 1998-03-14 17:02 Jay.Estabrook
  0 siblings, 0 replies; only message in thread
From: Jay.Estabrook @ 1998-03-14 17:02 UTC (permalink / raw)
  To: axp-list


Sorry about the delay in responding...

>>> Richard Henderson wrote:
> >>> Alexander V. Lukyanov wrote:
> > /proc/cpuinfo says I have an ev56 (it's a pc164):
> > cpu                     : Alpha
> > cpu model               : EV56
> 
> Actually, I just noticed this.  The cpu is _not_ an ev56, despite
> what that cpu model field says.  config.guess should print the
> correct alphaev5.  Let me know if it doesn't.

The EB164 family has the following members:

	member	CPU	core logic  formal name
	---------------------------------------
	EB164	EV5	CIA
	PC164	EV56	CIA-2       AlphaPC164
	LX164	EV56	PYXIS       AlphaPC164-LX
	SX164   PCA56   PYXIS       AlphaPC164-SX

Now, the PC164 *does* have an EV56, but by default (SRM and ARC consoles)
the BWX (Byte-Word Extension) is *not* enabled, I believe. So when you
attempt to run code that includes BWX instructions, you *will* get an
illegal instruction fault. Control of this option is in one of those CPU
registers that can only be accessed via PALcode, so I guess one could
modify the MILO PALcode init to enable this, if one wanted.

Reason for the default being disabled? Perhaps the DEC compilers and/or OSes
may not have been up to the task at the time of hardware release, but I'm
not sure. And even though CIA-2 purportedly allowed byte-word access to I/O
space (ie in addition to the normal SPARSE and analogous to DENSE), it never
worked. PYXIS was the first core logic to implement this and have it work.

Be aware that PYXIS-based platforms *do* have BWX enabled by default (at
least in the latest console revisions, I believe), which includes LX164,
SX164, RUFFIAN, and MIATA.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-14 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-14 17:02 Re: ev56 optimization -> illegal instruction Jay.Estabrook

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