15 months agoFirst cut at making search-list a pathname host. rtoy-search-list-as-host
Raymond Toy [Thu, 17 Jan 2013 04:17:30 +0000] 
First cut at making search-list a pathname host.

This attempts to make a search-list pathname fill the host slot of a
pathname with a search-list object instead of the current scheme which
uses a unix host for the host and puts the search-list as the first
part of the directory slot.

  * Make SEARCH-LIST as subtype of HOST, defining appropriate parsers
    and unparsers.
  * Update PARSE-UNIX-NAMESTRING (which also handles search-lists) to
    return the search-list object as the host instead of putting in
    the directory part.

15 months agoAdd label for source paths that was missing.
Raymond Toy [Sun, 6 Jan 2013 17:53:43 +0000] 
Add label for source paths that was missing.

15 months agoUpdate rules for pdf and dvi to run latex enough times. Taken from
Raymond Toy [Fri, 4 Jan 2013 17:24:49 +0000] 
Update rules for pdf and dvi to run latex enough times.  Taken from

15 months agoo Don't delete gif files because some are checked in. (Fix this in a
Raymond Toy [Fri, 4 Jan 2013 04:18:53 +0000] 
o Don't delete gif files because some are checked in.  (Fix this in a
  better way.)
o Don't infloop when creating cmu-user.pdf by skipping over the
  version message from rerunfilecheck before checking for Rerun

15 months agoPut back the chapter Retargeting the Compiler.
Raymond Toy [Thu, 3 Jan 2013 00:47:42 +0000] 
Put back the chapter Retargeting the Compiler.

The text is there, but the chapter heading was missing.

15 months agoRemove duplicated definitions of list-all-external-formats and
Raymond Toy [Thu, 3 Jan 2013 00:45:52 +0000] 
Remove duplicated definitions of list-all-external-formats and
describe-external-formats in the documentation.

15 months agoMicro-optimization for move-from-signed, eliminating one inst. snapshot-2013-01
Raymond Toy [Tue, 1 Jan 2013 18:34:38 +0000] 
Micro-optimization for move-from-signed, eliminating one inst.

15 months agoUpdate from commit logs.
Raymond Toy [Thu, 27 Dec 2012 19:22:59 +0000] 
Update from commit logs.

15 months agoFix bitrot: set GC_SRC to gc.c if FEATURE_GENCGC is not defined.
Raymond Toy [Wed, 26 Dec 2012 22:10:33 +0000] 
Fix bitrot: set GC_SRC to gc.c if FEATURE_GENCGC is not defined.

15 months agoFix bitrot: support scavenging unicode strings..
Raymond Toy [Wed, 26 Dec 2012 22:10:04 +0000] 
Fix bitrot: support scavenging unicode strings..

15 months agoForgot to load c-callback and alien-callback in the appropriate
Raymond Toy [Wed, 26 Dec 2012 19:42:00 +0000] 
Forgot to load c-callback and alien-callback in the appropriate

15 months agoAdd :alien-callback to *faatures* for platforms that support it.
Raymond Toy [Wed, 26 Dec 2012 18:23:17 +0000] 
Add :alien-callback to *faatures* for platforms that support it.

  Add :alien-callback to *features*

  Change bootstrap directory to 20d.

  * Register :alien-callback feature if enabled.
  * Heap overflow checking depends on gencgc, so register that only if
    both are enabled.

  Compile c-callback only if :alien-callback is a feature.

  Compile alien-callback onlf if :alien-callback is a feature.

15 months agoClean up: move byte-bash-copy near bit-bash-copy, and remove debugging
Raymond Toy [Mon, 24 Dec 2012 16:46:02 +0000] 
Clean up: move byte-bash-copy near bit-bash-copy, and remove debugging

15 months agoRegenerated from sparc port.
Raymond Toy [Mon, 24 Dec 2012 16:39:32 +0000] 
Regenerated from sparc port.

15 months agoRegenerated.
Raymond Toy [Sun, 23 Dec 2012 20:15:46 +0000] 

