- Apr 15, 2005
-
-
rtoy authored
o Add function for ppc to compute the number of CPU cycles per timebase ticks. Save this in a global variable. code/time.lisp: o Adjust cycle-count/float for ppc to use the cycles-per-tick to compute the actual number of CPU cycles, so we can display cycles instead of ticks.
-
- Apr 14, 2005
-
-
rtoy authored
o Define EXT:INVALID-FASL condition o Signal such a condition when we try to load a fasl compiled for a different version of CMUCL. code/exports.lisp: o Export EXT:INVALID-FASL o Export a few other symbols we forgot.
-
- Apr 13, 2005
-
-
pwerkowski authored
AFAICT, ANSI does not specify any type of exceptional condition for array bounds errors, and a type-error doesn't seem appropriate here. Reverting to SIMPLE-ERROR.
-
- Apr 04, 2005
-
-
rtoy authored
is done, based on a suggestion from Lynn Quam. o Add BINARY-TEXT-STREAM structure for streams that support binary and character I/O. This is basically an FD-STREAM. o Export BINARY-TEXT-STREAM from the EXTENSIONS package. o OPEN will recognize :class 'ext:binary-text-stream to enable such streams. o Removed *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT*, since we use OPEN to specify that now. Use boot-2005-03-2.lisp to bootstrap this change.
-
- Mar 30, 2005
-
-
rtoy authored
WRITE-VECTOR are supposed to be octet positions rather than element-positions. From Lynn Quam, cmucl-imp, 2005-03-29.
-
- Mar 22, 2005
- Mar 18, 2005
-
-
rtoy authored
-
- Mar 17, 2005
-
-
rtoy authored
Helmut Eller's patch sent to cmucl-imp on 2005-03-08. This basically means tracing recursive functions will show all recursions during the trace and not just the final call. code/debug-int.lisp: o Apply Helmut's patch. Tweak it so when the known-return convention is being used, we tell MAKE-BOGUS-LRA that we're using the known-return so we can handle it properly. lisp/breakpoint.c: o Add an extra parameter to compute_offset so we know we're handling a function-end breakpoint or not. Needed because reg_CODE isn't pointing to the bogus lra in this case, so the offsets are all wrong. We compute the right offset for the known return and return the offset as negative so we can tell. o Adjust all callers of compute_offset. o Adjust handle_function_end_breakpoint to handle negative offsets from compute_offset so we can get the right code component for the bogus lra.
-
- Mar 08, 2005
-
-
rtoy authored
the user can make and check for indenting-streams. Based on a suggestion/patch from Juliusz Chroboczek, cmucl-imp, 2005-03-02. Use boot-2005-03-1.lisp to bootstrap.
-
- Mar 04, 2005
-
-
rtoy authored
file. But we still disable package locks for our system libraries like clx, clm, gray-streams, hemlock, etc.
-
- Feb 25, 2005
- Feb 22, 2005
-
-
rtoy authored
-
- Feb 21, 2005
-
-
rtoy authored
streams opened with element-type (unsigned-byte 8) to be also opened for character input. This gives simple-streams semantics to fd-streams. * code/fd-stream.lisp o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct type of input. o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary and character input. Currently defaults to NIL, but will change to T. * code/stream.lisp o New READ-INTO-SIMPLE-STRING to allow stream element-type of (unsigned-byte 8). o Support reading and writing simple arrays of single-float and double-float. o Strings can be written to streams of element-type '(unsigned-byte 8). * tools/worldcom.lisp o Compile stream-vector-io.lisp. * tools/worldload.lisp o Load stream-vector-io. * code/stream-vector-io.lisp o New file implementing READ-VECTOR and WRITE-VECTOR.
-
rtoy authored
computing the union of a bunch of disjoint integer types, usually from some DO loop. This fix implements a hack to short-circuit that case by checking to see if the union is long enough and instead of returning the precise union, we return the smallest interval that contains all of the integer types in the union. The max length of the union is set by *union-length-threshold*, defaulting to 50. This is a gross hack. We should do something better than this.
-
- Feb 10, 2005
-
-
rtoy authored
connection is reset. Based on code from Scott Burson, cmucl-imp, 2005-01-31.
-
rtoy authored
accepted when computing namestrings. CLHS 19.2.2.2.3.1 says :unspecific components should not appear in the namestring. Make it so.
-
rtoy authored
unix-getgrnam and unix-getgrgid to select the buffer size. Apparently, some versions of Solaris won't work if the buffer is too small, even if the result would have fit. Bug pointed out by Damien Kick.
-
- Feb 08, 2005
-
-
rtoy authored
there's already a scavenger hook printer.)
-
- Feb 07, 2005
-
-
rtoy authored
o Make inet-recvfrom and friends available on Darwin again. * lisp/linux-stubs.S o Oops. Forgot to fix up #if with !defined(DARWIN) o Add recvfrom and friends to the stubs.
-
- Feb 06, 2005
-
-
rtoy authored
relatively straightforward port of the sparc version of linkage-tables. Some refinements are probably still needed, as well as some testing. Use boot-2005-02-ppc-linkage.lisp to bootstrap this change from the 2005-02 snapshot. * code/ppc-vm.lisp o Add appropriate FOREIGN-SYMBOL-ADDRESS-AUX and FIND-FOREIGN-SYMBOL functions for linkage-table. * compiler/generic/new-genesis.lisp o Basically do the same as the sparc port for linkage-tables. o need to extern-alien-name on the cold linkages since they C names depend on the backend conventions. * compiler/ppc/alloc.lisp o Load "undefined_tramp" appropriately for linkage-tables. * compiler/ppc/c-call.lisp o Define new vops (FOREIGN-SYMBOL-CODE-ADDRESS, FOREIGN-SYMBOL-DATA-ADDRESS) for linkage-tables so we can access correctly. * compiler/ppc/cell.lisp o Load "closure_tramp" appropriately for linkage-tables o Load "undefined_tramp" appropriately for linkage-tables * compiler/ppc/parms.lisp o Put the foreign linkage space start at the end of the static space to make it easier to bootstrap. (We need already mapped memory.) We can move this later. o Correct TARGET-FOREIGN-LINKAGE-ENTRY-SIZE. o Add new static-symbol *linkage-table-data* o While were at it, add SPARE-9 and SPARE-0 static symbols so we have 10 spares. * lisp/Config.ppc_darwin o Add -DLINKAGE_TABLE to CFLAGS/ASFLAGS if we have linkage-table support. * lisp/Darwin-os.c o Add os_dlsym to support linkage-tables. (This nees a little refactoring because we just copied the #defines for dlopen modes.) * lisp/os-common.c o The checking of the linkage tables that is done for sparc almost works for ppc, but not quite. Implement one for ppc. * lisp/ppc-arch.c o Add PPC version of arch_make_jump_entry, arch_make_linkage_entry, arch_linkage_entry. * lisp/ppc-assem.S o Add lazy_resolve_linkage to support linkage-tables. This needs some more work. o Add undefined_foreign_symbol_trap. This probably needs work, and definitely needs testing. * lisp/ppc-validate.h o Define the start of the linkage space and size.
-
rtoy authored
-
rtoy authored
-
- Feb 02, 2005
-
-
rtoy authored
(format nil "~G" 1d23) prints "100000000000000000000000. " instead of "099999999999999990000000. ".
-
- Jan 31, 2005
-
-
rtoy authored
equal to *gc-trigger*, and that was causing GC not to happen in some cases on x86. He said changing > to >= in sub-gc fixes this problem.
-
- Jan 27, 2005
-
-
rtoy authored
forwarded to cmucl-imp, 2005-01-17. Slightly modified the code therein. The functions are unix-recvfrom, unix-sendto, unix-shutdown, inet-recvfrom, inet-sendto, inet-shutdown.
-
rtoy authored
*last-bytes-in-use* and *gc-trigger* should be (unsigned-byte 32) instead fixnums. o Add simple docstring for gencgc-stats.
-
- Dec 24, 2004
-
-
rtoy authored
-
- Dec 23, 2004
- Dec 22, 2004
-
-
rtoy authored
read-preserving-whitespace, read-delimited-list, and read-from-string all return a primary value of nil. Make it so. We were returning a list of NILs previously.
-
- Dec 21, 2004
- Dec 15, 2004
-
-
rtoy authored
ANSI 5.1.3. (Based on the fixs in sbcl.)
-
rtoy authored
-
rtoy authored
o Fix the handling of parameters to ~{. We treat a NIL parameter as not given, as tested by ansi-tests. I suspect there are still cases that aren't handled. This also needs to be cleaned up. Lots of duplicated code between the ~{ interpreter and expander.
-
- Dec 14, 2004
- Dec 13, 2004
-
-
rtoy authored
Bug reported by Adam Warner, cmucl-imp, 2004-12-12. Fix from Thomas Fischbacher and Todd Sabin, cmucl-imp, 2004-12-12.
-