Update of /cvsroot/sbcl/sbcl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19532
Modified Files:
version.lisp-expr OPTIMIZATIONS INSTALL
Log Message:
0.9.3.54:
Minor cleanups:
* INSTALL spelling fix by Luis Oliveira;
* dependent policy LET-CONVERTION => LET-CONVERSION;
* Note optimization opportunity in OPTIMIZATIONS.
Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.2318
retrieving revision 1.2319
diff -u -d -r1.2318 -r1.2319
--- version.lisp-expr 15 Aug 2005 17:56:53 -0000 1.2318
+++ version.lisp-expr 15 Aug 2005 22:00:39 -0000 1.2319
@@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.3.53"
+"0.9.3.54"
Index: OPTIMIZATIONS
===================================================================
RCS file: /cvsroot/sbcl/sbcl/OPTIMIZATIONS,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- OPTIMIZATIONS 26 Jul 2005 18:51:44 -0000 1.27
+++ OPTIMIZATIONS 15 Aug 2005 22:00:39 -0000 1.28
@@ -265,3 +265,18 @@
done, but such a solution is somewhat inelegant. Moving the relevant
DEFTRANSFORMs to the architecture-specific compiler/* areas is also
possible, but that would duplicate quite a bit of code.
+--------------------------------------------------------------------------------
+#30
+(defun foo (x y)
+ (< x y))
+
+FOO's IR1 representation is roughly:
+
+(defun foo (x y)
+ (if (< x y)
+ T
+ NIL))
+
+However, if a full call is generated for < (and similarly for other
+predicate functions), then the IF is unnecessary, since the return value
+of (< x y) is already T or NIL.
Index: INSTALL
===================================================================
RCS file: /cvsroot/sbcl/sbcl/INSTALL,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- INSTALL 11 Aug 2005 15:14:30 -0000 1.22
+++ INSTALL 15 Aug 2005 22:00:39 -0000 1.23
@@ -31,7 +31,7 @@
In other words, "install.sh" installs SBCL under the directory named
by the environment variable "INSTALL_ROOT".
- If you install SBCL from binary distribution in other location then
+ If you install SBCL from binary distribution in other location than
"/usr/local", see section 1.2, "Finding ancillary files".
1.2. Finding ancillary files
|