Skip to content
Snippets Groups Projects
  1. Jun 26, 2005
  2. Jun 19, 2005
  3. Apr 29, 2005
  4. Apr 24, 2005
  5. Sep 23, 2004
  6. Sep 03, 2004
  7. Jun 18, 2004
    • rtoy's avatar
      o Fix a misplaced declaration in %unary-ftruncate/single-float · a71e3e77
      rtoy authored
      o Update %unary-ftruncate and the corresponding deftransform because
        it was not properly returning the correct sign for signed zeroes.
        If the number was in a good range, we used truncate, which loses the
        sign of zero.  (Should we have leave it in and add an explicit check
        for a zero result and adjust the sign appropriately?  That would
        allow us to use the fast builtin instructions at the expense of a
        test for zero and a fix.)
      a71e3e77
  8. Jan 10, 2004
  9. Jan 09, 2004
  10. Sep 12, 2003
  11. Sep 07, 2003
    • gerd's avatar
      (defun foo (x) (float x 1f0)) · 18894485
      gerd authored
      	(compile 'foo)
      	(foo 0d0)
      	 => 0d0
      
      	Found by Paul Dietz with sqrt on complex numbers.
      
      	* src/compiler/float-tran.lisp (float) <deftransform>:
      	Test with single-float-p instead of floatp.
      18894485
  12. Sep 05, 2003
    • toy's avatar
      compiler/float-tran.lisp: · c640d0f2
      toy authored
      o Oops.  We should subtract from 0, not 0d0
      o Add the deftransform for - to the complex-fp-vops part too, because
        the vop gets that wrong.
      
      compiler/sparc/float.lisp:
      o Remove the vop for a real - complex because we get the sign of the
        imaginary part wrong.
      c640d0f2
    • toy's avatar
      The deftransform for - with a float and complex arg was negating the · dd95c758
      toy authored
      imaginary part instead of subtracting from 0.  This is needed to get
      the correct sign if the imaginary part was 0.
      
      (From a bug in Paul Dietz's ansi tests.)
      dd95c758
  13. Sep 02, 2003
  14. Jul 03, 2003
  15. Jul 02, 2003
  16. Apr 23, 2003
  17. Mar 14, 2002
  18. Mar 08, 2002
    • toy's avatar
      Micro optimization for Sparc. The ftruncate code using · 95f890d7
      toy authored
      %unary-truncate has many redundant stack moves even when it's know the
      result will fit in a (signed-byte 32), so create vops to do the
      conversion directly in the floating-point registers.
      
      Also, sparc-v9 can do 64-bit integer conversions, so make the range up
      to 64-bits for sparc-v9.
      95f890d7
  19. Feb 25, 2002
  20. Sep 24, 2001
  21. Apr 12, 2001
    • pw's avatar
      From Ray Toy: · 9fbccc50
      pw authored
      Here is the patch that makes the propagate-float-type,
      propagate-fun-type, and constrain-float-type features the default.
      All old code is removed.
      
      If you recompile, you should probably remove these features, just to
      be sure (caught a few mistakes that way).
      9fbccc50
  22. Jul 06, 2000
  23. Apr 02, 2000
    • dtc's avatar
      From Raymond Toy: · dfee6bab
      dtc authored
      o Add support for complex FP vops, enabled by the feature :complex-fp-vop
        which should work for all Sparcs.
      dfee6bab
  24. Sep 06, 1999
  25. Jul 13, 1999
    • pw's avatar
      From Ray Toy: · 06f81774
      pw authored
      Changes:
      
      o Change deftransform truncate to handle the two arg case.  Add
        similar deftranform for floor and ceiling.
      
      o Only inline complex single/double-float division if speed > space.
        Otherwise, call the division routines.
      06f81774
  26. Jan 23, 1999
  27. Oct 01, 1998
  28. Sep 29, 1998
    • dtc's avatar
      Change the domain argument of elfun-derive-type-simple from a · af5e6fb5
      dtc authored
      numeric-type to a high and low bound for which negative and positive
      zero being distinct as for the :negative-zero-not-zero feature.  This
      fixes some problems that occurred when not compiled with the
      :negative-zero-not-zero feature.
      af5e6fb5
  29. Sep 20, 1998
  30. Aug 23, 1998
  31. Aug 22, 1998
  32. Jul 24, 1998
  33. Apr 15, 1998
  34. Mar 30, 1998
  35. Mar 27, 1998
  36. Mar 21, 1998
Loading