Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Emulation vs microcode support for H-float
@ 1992-07-09 21:00 Scott Carter
  1992-07-09 22:48 ` CP/M lives!
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Scott Carter @ 1992-07-09 21:00 UTC (permalink / raw)


We've got a problem that can potentially be solved two ways:

Easily and cleanly using H-float

Painfully and unpleasantly using G and a lot of hackery.

Performance counts to some degree here, which is why I'm worried.  On
our 8700, a H format multiply-add pair takes on the order of ten microsecs,
which gives acceptable performance.  In some cases it is actually faster
than the hacked version using G.

However, this software must run on other machines too, including fairly
small machines (the customer benchmark machine is a 3100).  Does anyone
know:

a) which VAXen handle H in emulation; and
b) have some rough idea what the emulated performance is, e.g. nominal
VAX instructions (the ones that made the 780 "1 MIPS" :} rather than 
about 0.5 native MIPS) to perform a single H multiply or add?

Many thanks,
Scott

Scott Carter - McDonnell Douglas Electronic Systems Company
carter%csvax.decnet@mdcgwy.mdc.com (preferred and faster) - or -
carters@ajpo.sei.cmu.edu		 (714)-566-5741
The opinions expressed herein are solely those of the author, and are not
necessarily those of McDonnell Douglas.


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

* Re: Emulation vs microcode support for H-float
  1992-07-09 21:00 Emulation vs microcode support for H-float Scott Carter
@ 1992-07-09 22:48 ` CP/M lives!
  1992-07-17  4:56   ` Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859
  1992-07-10 14:34 ` Dileep Bhandarkar
  1992-07-11  2:30 ` Bob Supnik
  2 siblings, 1 reply; 7+ messages in thread
From: CP/M lives! @ 1992-07-09 22:48 UTC (permalink / raw)


In article <1992Jul9.210017.11172@sei.cmu.edu>, carters@ajpo.sei.cmu.edu (Scott Carter) writes:
> 
> a) which VAXen handle H in emulation; and

I can speak for the following processors using emulation:

- MicroVAX II chipset, used in MicroVAX II and 2000.
- CVAX chipset used in VAXstation 3100 and some other 3000-series
- SOC cpu used in newer VAXstation 3100, VXT2000, etc.
- Mariah cpu used in VAXstation 4000/60, VAX 65xx, 3100/80, etc.

As far as I can determine, as soon as the Age Of The MicroVAX arrived, 
H-floating in hardware was dropped right along with packed decimal.

BTW, Alpha also does not do H-floating in hardware. Doesn't do packed
decimal, either.

Roger Ivie
ivie@cc.usu.edu


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

* Re: Emulation vs microcode support for H-float
  1992-07-09 21:00 Emulation vs microcode support for H-float Scott Carter
  1992-07-09 22:48 ` CP/M lives!
@ 1992-07-10 14:34 ` Dileep Bhandarkar
  1992-07-12  9:38   ` John F Carr
  1992-07-11  2:30 ` Bob Supnik
  2 siblings, 1 reply; 7+ messages in thread
From: Dileep Bhandarkar @ 1992-07-10 14:34 UTC (permalink / raw)



In article <1992Jul9.210017.11172@sei.cmu.edu>, carters@ajpo.sei.cmu.edu (Scott Carter) writes...
>a) which VAXen handle H in emulation; and

All VAXes based on single chip CPU's emulate H in software. The VAX 
88xx/8700/85xx were the last VAXes to implement H in microcode. The VAX 9000
had it in microcode for a while, but I am not sure if it was removed later.

>b) have some rough idea what the emulated performance is, e.g. nominal
>VAX instructions (the ones that made the 780 "1 MIPS" :} rather than 
>about 0.5 native MIPS) to perform a single H multiply or add?

It is very slow. If my memory serves me right it was about 100x slower on the
original 780 on a per instruction basis. Entire programs depend on amount of
H content. The emulator also looks at the next instruction and does it if it is
to be emulated. This avoids the exception handling overhead. So sequences of H
instructions run faster than the same number sprinkled with non-emulated ones.

Dileep


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

* Re: Emulation vs microcode support for H-float
  1992-07-09 21:00 Emulation vs microcode support for H-float Scott Carter
  1992-07-09 22:48 ` CP/M lives!
  1992-07-10 14:34 ` Dileep Bhandarkar
@ 1992-07-11  2:30 ` Bob Supnik
  2 siblings, 0 replies; 7+ messages in thread
From: Bob Supnik @ 1992-07-11  2:30 UTC (permalink / raw)



