Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.os.minix Subject: Re: Floating point support in GCC Message-ID: <4499@skye.ed.ac.uk> Date: 17 Apr 91 12:31:24 GMT References: <1991Apr16.135942.18650@menudo.uh.edu> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 19 >>The correct solution to the problem is to modifiy the GCC 386 machine >>description so that it never generates any 387 instructions. This >Would not a better solution be to add a 387 emulator to the MINIX kernel? Excellent idea. I look forward to receiving it... :-) Seriously, this would be very useful, but it's a fairly difficult task - you have to decode the instructions, check that the process can legally access the operands, and deal with switching between processes as well as actually doing the arithmetic. It's also likely to result in slower code than just calling procedures. -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin