Subject: fpspnull.s
To: None <port-m68k@sun-lamp.cs.berkeley.edu>
From: None <mycroft@gnu.ai.mit.edu>
List: port-m68k
Date: 07/03/1994 06:23:34
... is totally bogus.  A better way to get this effect is to simply
#ifdef the code which sets up the exception vectors in locore.  i.e.,
int the Amiga port:

#ifdef FPSP
        lea     Lvectab+0xc0,a0         | set up 68040 floating point
        movl    #fpsp_bsun,a0@+         |  exception vectors
        movl    #real_inex,a0@+
        movl    #real_dz,a0@+
        movl    #fpsp_unfl,a0@+
        movl    #fpsp_operr,a0@+
        movl    #fpsp_ovfl,a0@+
        movl    #fpsp_snan,a0@+
        movl    #fpsp_unsupp,a0@+
#endif

Anything that uses floating point will then core dump.  If you don't
like that behavior, then panic in identify_cpu() or something.


------------------------------------------------------------------------------