Subject: Re: Two versions of libm vs. real coproc emulation
To: Michael Graff <explorer@vorpal.com>
From: John Brezak <brezak@apollo.hp.com>
List: port-i386
Date: 12/19/1994 08:55:30
> 
> Has anyone ever thought of working on the math coproc emulation code in
> NetBSD to try to make it emulate the floating processor more closely, so
> libm can be compiled be default to use the fpu instructions?
> 
> I at least am getting tired of having to edit that Makefile every time I
> sup to get some form of speed out of math.
> 
> If not, I may attack this eventually, but it will most certainly be a while
> before I have the chance to do much with it.
> 
> Thanks,
> --Michael
Have a look in FreeBSD /sys/gnu/i386/fpemul . It is from 

        W. Metzenthen, 22 Parker St, Ormond, Vic 3163,
        Australia.  E-mail   billm@vaxc.cc.monash.edu.au

It is copylefted, so I'm not sure if this is really suitable. What might
be interesting is to make this code modload'able. Leave the existing
math_emulate.c code there for yucks, never build it into the kernel and
load the emulator for those systems that don't have a (working) math
coproc.



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 John Brezak                    UUCP:     uunet!apollo.hp!brezak
 Hewlett Packard/Apollo         Internet: brezak@ch.hp.com
 300 Apollo Drive               Phone:    (508) 436-4915
 Chelmsford, Massachusetts      Fax:      (508) 436-5140