Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Possibly a stupid question about 21164/21064 instruction diffs.
  1998-12-30 21:34 Possibly a stupid question about 21164/21064 instruction diffs Alvin Starr
@ 1998-12-30 21:06 ` Richard Henderson
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1998-12-30 21:06 UTC (permalink / raw)
  To: axp-list

On Wed, Dec 30, 1998 at 04:34:07PM -0500, Alvin Starr wrote:
> I have a couple of binaries that have been generateed for a 21164. This is
> a problem since at this point I have a number of 21064/66 systems that I
> do not wish to trash.

There are no 21164 vs 21064 instruction differences.

There are differences from 21164a though.

> Would it not be possible to trap the invalid instruction and execute it in
> the kernel. I know there would be a big speed hit but at least the program
> would run. 

Yes it is possible.  See the opDEC case in do_entIF in
arch/alpha/kernel/traps.c.


r~


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Possibly a stupid question about 21164/21064 instruction diffs.
@ 1998-12-30 21:16 Joachim Wesner
  1998-12-31  2:49 ` Alvin Starr
  1998-12-31  8:58 ` Richard Henderson
  0 siblings, 2 replies; 5+ messages in thread
From: Joachim Wesner @ 1998-12-30 21:16 UTC (permalink / raw)
  To: axp-list

Richard Henderson wrote:
> 
> On Wed, Dec 30, 1998 at 04:34:07PM -0500, Alvin Starr wrote:
> > I have a couple of binaries that have been generateed for a 21164. This is
> > a problem since at this point I have a number of 21064/66 systems that I
> > do not wish to trash.
> 
> There are no 21164 vs 21064 instruction differences.
> 

Sure ???? What about Byte/Word extension (BWX) instructions ?? I thought
this is only in EV5, EV56, PCA56 and up (>= 21164x). (IMPLVER = 1)

However, does gcc/egcs ever use those ??


Greetings,


Joachim


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Possibly a stupid question about 21164/21064 instruction diffs.
@ 1998-12-30 21:34 Alvin Starr
  1998-12-30 21:06 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Alvin Starr @ 1998-12-30 21:34 UTC (permalink / raw)
  To: axp-list


I have a couple of binaries that have been generateed for a 21164. This is
a problem since at this point I have a number of 21064/66 systems that I
do not wish to trash.

Would it not be possible to trap the invalid instruction and execute it in
the kernel. I know there would be a big speed hit but at least the program
would run. 



Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Possibly a stupid question about 21164/21064 instruction diffs.
  1998-12-30 21:16 Joachim Wesner
@ 1998-12-31  2:49 ` Alvin Starr
  1998-12-31  8:58 ` Richard Henderson
  1 sibling, 0 replies; 5+ messages in thread
From: Alvin Starr @ 1998-12-31  2:49 UTC (permalink / raw)
  To: axp-list

On Wed, 30 Dec 1998, Joachim Wesner wrote:

> Richard Henderson wrote:
> > 
> > On Wed, Dec 30, 1998 at 04:34:07PM -0500, Alvin Starr wrote:
> > > I have a couple of binaries that have been generateed for a 21164. This is
> > > a problem since at this point I have a number of 21064/66 systems that I
> > > do not wish to trash.
> > 
> > There are no 21164 vs 21064 instruction differences.
> > 
> 
> Sure ???? What about Byte/Word extension (BWX) instructions ?? I thought
> this is only in EV5, EV56, PCA56 and up (>= 21164x). (IMPLVER = 1)
> 
> However, does gcc/egcs ever use those ??

Just a while ago the JDK binaries only existed in a 21164x version that
would not run on my older 21064's. These must have been produced with
either gcc or egcs.

Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Possibly a stupid question about 21164/21064 instruction diffs.
  1998-12-30 21:16 Joachim Wesner
  1998-12-31  2:49 ` Alvin Starr
@ 1998-12-31  8:58 ` Richard Henderson
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1998-12-31  8:58 UTC (permalink / raw)
  To: axp-list

On Wed, Dec 30, 1998 at 10:16:17PM +0100, Joachim Wesner wrote:
> > There are no 21164 vs 21064 instruction differences.
> > 
> Sure ???? What about Byte/Word extension (BWX) instructions ?? I thought
> this is only in EV5, EV56, PCA56 and up (>= 21164x). (IMPLVER = 1)

You should have read the next line concerning 21164a. 
EV56 implements BWX, plain old EV5 does not.

> However, does gcc/egcs ever use those ??

Sure, -mcpu=ev56, or at compiler configure time use alphaev56-*.
This is probably just egcs and gcc 2.8.


r~


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-12-31  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-30 21:34 Possibly a stupid question about 21164/21064 instruction diffs Alvin Starr
1998-12-30 21:06 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1998-12-30 21:16 Joachim Wesner
1998-12-31  2:49 ` Alvin Starr
1998-12-31  8:58 ` Richard Henderson

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