goldsted@pur-ee.UUCP (Dan E Goldstein) (05/24/88)
I am looking for the flag values in the fpcr register of the MC68881 floating point chip that is used in the sun3's. This information is in the MC68881 Users Manual. But so far I havn't been able to locate this manual. I was hoping to find someone who had this manual and was willing to type in the meanings of these flags in the fpcr register and mail them to me. What I am trying to do is make the sun send a SIGFPE opon getting a floating point exception in the 68881. I have it so it sends a SIGFPE for every time the 68881 gets an exception but unfortunately the 68881 gives exceptions on things like lack of precision. Example. real x x = 1.1 would give a precision error. This is good but most of the time I only want to catch divide by zero and under/over flow. Thanks in advance to any kind soul willing to crack their MC68881 manual and send me the values of the fpcr register. Dan Goldstein ECN goldsted@gb.ecn.purdue.edu pur-ee!goldsted