15 months agoFix a few compiler notes.
Raymond Toy [Sun, 23 Dec 2012 20:15:12 +0000] 
Fix a few compiler notes.

15 months agoMove the alien callback support into its own files.
Raymond Toy [Sun, 23 Dec 2012 19:25:48 +0000] 
Move the alien callback support into its own files.

 New file containing the callback code from c-call.lisp.

 Removed the callback code.

 New file containing the alien callback code.

 Removed the alien callback code.

 Compile c-callback.lisp

 Compile alien-callback.lisp.

15 months agoGet rid of the unused bit-bash-<foo> symbols.
Raymond Toy [Sun, 23 Dec 2012 18:57:48 +0000] 
Get rid of the unused bit-bash-<foo> symbols.

15 months agoUse BYTE-BASH-COPY in the string transforms for SUBSEQ and COPY-SEQ.
Raymond Toy [Sun, 23 Dec 2012 18:56:50 +0000] 
Use BYTE-BASH-COPY in the string transforms for SUBSEQ and COPY-SEQ.

15 months agoFix ticket:68 by adding {{{BYTE-BASH-COPY}}}
Raymond Toy [Sun, 23 Dec 2012 18:38:36 +0000] 
Fix ticket:68 by adding {{{BYTE-BASH-COPY}}}

 Add {{{BYTE-BASH-COPY}}} for copying bytes



 Call {{{BYTE-BASH-COPY}}} in the deftransform for {{{REPLACE}}}.

16 months agoFix bitrot in interrupt_maybe_gc.
Raymond Toy [Sat, 22 Dec 2012 20:47:45 +0000] 
Fix bitrot in interrupt_maybe_gc.

16 months agoFix ticket:67
Raymond Toy [Sat, 22 Dec 2012 20:46:45 +0000] 
Fix ticket:67

Check that the start and end indices make sense for the given
strings.  This is important before we start bashing random parts of
the string, potentially overwriting other objects.

16 months agoFix ticket:60.
Raymond Toy [Sat, 22 Dec 2012 16:29:09 +0000] 
Fix ticket:60.

This fixes the immediate issue, but there are still problems with
very long strings.  The bit-index for such strings won't fit in an
(unsigned-byte 32).

o Correct the defknown to have the correct arg types (vm::offset
  instead of index).

o Update deftransform to use vm::offset instead of index.

16 months agoReinstate ability to compile with gcc on sparc.
Raymond Toy [Fri, 21 Dec 2012 03:38:57 +0000] 
Reinstate ability to compile with gcc on sparc.


o Don't use -traditional-cpp when creating dependencies because that
  causes the old (varargs.h) version of va_start to be used instead of
  the stdard.h version we want.

  they're in Config.sparc_common.

16 months agoAdd source-location information for DEFINE-COMPILER-MACRO.
Raymond Toy [Wed, 19 Dec 2012 03:22:16 +0000] 
Add source-location information for DEFINE-COMPILER-MACRO.

Patch from Helmut Eller, cmucl-imp 2012-12-16.

16 months agoPrint out more info on specialization errors.
Raymond Toy [Tue, 11 Dec 2012 05:17:43 +0000] 
Print out more info on specialization errors.

16 months agoUpdated from source code changes.
Raymond Toy [Mon, 3 Dec 2012 06:27:21 +0000] 
Updated from source code changes.

16 months agoPrint out name of offending emitter in some error messages.
Raymond Toy [Mon, 3 Dec 2012 06:27:06 +0000] 
Print out name of offending emitter in some error messages.

16 months agoWhen emitter has holes, print out name of offending emitter.
Raymond Toy [Sun, 2 Dec 2012 17:31:02 +0000] 
When emitter has holes, print out name of offending emitter.

17 months agoOops. Need to tell precompile-ef-slot about +ef-osc+. snapshot-2012-12
Raymond Toy [Tue, 20 Nov 2012 06:42:47 +0000] 
Oops.  Need to tell precompile-ef-slot about +ef-osc+.

