19 months agoRemove long-float support. remove-long-float
Raymond Toy [Mon, 3 Sep 2012 16:43:38 +0000] 
Remove long-float support.

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.

19 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

22 months agoDebugger needs to open file with the appropriate external format.
Raymond Toy [Sat, 26 May 2012 15:24:55 +0000] 
Debugger needs to open file with the appropriate external format.
Patch from Douglas.

22 months agoAdd all the emacs format encodings. From Douglas.
Raymond Toy [Sat, 26 May 2012 15:24:22 +0000] 
Add all the emacs format encodings.  From Douglas.

22 months ago * {{{COMPILE-FILE}}} should not signal an error when given a list for
Raymond Toy [Sat, 26 May 2012 05:50:38 +0000] 
 * {{{COMPILE-FILE}}} should not signal an error when given a list for
   {{{:EXTERNAL-FORMAT}}}.  Lists are needed to specify a composing
   external format like {{{:DOS}}} or {{{:MAC}}}.

22 months agoFirst cut at :file-attribute external-format that determines the
Raymond Toy [Sat, 26 May 2012 05:49:18 +0000] 
First cut at :file-attribute external-format that determines the
format from the file contents ala emacs.

22 months agoClear matching current exceptions when enabling new exceptions. This
Raymond Toy [Fri, 25 May 2012 03:27:37 +0000] 
Clear matching current exceptions when enabling new exceptions.  This
prevents the exception from being resignaled immediately.

o Clear current and accrued exception bits that match any new enabled
  exceptions specified by :traps.

o Update.

23 months agoAdd popcnt instruction and use it in logcount vop if :sse3 is a
Raymond Toy [Thu, 10 May 2012 06:14:00 +0000] 
Add popcnt instruction and use it in logcount vop if :sse3 is a

 * src/compiler/x86/arith.lisp
   * Add vop for logcount that uses popcnt instruction.
 * src/compiler/x86/insts.lisp
   * Define popcnt instruction (but only for :sse3)
 * src/general-info/release-20d.txt:
   * Update.

23 months agoLink to
Raymond Toy [Sun, 6 May 2012 06:33:11 +0000] 
Link to

23 months agoUpdate with more info that was left out. snapshot-2012-05
Raymond Toy [Tue, 1 May 2012 03:10:53 +0000] 
Update with more info that was left out.

23 months agoUpdate to ASDF2 2.21.
Raymond Toy [Tue, 1 May 2012 03:08:50 +0000] 
Update to ASDF2 2.21.

23 months agoUpdate.
Raymond Toy [Tue, 1 May 2012 03:07:49 +0000] 

23 months agoHandle case where we run out of octets in the middle of a two-octet
Raymond Toy [Wed, 25 Apr 2012 20:48:32 +0000] 
Handle case where we run out of octets in the middle of a two-octet

23 months agoFirst cut at an external format for EUC-KR.
Raymond Toy [Wed, 25 Apr 2012 05:20:39 +0000] 
First cut at an external format for EUC-KR.

23 months agoAdd some comments on what INVERT-TABLE (and GET-INVERSE) does and what
Raymond Toy [Wed, 25 Apr 2012 05:20:09 +0000] 
Add some comments on what INVERT-TABLE (and GET-INVERSE) does and what
it returns.

23 months agoFix typo in iso8859-2 external format.
Raymond Toy [Wed, 25 Apr 2012 05:09:39 +0000] 
Fix typo in iso8859-2 external format.

 * src/pcl/simple-streams/external-formats/iso8859-2.lisp:
   * Fix typo.

 * src/general-info/release-20d.txt:
   * Update.

23 months agoCorrect the type declarations for the state (for BOM).
Raymond Toy [Wed, 25 Apr 2012 05:05:35 +0000] 
Correct the type declarations for the state (for BOM).

23 months agoFix some typos, change url to and add url to
Raymond Toy [Sat, 21 Apr 2012 21:06:44 +0000] 
Fix some typos, change url to and add url to

