simonmar    2006/02/23 08:03:16 PST

  Modified files:        (Branch: ghc-6-4-branch)
    ghc/compiler/nativeGen MachCodeGen.hs 
  Log:
  merge these patches:
  
    * floating-point fix for x86_64
  
    For 32-bit float primtives like sinFloat#, we currently call the
    double versions of the C library functions (sin(), cos() etc.).  It
    seems more correct to call the float versions (sinf(), cosf() etc.).
    This makes a difference on x86_64, I'm not entirely sure why, but this
    way at least generates more consistent results and avoids extra
    promotion/demotion instructions when calling these primitives.
  
    * further fix for floating point primitives
  
  Revision  Changes    Path
  1.5.2.5   +17 -20    fptools/ghc/compiler/nativeGen/MachCodeGen.hs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to