17 months agoNeed to precompile the ef-osc slot too. Otherwise, the first attempt
Raymond Toy [Tue, 20 Nov 2012 03:39:55 +0000] 
Need to precompile the ef-osc slot too.  Otherwise, the first attempt
to read a file will cause it to be compiled, which isn't quite what we

17 months agoUpdate.
Raymond Toy [Mon, 19 Nov 2012 04:51:16 +0000] 

17 months agoRevert changes to unicode-complete; can't complete #\Hangul_syllable_
Raymond Toy [Sun, 18 Nov 2012 22:31:48 +0000] 
Revert changes to unicode-complete; can't complete #\Hangul_syllable_
but the old version could.  This unfixes Trac #52.

17 months agoDeprecate the -8 option since we don't support 8-bit builds anymore.
Raymond Toy [Sun, 18 Nov 2012 22:27:50 +0000] 
Deprecate the -8 option since we don't support 8-bit builds anymore.

17 months agoMerge branch 'master' of ssh://
Raymond Toy [Sun, 18 Nov 2012 17:19:07 +0000] 
Merge branch 'master' of ssh://

17 months agoo Update to asdf 2.26
Raymond Toy [Sat, 17 Nov 2012 22:37:12 +0000] 
o Update to asdf 2.26
o Add release-20e.txt.

17 months agoUpdate asdf to version 2.25.
Raymond Toy [Thu, 11 Oct 2012 05:36:53 +0000] 
Update asdf to version 2.25.

17 months agoo Update to asdf 2.26
Raymond Toy [Sat, 17 Nov 2012 22:37:12 +0000] 
o Update to asdf 2.26
o Add release-20e.txt.

17 months agoMerge branch 'master' of ssh://
Raymond Toy [Sun, 28 Oct 2012 15:18:05 +0000] 
Merge branch 'master' of ssh://

