Update of /cvsroot/sbcl/sbcl/src/compiler/ppc
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv24107/sbcl/src/compiler/ppc
Modified Files:
vm.lisp
Log Message:
1.0.19.14: Immediate SAP bug fix & grab bag of small changes
* SAPs can't actually be emitted as immediates. Only a problem now that
constants are treated more cleverly.
Fixes the "#.(SB-SYS:INT-SAP #X00000000) fell through ETYPECASE expression"
bug associated with CFFI's NULL-POINTER. Reported by Ingo Bormuth on
sbcl-devel, and by several others on #lisp.
* EAs can still only fit 32 bit displacements on x86-64.
* Make SAP-INT foldable, thus improving code generation for expressions
like (sap= +null-pointer+ sap).
Index: vm.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/compiler/ppc/vm.lisp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- vm.lisp 7 Feb 2006 02:35:25 -0000 1.14
+++ vm.lisp 1 Aug 2008 17:10:23 -0000 1.15
@@ -278,7 +278,7 @@
(null
(sc-number-or-lose 'null))
((or (integer #.sb!xc:most-negative-fixnum #.sb!xc:most-positive-fixnum)
- system-area-pointer character)
+ character)
(sc-number-or-lose 'immediate))
(symbol
(if (static-symbol-p value)
|