Fix FP traps on OSX/x86-64.
authorAlastair Bridgewater <nyef@virtdev-1.lisphacker.com>
Mon, 24 Oct 2011 02:36:24 +0000 (22:36 -0400)
committerAlastair Bridgewater <nyef@virtdev-1.lisphacker.com>
Mon, 24 Oct 2011 13:57:44 +0000 (09:57 -0400)
commitf60e9933a652a3b6ff5d3176f85a41833c1bc338
treeb1781178529d54d28ce5082faa180adcf1234cf1
parent987e39e16c89c33f163f8f2d85cc28f67738d67d
Fix FP traps on OSX/x86-64.

  * De-cripple SB-INT:SET-FLOATING-POINT-MODES for this platform.

  * Enable restoring the FPU control word during interrupt handling
on this platform (RESTORE_FP_CONTROL_FROM_CONTEXT).

  * Implement restoring the FPU control word on this platform
(os_restore_fp_control).

  * Update :FAILS-ON information for the now-passing tests.

  * Insert an addtional copy of test float.pure.lisp /
(ADDITION-OVERFLOW BUG-372) to detect failure to restore the FPU
control word in signal handling, with appropriate commentary.
NEWS
src/code/float-trap.lisp
src/runtime/x86-64-darwin-os.c
src/runtime/x86-64-darwin-os.h
tests/float.pure.lisp