#4914: FPU initialization required again
---------------------------------+------------------------------------------
    Reporter:  aruiz             |        Owner:                             
        Type:  bug               |       Status:  new                        
    Priority:  normal            |    Milestone:  7.0.3                      
   Component:  Compiler (NCG)    |      Version:  7.0.1                      
    Keywords:                    |     Testcase:                             
   Blockedby:                    |   Difficulty:                             
          Os:  Unknown/Multiple  |     Blocking:                             
Architecture:  x86               |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by simonmar):

 In the patch

 {{{
     Implement SSE2 floating-point support in the x86 native code generator
 (#594)
 }}}

 I "optimised" the x87 backend to avoid some of the `ffree`s that seemed
 unnecessary.  It's entirely possible that I got this wrong (but I just
 took a quick look and did't see any obvious problems).

 What we ought to do is make a small C function that will fail if the x87
 stack is non-empty, and have the RTS call it at shutdown time.  Then
 running the testsuite should find a smaller failure case.  I'm a little
 busy to do this right now, but if anyone else wants to have a go please go
 ahead.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4914#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to