17 months agoOops. expr should not have a "^" character in the regexp. (Sparc 20d
Raymond Toy [Sat, 27 Oct 2012 16:06:18 +0000] 
Oops. expr should not have a "^" character in the regexp.  (Sparc
complains about this.)

17 months agoCheck the git hash for a release tag too.
Raymond Toy [Sat, 27 Oct 2012 15:56:52 +0000] 
Check the git hash for a release tag too.

17 months ago * src/compiler/byte-comp.lisp
Raymond Toy [Sat, 27 Oct 2012 15:42:26 +0000] 
 * src/compiler/byte-comp.lisp
   * Bump fasl version for release
 * src/bootfiles/20c/boot-20d.lisp
   * Boot file for building the release with a new fasl version.

17 months agoUpdate.
Raymond Toy [Sat, 27 Oct 2012 05:46:29 +0000] 

17 months agoUpdate pot and po files for sparc.
Raymond Toy [Sat, 27 Oct 2012 05:24:09 +0000] 
Update pot and po files for sparc.

17 months agoUpdate pot and po files from current code.
Raymond Toy [Sat, 27 Oct 2012 04:04:02 +0000] 
Update pot and po files from current code.

18 months agoUpdate asdf to version 2.25.
Raymond Toy [Thu, 11 Oct 2012 05:36:53 +0000] 
Update asdf to version 2.25.

18 months agoFix typo (missing closing paren). snapshot-2012-10
Raymond Toy [Wed, 26 Sep 2012 16:54:58 +0000] 
Fix typo (missing closing paren).

18 months agoAdd WITH-CYCLE-COUNTER for x86, sparc, and ppc. Sparc and ppc
Raymond Toy [Wed, 26 Sep 2012 04:19:05 +0000] 
Add WITH-CYCLE-COUNTER for x86, sparc, and ppc.  Sparc and ppc
versions are untested.

18 months agoUpdate.
Raymond Toy [Wed, 26 Sep 2012 04:15:51 +0000] 

18 months agoFix ticket:63.
Raymond Toy [Wed, 26 Sep 2012 04:09:46 +0000] 
Fix ticket:63.

19 months agoOutput lisp strings in utf8 format in ldb print.
Raymond Toy [Wed, 5 Sep 2012 02:49:17 +0000] 
Output lisp strings in utf8 format in ldb print.

 * Use utf16_output to output strings as utf8 instead of raw utf16.

 * Make utf16_output public instead of static.

 * Declare utf16_output.

19 months agoFix ticket:62: Needed an IN-PACKAGE.
Raymond Toy [Tue, 4 Sep 2012 03:49:31 +0000] 
Fix ticket:62:  Needed an IN-PACKAGE.

19 months agoFinish splitting out x86-validate into separate OS versions.
Raymond Toy [Mon, 3 Sep 2012 15:08:54 +0000] 
Finish splitting out x86-validate into separate OS versions.

 * Didn't finish the solaris split in previous commit, so finish it
 * Split out FreeBSD, NetBSD, and OpenBSD into new files.

19 months agoSplit x86-validate into separate files. snapshot-2012-09
Raymond Toy [Sat, 1 Sep 2012 18:08:01 +0000] 
Split x86-validate into separate files.

o Remove linux, darwin, and solaris parts

o New files for each os.

19 months agoUpdate from logs.
Raymond Toy [Sat, 1 Sep 2012 18:05:15 +0000] 
Update from logs.

19 months agoClean up RCS ids
Raymond Toy [Sat, 1 Sep 2012 17:46:55 +0000] 
Clean up RCS ids

 * Get rid of the RCS Header stuff.  They're meaningless in git.
 * Add public domain comment to some of the files if the only comment
   was the RCS header.

19 months agoUpdate to asdf 2.24.
Raymond Toy [Tue, 28 Aug 2012 06:00:23 +0000] 
Update to asdf 2.24.

19 months agoClean up debug_print. Surrogate pairs are always high surrogate
Raymond Toy [Tue, 28 Aug 2012 05:47:36 +0000] 
Clean up debug_print.  Surrogate pairs are always high surrogate
followed by low; anything else is invalid.

19 months agoMinor cleanups of utf8 code.
Raymond Toy [Mon, 27 Aug 2012 03:12:29 +0000] 
Minor cleanups of utf8 code.

19 months agoChange %primitive output strings in utf8 instead of utf16.
Raymond Toy [Sat, 25 Aug 2012 15:48:51 +0000] 
Change %primitive output strings in utf8 instead of utf16.
No more random NUL ASCII characters on output now.

20 months agoNeed to wrap EVAL-WHEN around USE-PACKAGE since use-package doesn't
Raymond Toy [Thu, 23 Aug 2012 03:50:30 +0000] 
Need to wrap EVAL-WHEN around USE-PACKAGE since use-package doesn't
have special treatment in the compiler anymore.

20 months agoFloating-point micro-optimizations
Raymond Toy [Sun, 19 Aug 2012 14:58:06 +0000] 
Floating-point micro-optimizations

o Convert x/n to x*(1/n) when n is a power of two since 1/n has an
  exact representation.
o Convert 2*x to x+x.

20 months agoMove the FPU save/restore stuff from os.h to arch.h
Raymond Toy [Sat, 11 Aug 2012 23:50:28 +0000] 
Move the FPU save/restore stuff from os.h to arch.h

 * src/lisp/os.h
   * Move macros and definitions for FPU save/restore from here.
 * src/lisp/arch.h
   * Put architecture neutral stuff from os.h here.
 * src/lisp/ppc-arch.h
 * src/lisp/sparc-arch.h
 * src/lisp/x86-arch.h
   * Implement the FPU save/restore macros here for each supported

20 months ago src/lisp/os.h:
Raymond Toy [Fri, 10 Aug 2012 06:46:43 +0000] 
 * Move the macros for fpu buffers from gencgc.c to here.
 * Use the new save_fpu_state instead of fpu_save.  And apply to all

20 months agoUse /usr/bin/sed instead of whatever is in the path.
Raymond Toy [Fri, 10 Aug 2012 06:44:26 +0000] 
Use /usr/bin/sed instead of whatever is in the path.

20 months agoSupport Lion and Mountain Lion which return x86-64 for uname -m.
Raymond Toy [Sun, 5 Aug 2012 23:32:21 +0000] 
Support Lion and Mountain Lion which return x86-64 for uname -m.

20 months agoAdd note that OSX 10.4 is no longer supported. snapshot-2012-08
Raymond Toy [Sat, 4 Aug 2012 04:57:38 +0000] 
Add note that OSX 10.4 is no longer supported.

20 months agoAdd note that OSX Lion can compile cmucl.
Raymond Toy [Sat, 4 Aug 2012 04:41:20 +0000] 
Add note that OSX Lion can compile cmucl.

20 months agoMerge branch 'master' of ssh://
Raymond Toy [Sat, 4 Aug 2012 04:39:13 +0000] 
Merge branch 'master' of ssh://

20 months agoUpdate.
Raymond Toy [Sat, 4 Aug 2012 04:28:21 +0000] 

20 months agoRecognize x86_64 (for OSX Lion).
Raymond Toy [Sat, 4 Aug 2012 04:27:36 +0000] 
Recognize x86_64 (for OSX Lion).

20 months ago * Remove comments about gcc-4.2. gcc or clang should work.
Raymond Toy [Fri, 3 Aug 2012 16:57:27 +0000] 
 * Remove comments about gcc-4.2.  gcc or clang should work.
 * Min OSX version is 10.5 now.  Don't have access to anything older
   than 10.5 anyway.

21 months agoUpdate to asdf 2.23.
Raymond Toy [Wed, 18 Jul 2012 06:09:21 +0000] 
Update to asdf 2.23.

21 months agoRemove comment about compiling with clang, which now works fine.
Raymond Toy [Wed, 18 Jul 2012 03:13:39 +0000] 
Remove comment about compiling with clang, which now works fine.

21 months agoFix ticket:61, using option 2.
Raymond Toy [Wed, 18 Jul 2012 03:11:13 +0000] 
Fix ticket:61, using option 2.

o Save and restore the FPU state in alloc().

o Don't need to use :save-p anymore because the allocation routine
  saves an live registers anyway.  This improves code generation as

o Update.

21 months agoAdd -R option to force recompilation of C runtime.
Raymond Toy [Wed, 18 Jul 2012 02:51:28 +0000] 
Add -R option to force recompilation of C runtime.

21 months agoFix possible stack corruption caused by possibly not allocating enough
Raymond Toy [Wed, 18 Jul 2012 02:35:23 +0000] 
Fix possible stack corruption caused by possibly not allocating enough
stack space to hold the SSE2 state.  (Forgot to add extra bytes for
16-byte alignment!)

21 months agoClean up and correct some comments.
Raymond Toy [Wed, 18 Jul 2012 02:32:17 +0000] 
Clean up and correct some comments.

21 months agoChange url to
Raymond Toy [Tue, 17 Jul 2012 05:21:18 +0000] 
Change url to

21 months agoClean up not-inline-allocation.
Raymond Toy [Tue, 17 Jul 2012 02:43:14 +0000] 
Clean up not-inline-allocation.

o Remove the (now) unused alloc_to_<reg> functions.

o Simplify the not-inline-allocation to use the same routines as
  inline allocation.

21 months agoRemove old inline allocation function and corresponding assembly routines.
Raymond Toy [Fri, 13 Jul 2012 03:49:43 +0000] 
Remove old inline allocation function and corresponding assembly routines.

21 months agoClean up alloc overflow routine. Cross-compile needed.
Raymond Toy [Thu, 12 Jul 2012 05:00:07 +0000] 
Clean up alloc overflow routine.  Cross-compile needed.

o X86 cross-compile script

o New inline-allocation to call our new overflow routine.

o New alloc_overflow routine.

o Export all symbols in VM that are external symbols in OLD-VM with
  the corresponding symbol name.

21 months agoOops. Need to use long long's to compute the age in gen_av_mem_age(). snapshot-2012-07
Raymond Toy [Thu, 5 Jul 2012 22:24:18 +0000] 
Oops.  Need to use long long's to compute the age in gen_av_mem_age().

21 months agoRearrange the fpu save/restore stuff to make it a bit simpler.
Raymond Toy [Thu, 5 Jul 2012 15:48:31 +0000] 
Rearrange the fpu save/restore stuff to make it a bit simpler.

21 months agoAll VOPs that call allocation should save any live registers.
Raymond Toy [Sat, 30 Jun 2012 22:08:37 +0000] 
All VOPs that call allocation should save any live registers.

22 months agoChange min_av_mem_age to be an int instead of double. No floating
Raymond Toy [Fri, 15 Jun 2012 19:52:24 +0000] 
Change min_av_mem_age to be an int instead of double.  No floating
point operations should occur in allocation or GC now, except when
printing stats.

22 months agoUpdate to asdf 2.22. Testsuite for asdf, using 2012-06, passes fine.
Raymond Toy [Fri, 15 Jun 2012 19:19:47 +0000] 
Update to asdf 2.22.  Testsuite for asdf, using 2012-06, passes fine.

22 months agoOops. Didn't mean for the gencgc.o rule to get included. snapshot-2012-06
Raymond Toy [Tue, 12 Jun 2012 03:54:47 +0000] 
Oops.  Didn't mean for the gencgc.o rule to get included.

22 months agoAdd comments about using clang instead of gcc on x86.
Raymond Toy [Sat, 2 Jun 2012 22:02:00 +0000] 
Add comments about using clang instead of gcc on x86.

22 months agoDon't set dimension of array to 1 for the rest slots of a primitive
Raymond Toy [Fri, 1 Jun 2012 04:25:33 +0000] 
Don't set dimension of array to 1 for the rest slots of a primitive

22 months agoUpdate translation template.
Raymond Toy [Fri, 1 Jun 2012 02:55:27 +0000] 
Update translation template.

22 months agoUpdate.
Raymond Toy [Wed, 30 May 2012 03:17:47 +0000] 

22 months agoRevert :file-attribute changes.
Raymond Toy [Wed, 30 May 2012 02:57:28 +0000] 
Revert :file-attribute changes.

22 months agoUpdate with new :FILE-ATTRIBUTE external format, contributed by
Raymond Toy [Mon, 28 May 2012 22:49:32 +0000] 
Update with new :FILE-ATTRIBUTE external format, contributed by
Douglas Crosher.

22 months agoRemove extra closing parenthesis.
Raymond Toy [Mon, 28 May 2012 16:47:36 +0000] 
Remove extra closing parenthesis.

22 months agoMerge branch 'master' into ext-format-file-attribute
Raymond Toy [Mon, 28 May 2012 16:19:17 +0000] 
Merge branch 'master' into ext-format-file-attribute

22 months agoUpdate with changes.
Raymond Toy [Mon, 28 May 2012 16:18:47 +0000] 
Update with changes.

22 months agoFix ticket:60
Raymond Toy [Mon, 28 May 2012 16:11:46 +0000] 
Fix ticket:60

o Remove special treatment of EXPORT (and others) in the compiler.  I
  think we only need to treat IN-PACKAGE and DEFPACKAGE specially.

o Add FIND-SYSTEM to the defpackage export list for MAKE.

o Add defpackage for hemlock-internals since export no longer has the
  compile-time effect.

22 months agoFix so this can build on 8-bit cmucl.
Raymond Toy [Sat, 26 May 2012 18:13:01 +0000] 
Fix so this can build on 8-bit cmucl.

o Clean up reader conditionals in MAKE-FD-STREAM.
o Add dummy %SET-FD-STREAM-EXTERNAL-FORMAT for non-unicode.

22 months agoUse concatenate instead of format because format isn't available when
Raymond Toy [Sat, 26 May 2012 16:13:34 +0000] 
Use concatenate instead of format because format isn't available when