[Openmcl-cvs-notifications] Commit: ccl/lisp-kernel

gb@clozure.com gb at clozure.com
Thu Oct 5 14:46:07 MDT 2006


Affected files with versions:
  x86-exceptions.c,1.54
-----------------------------------
Details:

  Update of /usr/local/tmpcvs/openmcl-dev/ccl/lisp-kernel
  In directory clozure.com:/tmp/cvs-serv74642/lisp-kernel
  
  Modified Files:
  	x86-exceptions.c 
  Log Message:
  Save the mxcsr, load it with a C-like value (all exceptions masked)
  before doing a callback.  (Not doing this meant that tcr.foreign_mxcsr
  was often set to a "lispy" value, where most exceptions were unmasked,
  and this caused FP exceptions when calling out to foreign code with
  the "lispy" tcr.foreign_mxcsr in effect.)
  
  Mach exception stuff arranges to return via sigreturn.  Didn't fix
  the spurious SIGTRAPs, but might be the right idea (and might save
  a context switch or two.)
  
  Mach exception stuff initializes rflags to exception rflags when arranging
  to resume thread at handler.  Leaving them uninitialized was causing
  spurious SIGTRAPs, since the trace bit(s) may have been set.


More information about the Openmcl-cvs-notifications mailing list