Skip to content
  1. May 19, 2010
  2. May 16, 2010
  3. May 15, 2010
    • Dale Johannesen's avatar
      Fix uint64->{float, double} conversion to do rounding correctly in 32-bit. · 3a366a88
      Dale Johannesen authored
      The implementation in LegalizeIntegerTypes to handle this as 
      sint64->float + appropriate power of 2 is subject to double rounding,
      considered incorrect by numerics people.  Use this implementation only
      when it is safe.  This leads to using library calls in some cases
      that produced inline code before, but it's correct now.
      (EVTToAPFloatSemantics belongs somewhere else, any suggestions?)
      
      Add a correctly rounding (though not particularly fast) conversion
      that uses X87 80-bit computations for x86-32.
      
      7885399, 5901940.  This shows up in gcc.c-torture/execute/ieee/rbug.c
      in the gcc testsuite on some platforms.
      
      llvm-svn: 103883
      3a366a88
  4. May 14, 2010
  5. May 11, 2010
  6. May 01, 2010
  7. Apr 30, 2010
  8. Apr 28, 2010
  9. Apr 27, 2010
  10. Apr 26, 2010
  11. Apr 25, 2010
  12. Apr 24, 2010
  13. Apr 23, 2010
  14. Apr 22, 2010
  15. Apr 21, 2010
  16. Apr 19, 2010
  17. Apr 17, 2010
  18. Apr 16, 2010
  19. Apr 15, 2010
Loading