[GHC] #8195: Different floating point results with -msse2 on 32bit Linux

GHC ghc-devs at haskell.org
Thu Aug 29 15:21:32 UTC 2013


#8195: Different floating point results with -msse2 on 32bit Linux
------------------------------------------------+--------------------------
        Reporter:  jstolarek                    |            Owner:
            Type:  bug                          |           Status:  new
        Priority:  normal                       |        Milestone:
       Component:  Compiler (NCG)               |          Version:  7.7
      Resolution:                               |         Keywords:
Operating System:  Linux                        |     Architecture:  x86
 Type of failure:  None/Unknown                 |       Difficulty:
       Test Case:  perf/should_run/Conversions  |  Unknown
        Blocking:                               |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by carter):

 i think 32bit x86 defaults to using the x87 floating point registers,
 which internally do 80 bit extended precision floating point.

 SSE2/SSE3 registers in contrast only have the standard double 64bit and
 float 32 bit precision floating point numbers.

 is this possibly attributable to the change in which FPU is being used?

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




More information about the ghc-tickets mailing list