[comp.sys.intel] 8086/8087 Relationship

jim@xios.XIOS.UUCP (James Tinkess) (02/09/88)

I'm reading the documentation on the 8087 NPX. From what I see it appears
that ANY arithmetic instruction will be executed on the 8087 if is present.
This (so the docu says) saves you from having to maintain 2 sets of libraries.
Ok, what does this mean? Does it mean that arithmetic instructions are
translated into 8087 instructions at run-time? Or must the 8087 instructions 
be generated by the assembler. 

What do I want to know?

I have Nabu 1600 running Xenix 2.0b, will the math libraries use the 8087?
If not, how can I make use of the 8087?

I ran a tests with and without the 8087. On 5000 calls to pow(base,pow);
base = e pow = 16; There was about a 1.6 second difference, this test 
may not be 'hard' enough. I would also like a good fp benchmark.

Slightly confused, Thanx...
-- 
"On the 8th day he documented"            James Tinkess 

Unet - utzoo!dciem!nrcaer!xios!jim  
Voice - (613)-725-5411-x342 
Land - XIOS Systems Corporation, 1600 Carling Ave. Ottawa, Ont. Canada K1Z 8R8