- Jan 23, 2007
-
-
rtoy authored
and two-arg comparision working. They're no longer needed.
-
- Jan 20, 2007
-
-
fgilham authored
source comment associated with change.
-
- Jan 18, 2007
-
-
rtoy authored
-
rtoy authored
-
rtoy authored
Extend LOG2 function to handle more cases, and make LOG call LOG2 appropriately, and add LOG2-DD to handle the double-double-float cases.
-
rtoy authored
sign. This caused (FLOAT -1/9 1w0) to return -0.11111111111111109877529972638715w0 instead of 0.111111111111111111111111111111111w0.
-
- Jan 16, 2007
-
-
rtoy authored
print/read consistency because "foo.~01~ is printed as "foo.~1~". This could be fixed in other places, but it seems best not to allow leading zeroes in the version number. Patch from Madhu, cmucl-imp, 2007-01-14.
-
- Jan 13, 2007
-
-
fgilham authored
-
- Jan 11, 2007
-
-
fgilham authored
return value is discarded. Since (adjust-array) may return a new array, this is wrong.
-
- Jan 02, 2007
-
-
rtoy authored
-
- Jan 01, 2007
-
-
cshapiro authored
-
- Dec 24, 2006
-
-
rtoy authored
branches. compiler/generic/vm-tran.lisp: o On sparc and ppc, make the abs deftransform give up for 32-bit integers, to give the VOP a chance. compiler/ppc/arith.lisp: o Add vop for abs for (signed-byte 32).
-
- Dec 22, 2006
-
-
rtoy authored
another issue with uninitialized &aux variables. (defstruct (foobar (:constructor make-foobar (xxx &key (aaa nil) (bbb nil) &aux (foobar-data xxx) (aaa (or aaa (getf foobar-data :aaa) 1)) (bbb (or bbb (getf foobar-data :bbb) (1+ aaa)))))) (aaa (required-argument) :type fixnum) (bbb (required-argument) :type fixnum)) (make-foobar nil) -> #<foobar :aaa 1 :bbb 2> But CMUCL gives type errors. To fix Albert's issue, modify CREATE-BOA-CONSTRUCTOR to keep track of the &aux vars separately from the other arglist vars. Adjust CREATE-VECTOR-CONSTRUCTOR, CREATE-LIST-CONSTRUCTOR, CREATE-STRUCTURE-CONSTRUCTOR, and CREATE-FIN-CONSTRUCTOR to take an extra arg for the &aux vars. For CREATE-STRUCTURE-CONSTRUCTOR, we only put declarations for the other arglist vars. To make sure we store the right kinds of objects into the slots, we also wrap (the <type> init) for each initial value. Also CLHS 3.4.6 has an example of a boa constructor using an aux variable without an initializer. CMUCL was not handling that right. Modify CREATE-BOA-CONSTRUCTOR to change the initializer to use (or <aux> slot-default-value) to get the correct default value into the slot if the aux variable doesn't.
-
- Dec 21, 2006
-
-
rtoy authored
(defvar $f (open "/etc/passwd" :mapped t :class 'stream:file-simple-stream)) (file-position $f) returns a negative value. I think this happens because of some possible confusion between buffer-ptr and buf-len in a mapped file-simple-stream. I changed the code so that buffer-ptr is initialized to 0, and the various routines that check for eof compare buffpos against buf-len, instead of buffer-ptr. I think this also means buffer-ptr is not used in mapped file-simple-streams. Add a couple of file-position tests too.
-
- Dec 19, 2006
-
-
cshapiro authored
definition, if the symbol is symbol macro, return the expansion. Otherwise, if the symbol is a local definition but not a symbol macro, return the symbol and report no expansion. Previously, the otherwise case was not handled and macroexpand-1 fell through in error to test forms for global cases. Among other things, this caused the expansion of global symbol macros shadowed by lexical variable bindings.
-
- Dec 02, 2006
-
-
rtoy authored
o Need to clear out the individual invalid operation bits when clearing the invalid exception bit. code/exports.lisp: compiler/ppc/parms.lisp: o Export FLOAT-INVALID-OP-1-BYTE. (Needs a better name.)
-
- Nov 30, 2006
- Nov 16, 2006
-
-
rtoy authored
-
rtoy authored
-
rtoy authored
o Pass the modes to GET-FP-OPERANDS compiler/ppc/float.lisp: o If the destination register is the same as one of the source registers, an overflow or underflow exception will have replaced the source register with the result. In that case, replace the source value with NIL to indicate we don't know. (We could recompute the source from the result, but there would be a round-off error.)
-
- Nov 15, 2006
-
-
rtoy authored
-
- Nov 14, 2006
-
-
rtoy authored
during arithmetic errors.
-
rtoy authored
is single-float.
-
rtoy authored
code/float-trap.lisp: o Set FP modes now. o Clear out sticky bits in SIGFPE handler code/ppc-vm.lisp: o Add (setf sigcontext-floating-point-modes) to set the FP mode. compiler/ppc/parms.lisp: o Add fields for various invalid operations bits. o Fix float-fast-bit
-
- Nov 13, 2006
-
-
rtoy authored
compiler/byte-comp.lisp: o Update version bootfiles/19c/boot-19d.lisp: o Boot file for updating the fasl version. Use this if building from a snapshot. Or you can use a 19d build for this.
-
- Nov 08, 2006
- Nov 07, 2006
- Nov 06, 2006
-
-
cshapiro authored
exist. This situation is normal.
-
- Nov 03, 2006
-
-
rtoy authored
assembly/ppc/support.lisp: compiler/ppc/call.lisp: o Remove old code using BA and BLA instructions. lisp/Config.ppc_darwin: o Don't run adjustlisp target o Don't compile darwin-lispadjuster.
-
- Nov 02, 2006
-
-
rtoy authored
having to be in low memory. This is done be replacing the absolute branch instructions with equivalents that can branch anywhere. This adds a few extra instructions everywhere. Oh well. We also move the READ-ONLY space to a different location so we don't need the linker hacks and the darwinadjuster hacks. A basic cross-compile is necessary. Use boot-2006-11-1-cross-ppc.lisp for this. assembly/ppc/assem-rtns.lisp: compiler/ppc/call.lisp: o Replace BA instruction with BCTR. assembly/ppc/support.lisp: o Replace BLA instruction with BCTRL. o Replace BA instruction with BCTR. compiler/ppc/parms.lisp: lisp/ppc-validate.h: o Move the read-only space to #x04000000 instead of #x01000000. (This address appears to be free.) lisp/Config.ppc_darwin: o Comment out the linker flags for the CMUCLRO space. o Don't run the darwin-lispadjuster program. (We still build darwin-lispadjuster for now, but that should be removed eventually.)
-
- Oct 30, 2006
-
-
rtoy authored
correctly. (Patch taken from SBCL.)
-
- Oct 29, 2006
-
-
cshapiro authored
build process to error.
-
- Oct 27, 2006
-
-
rtoy authored
Without this, hash tables were majorly broken because the hash vector was getting set to EQ_BASED_HASH_VALUE.
-
- Oct 02, 2006
-
-
rtoy authored
Fix from A.M.Raportirenko on cmucl-help, 25 Sep 2006.
-