Raymond Toy [Tue, 1 Jan 2013 18:34:38 +0000]
Micro-optimization for move-from-signed, eliminating one inst.
Raymond Toy [Thu, 27 Dec 2012 19:22:59 +0000]
Update from commit logs.
Raymond Toy [Wed, 26 Dec 2012 22:10:33 +0000]
Fix bitrot: set GC_SRC to gc.c if FEATURE_GENCGC is not defined.
Raymond Toy [Wed, 26 Dec 2012 22:10:04 +0000]
Fix bitrot: support scavenging unicode strings..
Raymond Toy [Wed, 26 Dec 2012 19:42:00 +0000]
Forgot to load c-callback and alien-callback in the appropriate
places.
Raymond Toy [Wed, 26 Dec 2012 18:23:17 +0000]
Add :alien-callback to *faatures* for platforms that support it.
bootfiles/20d/boot-2012-12-1.lisp::
Add :alien-callback to *features*
bin/build.sh::
Change bootstrap directory to 20d.
code/lispinit.lisp::
* Register :alien-callback feature if enabled.
* Heap overflow checking depends on gencgc, so register that only if
both are enabled.
tools/comcom.lisp::
Compile c-callback only if :alien-callback is a feature.
tools/worldcom.lisp:
Compile alien-callback onlf if :alien-callback is a feature.
Raymond Toy [Mon, 24 Dec 2012 16:46:02 +0000]
Clean up: move byte-bash-copy near bit-bash-copy, and remove debugging
prints.
Raymond Toy [Mon, 24 Dec 2012 16:39:32 +0000]
Regenerated from sparc port.
Raymond Toy [Sun, 23 Dec 2012 20:15:46 +0000]
Regenerated.
Raymond Toy [Sun, 23 Dec 2012 20:15:12 +0000]
Fix a few compiler notes.
Raymond Toy [Sun, 23 Dec 2012 19:25:48 +0000]
Move the alien callback support into its own files.
compiler/ppc/c-callback.lisp::
compiler/sparc/c-callback.lisp::
compiler/x86/c-callback.lisp::
New file containing the callback code from c-call.lisp.
compiler/ppc/c-call.lisp::
compiler/sparc/c-call.lisp::
compiler/x86/c-call.lisp::
Removed the callback code.
code/alien-callback.lisp::
New file containing the alien callback code.
code/alieneval.lisp::
Removed the alien callback code.
tools/comcom.lisp::
Compile c-callback.lisp
tools/worldcom.lisp:
Compile alien-callback.lisp.
Raymond Toy [Sun, 23 Dec 2012 18:57:48 +0000]
Get rid of the unused bit-bash-<foo> symbols.
Raymond Toy [Sun, 23 Dec 2012 18:56:50 +0000]
Use BYTE-BASH-COPY in the string transforms for SUBSEQ and COPY-SEQ.
Raymond Toy [Sun, 23 Dec 2012 18:38:36 +0000]
Fix ticket:68 by adding {{{BYTE-BASH-COPY}}}
code/bit-bash.lisp::
Add {{{BYTE-BASH-COPY}}} for copying bytes
code/exports.lisp::
Add {{{BYTE-BASH-COPY}}}
compiler/generic/vm-fndb.lisp::
Add {{{BYTE-BASH-COPY}}}
compiler/generic/vm-tran.lisp::
Call {{{BYTE-BASH-COPY}}} in the deftransform for {{{REPLACE}}}.
Raymond Toy [Sat, 22 Dec 2012 20:47:45 +0000]
Fix bitrot in interrupt_maybe_gc.
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.
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).
vm-fndb.lisp:
o Correct the defknown to have the correct arg types (vm::offset
instead of index).
vm-tran.lisp:
o Update deftransform to use vm::offset instead of index.
Raymond Toy [Fri, 21 Dec 2012 03:38:57 +0000]
Reinstate ability to compile with gcc on sparc.
Config.sparc_common:
o Enable ASSEM_SRC, ARCH_SRC, OS_SRC, OS_LIBS again
Config.sparc_gcc:
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.
Config.sparc_sunc:
o Remove ASSEM_SRC, ARCH_SRC, OS_SRC, OS_LINK_FLAGS, and OS_LIBS since
they're in Config.sparc_common.
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.
Raymond Toy [Tue, 11 Dec 2012 05:17:43 +0000]
Print out more info on specialization errors.
Raymond Toy [Mon, 3 Dec 2012 06:27:21 +0000]
Updated from source code changes.
Raymond Toy [Mon, 3 Dec 2012 06:27:06 +0000]
Print out name of offending emitter in some error messages.
Raymond Toy [Sun, 2 Dec 2012 17:31:02 +0000]
When emitter has holes, print out name of offending emitter.
Raymond Toy [Tue, 20 Nov 2012 06:42:47 +0000]
Oops. Need to tell precompile-ef-slot about +ef-osc+.
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
wanted.
Raymond Toy [Mon, 19 Nov 2012 04:51:16 +0000]
Update.
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.
Raymond Toy [Sun, 18 Nov 2012 22:27:50 +0000]
Deprecate the -8 option since we don't support 8-bit builds anymore.
Raymond Toy [Sun, 18 Nov 2012 17:19:07 +0000]
Merge branch 'master' of ssh://common-lisp.net/var/git/projects/cmucl/cmucl
Raymond Toy [Sat, 17 Nov 2012 22:37:12 +0000]
o Update to asdf 2.26
o Add release-20e.txt.
Raymond Toy [Thu, 11 Oct 2012 05:36:53 +0000]
Update asdf to version 2.25.
Raymond Toy [Sat, 17 Nov 2012 22:37:12 +0000]
o Update to asdf 2.26
o Add release-20e.txt.
Raymond Toy [Sun, 28 Oct 2012 15:18:05 +0000]
Merge branch 'master' of ssh://common-lisp.net/var/git/projects/cmucl/cmucl
Raymond Toy [Sat, 27 Oct 2012 16:06:18 +0000]
Oops. expr should not have a "^" character in the regexp. (Sparc
complains about this.)
Raymond Toy [Sat, 27 Oct 2012 15:56:52 +0000]
Check the git hash for a release tag too.
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.
Raymond Toy [Sat, 27 Oct 2012 05:46:29 +0000]
Update.
Raymond Toy [Sat, 27 Oct 2012 05:24:09 +0000]
Update pot and po files for sparc.
Raymond Toy [Sat, 27 Oct 2012 04:04:02 +0000]
Update pot and po files from current code.
Raymond Toy [Thu, 11 Oct 2012 05:36:53 +0000]
Update asdf to version 2.25.
Raymond Toy [Wed, 26 Sep 2012 16:54:58 +0000]
Fix typo (missing closing paren).
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.
Raymond Toy [Wed, 26 Sep 2012 04:15:51 +0000]
Update.
Raymond Toy [Wed, 26 Sep 2012 04:09:46 +0000]
Fix ticket:63.
Raymond Toy [Wed, 5 Sep 2012 02:49:17 +0000]
Output lisp strings in utf8 format in ldb print.
print.c:
* Use utf16_output to output strings as utf8 instead of raw utf16.
interr.c:
* Make utf16_output public instead of static.
interr.h:
* Declare utf16_output.
Raymond Toy [Tue, 4 Sep 2012 03:49:31 +0000]
Fix ticket:62: Needed an IN-PACKAGE.
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
now.
* Split out FreeBSD, NetBSD, and OpenBSD into new files.
Raymond Toy [Sat, 1 Sep 2012 18:08:01 +0000]
Split x86-validate into separate files.
src/lisp/x86-validate.h:
o Remove linux, darwin, and solaris parts
src/lisp/x86-validate-linux.h:
src/lisp/x86-validate-darwin.h:
src/lisp/x86-validate-solaris.h:
o New files for each os.
Raymond Toy [Sat, 1 Sep 2012 18:05:15 +0000]
Update from logs.
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.
Raymond Toy [Tue, 28 Aug 2012 06:00:23 +0000]
Update to asdf 2.24.
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.
Raymond Toy [Mon, 27 Aug 2012 03:12:29 +0000]
Minor cleanups of utf8 code.
Raymond Toy [Sat, 25 Aug 2012 15:48:51 +0000]
Change %primitive print.to output strings in utf8 instead of utf16.
No more random NUL ASCII characters on output now.
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.
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.
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
architecture.
Raymond Toy [Fri, 10 Aug 2012 06:46:43 +0000]
src/lisp/os.h:
src/lisp/gencgc.c:
* Move the macros for fpu buffers from gencgc.c to here.
src/lisp/x86-arch.c:
* Use the new save_fpu_state instead of fpu_save. And apply to all
OSes.
Raymond Toy [Fri, 10 Aug 2012 06:44:26 +0000]
Use /usr/bin/sed instead of whatever is in the path.
Raymond Toy [Sun, 5 Aug 2012 23:32:21 +0000]
Support Lion and Mountain Lion which return x86-64 for uname -m.
Raymond Toy [Sat, 4 Aug 2012 04:57:38 +0000]
Add note that OSX 10.4 is no longer supported.
Raymond Toy [Sat, 4 Aug 2012 04:41:20 +0000]
Add note that OSX Lion can compile cmucl.
Raymond Toy [Sat, 4 Aug 2012 04:39:13 +0000]
Merge branch 'master' of ssh://common-lisp.net/var/git/projects/cmucl/cmucl
Raymond Toy [Sat, 4 Aug 2012 04:28:21 +0000]
Update.
Raymond Toy [Sat, 4 Aug 2012 04:27:36 +0000]
Recognize x86_64 (for OSX Lion).
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.
Raymond Toy [Wed, 18 Jul 2012 06:09:21 +0000]
Update to asdf 2.23.
Raymond Toy [Wed, 18 Jul 2012 03:13:39 +0000]
Remove comment about compiling with clang, which now works fine.
Raymond Toy [Wed, 18 Jul 2012 03:11:13 +0000]
Fix ticket:61, using option 2.
src/lisp/gencgc.c:
o Save and restore the FPU state in alloc().
src/compiler/x86/alloc.lisp
src/compiler/x86/array.lisp
src/compiler/x86/call.lisp
src/compiler/x86/float-sse2.lisp
src/compiler/x86/float.lisp
src/compiler/x86/move.lisp
src/compiler/x86/sap.lisp:
o Don't need to use :save-p anymore because the allocation routine
saves an live registers anyway. This improves code generation as
well.
src/general-info/release-20d.txt:
o Update.
Raymond Toy [Wed, 18 Jul 2012 02:51:28 +0000]
Add -R option to force recompilation of C runtime.
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!)
Raymond Toy [Wed, 18 Jul 2012 02:32:17 +0000]
Clean up and correct some comments.
Raymond Toy [Tue, 17 Jul 2012 05:21:18 +0000]
Change url to www.cmucl.org.
Raymond Toy [Tue, 17 Jul 2012 02:43:14 +0000]
Clean up not-inline-allocation.
src/lisp/x86-assem.S:
o Remove the (now) unused alloc_to_<reg> functions.
src/compiler/x86/macros.lisp:
o Simplify the not-inline-allocation to use the same routines as
inline allocation.
Raymond Toy [Fri, 13 Jul 2012 03:49:43 +0000]
Remove old inline allocation function and corresponding assembly routines.
Raymond Toy [Thu, 12 Jul 2012 05:00:07 +0000]
Clean up alloc overflow routine. Cross-compile needed.
src/bootfiles/20c/boot-2012-07-1-x86-cross.lisp:
o X86 cross-compile script
src/compiler/x86/macros.lisp:
o New inline-allocation to call our new overflow routine.
src/lisp/x86-assem.S:
o New alloc_overflow routine.
src/tools/cross-scripts/cross-x86-x86.lisp:
o Export all symbols in VM that are external symbols in OLD-VM with
the corresponding symbol name.
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().
Raymond Toy [Thu, 5 Jul 2012 15:48:31 +0000]
Rearrange the fpu save/restore stuff to make it a bit simpler.
Raymond Toy [Sat, 30 Jun 2012 22:08:37 +0000]
All VOPs that call allocation should save any live registers.
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.
Raymond Toy [Fri, 15 Jun 2012 19:19:47 +0000]
Update to asdf 2.22. Testsuite for asdf, using 2012-06, passes fine.
Raymond Toy [Tue, 12 Jun 2012 03:54:47 +0000]
Oops. Didn't mean for the gencgc.o rule to get included.
Raymond Toy [Sat, 2 Jun 2012 22:02:00 +0000]
Add comments about using clang instead of gcc on x86.
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
object.
Raymond Toy [Fri, 1 Jun 2012 02:55:27 +0000]
Update translation template.
Raymond Toy [Wed, 30 May 2012 03:17:47 +0000]
Update.
Raymond Toy [Wed, 30 May 2012 02:57:28 +0000]
Revert :file-attribute changes.
Raymond Toy [Mon, 28 May 2012 22:49:32 +0000]
Update with new :FILE-ATTRIBUTE external format, contributed by
Douglas Crosher.
Raymond Toy [Mon, 28 May 2012 16:47:36 +0000]
Remove extra closing parenthesis.
Raymond Toy [Mon, 28 May 2012 16:19:17 +0000]
Merge branch 'master' into ext-format-file-attribute
Raymond Toy [Mon, 28 May 2012 16:18:47 +0000]
Update with changes.
Raymond Toy [Mon, 28 May 2012 16:11:46 +0000]
Fix ticket:60
src/compiler/main.lisp:
o Remove special treatment of EXPORT (and others) in the compiler. I
think we only need to treat IN-PACKAGE and DEFPACKAGE specially.
src/contrib/defsyste/defsystem.lisp:
o Add FIND-SYSTEM to the defpackage export list for MAKE.
src/tools/hemcom.lisp:
o Add defpackage for hemlock-internals since export no longer has the
compile-time effect.
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.
Raymond Toy [Sat, 26 May 2012 16:13:34 +0000]
Use concatenate instead of format because format isn't available when
compiling.
Raymond Toy [Sat, 26 May 2012 15:24:55 +0000]
Debugger needs to open file with the appropriate external format.
Patch from Douglas.
Raymond Toy [Sat, 26 May 2012 15:24:22 +0000]
Add all the emacs format encodings. From Douglas.
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}}}.
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.
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.
src/code/float-trap.lisp:
o Clear current and accrued exception bits that match any new enabled
exceptions specified by :traps.
src/general-info/release-20d.txt:
o Update.
Raymond Toy [Thu, 10 May 2012 06:14:00 +0000]
Add popcnt instruction and use it in logcount vop if :sse3 is a
feature.
* 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.