2 years agoFix bug in handling the state BOM marker and also extend to work
Raymond Toy [Sat, 21 Apr 2012 02:44:04 +0000] 
Fix bug in handling the state BOM marker and also extend to work
composing external formats.  The state BOM marker also needs to
indicate how long the BOM is.

 * src/code/stream.lisp
   * Handle the BOM marker correctly for composed format.
   * Handle the new values for the state BOM marker.

 * src/pcl/simple-streams/external-formats/utf-16.lisp
   * Change BOM state marker to +2 and -2 instead of 1 and 2 to
     indicate the length of the BOM.

 * src/pcl/simple-streams/external-formats/utf-32.lisp
   * Change BOM state marker to +4 and -4 instead of 1 and 2 to
     indicate the length of the BOM.

2 years agoOops. Debugging print accidentally left in.
Raymond Toy [Fri, 20 Apr 2012 16:35:43 +0000] 
Oops.  Debugging print accidentally left in.

2 years agoUTF-16-BE and UTF-16-LE external formats were returning the incorrect
Raymond Toy [Fri, 20 Apr 2012 16:34:48 +0000] 
UTF-16-BE and UTF-16-LE external formats were returning the incorrect
number of octets for surrogate pairs.  Two was returned instead of

 * src/pcl/simple-streams/external-formats/utf-16-be.lisp:
 * src/pcl/simple-streams/external-formats/utf-16-le.lisp:
   * Return correct number of octets
 * src/general-info/release-20d.txt
   * Update.

2 years agoTest for state change was wrong.
Raymond Toy [Fri, 20 Apr 2012 15:41:14 +0000] 
Test for state change was wrong.

2 years agoFix ticket:58. Handle the BOM character for utf-16 and utf-32. This
Raymond Toy [Thu, 19 Apr 2012 06:53:31 +0000] 
Fix ticket:58.  Handle the BOM character for utf-16 and utf-32.  This
is a bit of a hack.

 * src/code/stream.lisp:
  * Check the state to see if a BOM was read.  This critically depends
    on knowing the format of the state variable for utf16 and utf32
    formats, but the stream code shouldn't have to know the state

 * src/general-info/release-20d.txt
   * Update.

2 years agoAdd many additional aliases to match glibc iconv aliases. Donated by
Raymond Toy [Thu, 19 Apr 2012 04:38:46 +0000] 
Add many additional aliases to match glibc iconv aliases.  Donated by
Douglas Crosher.

* src/pcl/simple-streams/external-formats/aliases
  * Add additional aliases.
* src/general-info/release-20d.txt:
  * Update

2 years agoFix typo in external format for utf-32.
Raymond Toy [Wed, 18 Apr 2012 22:02:31 +0000] 
Fix typo in external format for utf-32.

 * Fix typo.

 * Update.

2 years agoClarify a comment. snapshot-2012-04
Raymond Toy [Fri, 30 Mar 2012 01:53:33 +0000] 
Clarify a comment.

2 years agoAdd comments, clean up code a little.
Raymond Toy [Thu, 29 Mar 2012 04:14:12 +0000] 
Add comments, clean up code a little.

