OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Sun Dec 02 2007 - 15:32:10 CST


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2007/12/02 14:32:10

Modified files:
        sys/arch/m88k/m88k: eh_common.S m88110_fp.S vectors_88110.S
        sys/arch/mvme88k/mvme88k: m197_machdep.c

Log message:
The beginning of a real floating-point exception handler for the 88110. The
existing code to enable TCFP was broken, as it was not setting the TCFP bit
in the right register.

So far, the exception handler will deliver SIGFPE in all cases. It will
eventually do the necessary rounding, and handle the odd-numbered register
pair operation, as I get time to write this (or see how much can be lifted
from the 88100 floating-point exception code).