Changeset 5016


Ignore:
Timestamp:
Aug 23, 2006, 9:58:37 PM (18 years ago)
Author:
Gary Byers
Message:

x86-64 Darwin's math library is pretty casual about causing spurious
exceptions, so ignore them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-spentry64.s

    r5010 r5016  
    40394039        __(clr %ra0)
    40404040        __(pxor %fpzero,%fpzero)
    4041         __(stmxcsr %rcontext:tcr.ffi_exception)
     4041        /* Darwin's math library seems to be pretty casual
     4042           about causing spurious FP exceptions */
     4043        __ifdef([DARWIN])
     4044         __(movl %arg_x_l,%rcontext:tcr.ffi_exception)
     4045        __else
     4046         __(stmxcsr %rcontext:tcr.ffi_exception)
     4047        __endif
    40424048        __(movq $TCR_STATE_LISP,%rcontext:tcr.valence)
    40434049        __(movq %rcontext:tcr.save_vsp,%rsp)
Note: See TracChangeset for help on using the changeset viewer.