2 years agoMicrooptimization: (logand x #xffffffff) can be just a register move
Raymond Toy [Thu, 29 Mar 2012 04:11:18 +0000] 
Microoptimization:  (logand x #xffffffff) can be just a register move
without and'ing.  (If x is a signed-byte 32.)

2 years agoUpdate.
Raymond Toy [Tue, 27 Mar 2012 23:38:23 +0000] 

2 years agoAdd contrib for packed SSE2 operations.
Raymond Toy [Tue, 27 Mar 2012 23:20:18 +0000] 
Add contrib for packed SSE2 operations.

o Define the module

o New file to compile the contrib.

o New file implementing the packed sse2 vops and functions.

2 years agoOops. Long-standing bug that cmu-contribs was defined so it couldn't
Raymond Toy [Tue, 27 Mar 2012 23:19:03 +0000] 
Oops.  Long-standing bug that cmu-contribs was defined so it couldn't
be loaded to get the other contribs.

2 years agoSet the generator costs for the complex multiply vops to be the number
Raymond Toy [Tue, 27 Mar 2012 21:22:11 +0000] 
Set the generator costs for the complex multiply vops to be the number
of instructions.  This gives the sse3 complex multiply vop a chance to
be used if SSE3 is available.  (The user needs to :SSE3 to *FEATURES*
for this to work.  The core of CMUCL only assumes SSE2 is available.)

2 years ago.gitignore: add build-*
Alex Goncharov [Sun, 4 Mar 2012 17:09:30 +0000] 
.gitignore: add build-*

2 years agoReally update to 6.1.0! snapshot-2012-03
Raymond Toy [Sat, 3 Mar 2012 16:46:19 +0000] 
Really update to 6.1.0!

2 years agoUpdate for snapshot.
Raymond Toy [Sat, 3 Mar 2012 15:46:53 +0000] 
Update for snapshot.

2 years agoMerge branch 'master' of ssh://
Raymond Toy [Sat, 3 Mar 2012 15:36:13 +0000] 
Merge branch 'master' of ssh://

2 years agoReturn NIL if the prefix isn't a prefix of any name instead of
Raymond Toy [Sat, 3 Mar 2012 15:34:30 +0000] 
Return NIL if the prefix isn't a prefix of any name instead of
signaling an error.

2 years agoOops. Always write the fpu mode to the core file on x86. (Previously
Raymond Toy [Fri, 24 Feb 2012 17:22:58 +0000] 
Oops.  Always write the fpu mode to the core file on x86.  (Previously
only wrote the mode when compiling with sse2.)

2 years agoAdd -R flag to force recompilation of C runtime.
Raymond Toy [Sun, 19 Feb 2012 23:49:10 +0000] 
Add -R flag to force recompilation of C runtime.

2 years agoMerge branch 'master' of ssh://
Raymond Toy [Fri, 17 Feb 2012 19:38:21 +0000] 
Merge branch 'master' of ssh://

2 years agoFix compiler warning.
Raymond Toy [Fri, 17 Feb 2012 18:44:59 +0000] 
Fix compiler warning.

2 years agoRemove unused var.
Raymond Toy [Fri, 17 Feb 2012 18:44:45 +0000] 
Remove unused var.

2 years agoFix compiler warning and use fwrite instead of putw to print a
Raymond Toy [Fri, 17 Feb 2012 04:41:32 +0000] 
Fix compiler warning and use fwrite instead of putw to print a

2 years agoAdd the fpu type to kernel.core on x86. Needed to set the fpu_mode
Raymond Toy [Sun, 12 Feb 2012 02:16:23 +0000] 
Add the fpu type to kernel.core on x86.  Needed to set the fpu_mode
when it's loaded so that the C code knows what to do.  In particular
call_into_lisp needs to know to save the correct fpu state.

2 years agoUpdate documentation for string-to-octets.
Raymond Toy [Sat, 11 Feb 2012 17:40:23 +0000] 
Update documentation for string-to-octets.

2 years agoUse fwrite to dump the string instead of putw.
Raymond Toy [Sat, 11 Feb 2012 06:45:33 +0000] 
Use fwrite to dump the string instead of putw.

2 years agoOops. Remove the set -x/set +x lines from the last commit.
Raymond Toy [Wed, 8 Feb 2012 02:48:56 +0000] 
Oops.  Remove the set -x/set +x lines from the last commit.

2 years agoNo default version anymore; let specify it.
Raymond Toy [Tue, 7 Feb 2012 06:48:12 +0000] 
No default version anymore; let specify it.

2 years agoIf git describe looks like a snapshot tag, just use that as the
Raymond Toy [Tue, 7 Feb 2012 06:47:49 +0000] 
If git describe looks like a snapshot tag, just use that as the
default version instead of adding the date to it. The tag has most of
the desired information already, and this helps to keep
lisp-implementation-version from having duplicate information.

2 years agoPreliminary support for ppc and correct some comments.
Raymond Toy [Sun, 5 Feb 2012 07:31:49 +0000] 
Preliminary support for ppc and correct some comments.

2 years agoCleanup comments
Raymond Toy [Sun, 5 Feb 2012 07:29:54 +0000] 
Cleanup comments

2 years agoClean up comments about exec-final.
Raymond Toy [Sun, 5 Feb 2012 07:16:47 +0000] 
Clean up comments about exec-final.

2 years agoBuild with mach-o.c and exec-final.c if FEATURE_EXECUTABLE is
Raymond Toy [Sun, 5 Feb 2012 06:53:33 +0000] 
Build with mach-o.c and exec-final.c if FEATURE_EXECUTABLE is