Date: Fri, 3 Jan 1997 13:15:47 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, cracauer@wavehh.hanse.de Cc: freebsd-current@freebsd.org Subject: Re: i586-optimized copyin/out still broken Message-ID: <199701030215.NAA13793@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>> Modified: sys/i386/isa npx.c >>> Log: >>> Disabled i586-optimized copyin and copyout again. The fault handler >>> is still broken - it doesn't restore the floating point state. >Could this problem result in NaN being produced at wrong places. No, it causes kernel panics. >I filled a PR (2142) about it, maybe it could be closed then. That is much harder to fix. It is caused by the floating point state not being preserved across signal handlers. There are few, if any, valid and useful uses for floating point in signal handlers, because an ANSI signal handler must not make any accesses to a global object other than assignment to ones of type `volatile sig_atomic_t'. Thus preserving the state would mainly slow down signal handlers. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701030215.NAA13793>