[comp.sys.nsc.32k] NS 32532 information wanted

blj@bach.csg.uiuc.edu (Bob Janssens) (08/09/89)

I am doing some work with assembly code on the 32532-based encore multimax.
I have the "Series 32000 Programmer's Reference Manual" by Colin Hunter.
What I would like to have is a reference that goes into the specifics of
the 32532, especially instruction clock counts.  If anybody knows of any
references I would appreciate it if you would email me.

Bob Janssens
blj@bach.csg.uiuc.edu

roger@nsc.nsc.com (Roger Thompson) (08/09/89)

In article <1711@garcon.cso.uiuc.edu>, blj@bach.csg.uiuc.edu (Bob Janssens) writes:
> I am doing some work with assembly code on the 32532-based encore multimax.
> I have the "Series 32000 Programmer's Reference Manual" by Colin Hunter.
> What I would like to have is a reference that goes into the specifics of
> the 32532, especially instruction clock counts.  If anybody knows of any
> references I would appreciate it if you would email me.
> 

The instruction timing depends on the program itself and how
it is executed by the execution pipeline.  In one context an
instruction will take a minimum of 2 clocks and in another
context that same instruction could take 4 or more.  Charts and
tables etc really don't help.  To optimise the performance
you are best off to trust the optimiser in the compiler.
Trying to hand optimize is a unique skill.  To get a flavor of performance,
write your test program in C or other supported HLL, turn on the
Optimizer and let it run.

gs@yoda.chips.com (George Scolaro) (08/10/89)

In article <13274@nsc.nsc.com> roger@nsc.nsc.com (Roger Thompson) writes:
>In article <1711@garcon.cso.uiuc.edu>, blj@bach.csg.uiuc.edu (Bob Janssens) writes:
>> What I would like to have is a reference that goes into the specifics of
>> the 32532, especially instruction clock counts.  If anybody knows of any
>> references I would appreciate it if you would email me.
>> 
>
>tables etc really don't help.  To optimise the performance
>you are best off to trust the optimiser in the compiler.
>Trying to hand optimize is a unique skill.  To get a flavor of performance,
>write your test program in C or other supported HLL, turn on the
>Optimizer and let it run.
^^^^^^^^^^^^
This works great if you want to use a HLL for everything, but if you have
to write in assembly code to access special hardware etc (and we've had to
do it many times), then you must have access to instruction timing! Besides,
if the compiler (ie compiler writer) knows how to generate fast code then
the information is obviously available.

If you want a detailed description of how to calculate instruction timing,
refer to the 32GX32 data book (the newest one). It describes all instruction
timing including interactions with other instructions, the pipeline, cache
issues etc etc. Since the same timing refers to the 32GX32 and the 32532
you can use either new data book. I am not sure if the instruction timing
is in the 32532 data book, but it is definitely in the 32GX32 book.