*BSD News Article 5372


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!sdd.hp.com!think.com!paperboy.osf.org!meissner
From: meissner@osf.org (Michael Meissner)
Newsgroups: comp.unix.bsd
Subject: Re: Help with math emulator!!!
Message-ID: <MEISSNER.92Sep21143556@tiktok.osf.org>
Date: 21 Sep 92 21:35:56 GMT
References: <19c1e4INN81h@agate.berkeley.edu> <1992Sep20.082035.19305@klaava.Helsinki.FI>
Sender: news@osf.org (USENET News System)
Organization: Open Software Foundation
Lines: 22
In-Reply-To: torvalds@klaava.Helsinki.FI's message of 20 Sep 92 08:20:35 GMT

In article <1992Sep20.082035.19305@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Torvalds) writes:

| In article <19c1e4INN81h@agate.berkeley.edu> randyc@soda.berkeley.edu (Yen-Pang Randy Chou) writes:
| >
| >I was trying to compile vogl(emulates an sgi on X), and ran into the following
| >error message when I tried running one of the sample files :
| >
| >math_emulate: instruction d9ff not implemented
| 
| 0xd9ff is the code for "fcos", which is indeed not handled by the
| emulator (along with all the other trigonometric/logarithmic functions). 
| The math emulator only handles those instructions which gcc normally
| generates (loads/stores/add/sub/mul/div/cmp and state save/restore).  I
| don't think the bsd emulator even contains the fsqrt code which I added
| later for linux (as gcc-2.x can generate that too). 

Note that GCC 2.3 will also generate fcos and fsin.
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.