In article <1992Jul9.210017.11172@sei.cmu.edu>, carters@ajpo.sei.cmu.edu (Scott Carter) writes...
> [text deleted]
>Does anyone know:
> 
>a) which VAXen handle H in emulation; and
>b) have some rough idea what the emulated performance is, e.g. nominal
>VAX instructions (the ones that made the 780 "1 MIPS" :} rather than 
>about 0.5 native MIPS) to perform a single H multiply or add?

The following VAX's implemented H_floating in microcode:

	- All VAX 11/7xx's
	- All VAX 8000's
	- VAXstation 8000
	- VAX 9000

The following VAX's implemented H_floating via emulation:

	- All MicroVAX's
	- All VAXstations except VAXstation 8000
	- All VAX 4000's
	- All VAX 6000's
	- VAX 7000, 10000 (new machines, just announced)
	- All VAXft's (fault tolerant)

Emulated h_floating is AT LEAST 100X slower than hardware floating point,
and possibly worse.

Bottom line: for portability, use g_floating.

Bob Supnik	>Supnik@human.enet.dec.com
		>All opinions expressed are those of a hardline microcoder
		>and do not reflect those of Digital Equipment Corporation


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

* Re: Emulation vs microcode support for H-float
  1992-07-10 14:34 ` Dileep Bhandarkar
@ 1992-07-12  9:38   ` John F Carr
  1992-07-13 21:15     ` Bob Supnik
  0 siblings, 1 reply; 7+ messages in thread
From: John F Carr @ 1992-07-12  9:38 UTC (permalink / raw)


In article <1992Jul10.144352.28002@ryn.mro4.dec.com>
	bhandarkar@wrksys.enet.dec.com (Dileep Bhandarkar) writes:

>The VAX 9000
>had it in microcode for a while, but I am not sure if it was removed later.

It was removed on our VAX 9000 sometime between april 1991 and march
1992.  Any idea why?  Did something more important use that microcode
space?

--
    John Carr (jfc@athena.mit.edu)


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

* Re: Emulation vs microcode support for H-float
  1992-07-12  9:38   ` John F Carr
@ 1992-07-13 21:15     ` Bob Supnik
  0 siblings, 0 replies; 7+ messages in thread
From: Bob Supnik @ 1992-07-13 21:15 UTC (permalink / raw)



In article <1992Jul12.093851.13337@athena.mit.edu>, jfc@athena.mit.edu (John F Carr) writes...
> [text deleted]
>It was removed on our VAX 9000 sometime between april 1991 and march
>1992.  Any idea why?  Did something more important use that microcode
>space?

The VAX 9000 still includes microcode implementation of MOST of the h_floating
instructions, including all the computational ones (add, sub, mul, div);  a
few were removed to deal with unexpected code expansion in other areas.  Among
the instructions removed was MOVH, which is the 'test' VMS applies to see if
it should load the h_floating emulator.  Thus, the VAX 9000 uses a mixture
of microcode implementation and macrocode emulation, with the former most
common.

Bob Supnik	>Supnik@human.enet.dec.com
		>All opinions expressed are those of a hardline microcoder
		>and do not reflect those of Digital Equipment Corporation


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

* Re: Emulation vs microcode support for H-float
  1992-07-09 22:48 ` CP/M lives!
@ 1992-07-17  4:56   ` Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859 @ 1992-07-17  4:56 UTC (permalink / raw)


From article <1992Jul9.164840.57158@cc.usu.edu>, by ivie@cc.usu.edu (CP/M lives!):
> In article <1992Jul9.210017.11172@sei.cmu.edu>, carters@ajpo.sei.cmu.edu (Scott Carter) writes:
>> 
>> a) which VAXen handle H in emulation; and
> BTW, Alpha also does not do H-floating in hardware. Doesn't do packed
> decimal, either.

Its a RISC processor for crying out loud. Of course it doesn't do 
packed decimal. I'd bet that it will run H-FLOAT emulation faster
than any VAX doing H-FLOAT in hardware.

	Mark :)


-- 
Mark Garrett	Internet:  mark@arvak.une.edu.au	Phone: 	+61 66 20 3859
   University of New England, Northern Rivers, Lismore NSW Australia.


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

end of thread, other threads:[~1992-07-17  4:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-07-09 21:00 Emulation vs microcode support for H-float Scott Carter
1992-07-09 22:48 ` CP/M lives!
1992-07-17  4:56   ` Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859
1992-07-10 14:34 ` Dileep Bhandarkar
1992-07-12  9:38   ` John F Carr
1992-07-13 21:15     ` Bob Supnik
1992-07-11  2:30 ` Bob Supnik

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