Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • Raymond Toy's avatar
    edb5af9b
    WITH-FLOAT-TRAPS-ENABLED was incorrectly setting accrued exceptions. · edb5af9b
    Raymond Toy authored
    Fix issue #14.
    
    WITH-FLOAT-TRAPS-ENABLED was leaving the accrued (and current)
    exceptions unchanged, but it should have cleared out any values there
    that matched the exceptions to be enabled.  Without this, the next x87
    operation would signal an exception if an accrued exception matched
    an enabled exception.  This was the cause of issue #14.  (Note that
    for x87, the accrued exception is the same as current exception.)
    edb5af9b
    History
    WITH-FLOAT-TRAPS-ENABLED was incorrectly setting accrued exceptions.
    Raymond Toy authored
    Fix issue #14.
    
    WITH-FLOAT-TRAPS-ENABLED was leaving the accrued (and current)
    exceptions unchanged, but it should have cleared out any values there
    that matched the exceptions to be enabled.  Without this, the next x87
    operation would signal an exception if an accrued exception matched
    an enabled exception.  This was the cause of issue #14.  (Note that
    for x87, the accrued exception is the same as current exception.)