Skip to content
Snippets Groups Projects
  1. Apr 29, 2005
  2. Apr 24, 2005
  3. Sep 23, 2004
  4. Sep 03, 2004
  5. 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
  6. Jan 10, 2004
  7. Jan 09, 2004
  8. Sep 12, 2003
  9. 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
  10. 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
  11. Sep 02, 2003
  12. Jul 03, 2003
  13. Jul 02, 2003
  14. Apr 23, 2003
  15. Mar 14, 2002
  16. 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
  17. Feb 25, 2002
  18. Sep 24, 2001
  19. 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
  20. Jul 06, 2000
  21. 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
  22. Sep 06, 1999
  23. 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
  24. Jan 23, 1999
  25. Oct 01, 1998
  26. 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
  27. Sep 20, 1998
  28. Aug 23, 1998
  29. Aug 22, 1998
  30. Jul 24, 1998
  31. Apr 15, 1998
  32. Mar 30, 1998
  33. Mar 27, 1998
  34. Mar 21, 1998
  35. Feb 24, 1998
  36. Feb 20, 1998
    • dtc's avatar
      Enhance one-arg-derive-type to optionally allow member types to be · 8a3a13c2
      dtc authored
      converted to a numeric type and the derive-type-aux function called to
      compute the result type. This allows a range to be returned for member
      types.
      
      Add a derive-type optimizer for the random function using the above
      extension.
      
      Ensure that the abs derive-type optimiser correctly coerces the result
      bounds; this optimiser now returns a +0.0 lower bound whereas it had
      been +-0.0.
      8a3a13c2
Loading