Fix ticket:72 : SIGFPE with no exceptions enabled
authorRaymond Toy <toy.raymond@gmail.com>
Fri, 1 Feb 2013 05:27:36 +0000 (21:27 -0800)
committerRaymond Toy <toy.raymond@gmail.com>
Fri, 1 Feb 2013 05:27:36 +0000 (21:27 -0800)
commit0174bfebdb2ed8edbdf5b3dade4fd64965d4a9f4
treed92ba845e23eeb913d7086535d0e703984c48323
parent719e87b7d103d3201c031412de576653a42daff7
Fix ticket:72 : SIGFPE with no exceptions enabled

 code/float-trap.lisp::
  * In the default case, check FOP to see if it's defined.  This means
    it's a divide exception.

 code/x86-vm.lisp::
  * Also check to see if the offending instruction is a DIV or IDIV,
    which means we got an integer overflow.  Return the appropriate
    values in this case.
src/code/float-trap.lisp
src/code/x86-vm.lisp