/[cmucl]/src/lisp/Config.x86_darwin
ViewVC logotype

Log of /src/lisp/Config.x86_darwin

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.10 - (view) (annotate) - [select for diffs]
Sun Jan 9 00:12:36 2011 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
Changes to support building on Mac OS X 10.6.  When compiled on 10.6,
the resulting binary still works on 10.5.

lisp/Config.x86_darwin:
o Add -m32 flag to build and link a 32-bit binary.

lisp/Darwin-os.h:
o Include <sys/ucontext.h> instead of <ucontext.h> to get rid of the
  error about deprecated functions in ucontext.h.

lisp/gencgc.h:
o Mac OS X defines PAGE_SIZE in a header and that conflicts with our
  name.  Rename our PAGE_SIZE to GC_PAGE_SIZE.

lisp/gencgc.c:
o Rename PAGE_SIZE to GC_PAGE_SIZE.

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Jul 30 22:51:58 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, release-20b-pre1, release-20b-pre2, snapshot-2010-08, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch
Changes since 1.8: +4 -1 lines
Diff to previous 1.8
First cut at executable images on Darwin/x86.  The resulting
executable appears to work!

bootfiles/20a/boot-2010-07-1.lisp:
o Add :executable for darwin/x86.

code/bsd-os.lisp:
o Make :elf and :mach-o runtime features too.
o Register :executable of :executable is defined.

lisp/Config.x86_darwin:
o Need mach-o.c
o Add exec-final.c

lisp/lisp.c:
o Don't include elf.h if we're on Darwin since Darwin uses Mach-O, not
  ELF.
o For Darwin, we get the initial function address from
  initial_function_addr, not from &initial_function_addr, like for
  Linux.

lisp/save.c
o Don't include libgen.h and elf.h on Darwin.

tools/linker-x86.sh:
o Update to support Darwin.

tools/make-main-dist.sh:
o Add support for executables on Darwin.

lisp/mach-o.c:
o Initial support for writing Mach-O files for the Lisp spaces.
o Initial support for reading a Mach-O executable to find and map the
  Lisp spaces.

Revision 1.2.4.1.2.3 - (view) (annotate) - [select for diffs]
Wed Mar 18 15:37:29 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11
Changes since 1.2.4.1.2.2: +14 -45 lines
Diff to previous 1.2.4.1.2.2 , to branch point 1.2.4.1 , to next main 1.2.4.4
Sync to utf16 branch, tag unicode-utf16-sync-label-2009-03-16.

Revision 1.2.4.4 - (view) (annotate) - [select for diffs]
Mon Mar 16 21:10:56 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-sync-label-2009-03-16
Changes since 1.2.4.3: +14 -45 lines
Diff to previous 1.2.4.3 , to branch point 1.2 , to next main 1.10
Sync to CVS HEAD, tag label-2009-03-16.

But don't sync Config.FreeBSD_gencgc, Config.x86_freebsd,
FreeBSD-os.c, and FreeBSD-os.h.  Let Alex sync those later.

The result seems to work as expected on Solaris and x86/linux.
Darwin (ppc or x86) untested.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Jan 11 17:52:44 2009 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_19f, RELEASE_20a, amd64-dd-start, intl-2-branch-base, intl-branch-2010-03-18-1300, intl-branch-base, intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000, label-2009-03-16, label-2009-03-25, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, post-merge-intl-branch, pre-merge-intl-branch, release-19f-base, release-19f-pre1, release-20a-base, release-20a-pre1, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03, snapshot-2010-04, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-19F-BRANCH, RELEASE-20A-BRANCH, amd64-dd-branch, intl-2-branch, intl-branch, portable-clx-branch, sparc-tramp-assem-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.7: +9 -38 lines
Diff to previous 1.7
Config.x86_common:
o Use += to append to variables instead of setting them.
o Add common OS_SRC files.
o Move rule for building e_rem_pio2.c to here.  Add CPPFLAGS too.

Config.x86_common:
o Remove common files from OS_SRC.
o Remove rele for e_rem_pio2.c

Config.x86_darwin:
o Update to use Config.x86_common.

GNUmakefile:
o Use CPPFLAGS when building version.o

Revision 1.7 - (view) (annotate) - [select for diffs]
Mon Dec 29 14:40:34 2008 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2009-01
Changes since 1.6: +5 -1 lines
Diff to previous 1.6
Support building and running on OSX 10.4 (Tiger).

lisp/Config.x86_darwin:
o Add -mmacosx-version-min=10.4 so the C code can run on Tiger.

lisp/Darwin.c:
lisp/x86-lispregs.h:
o The mcontext slot names have a prefix of "__" on 10.5, but have no
  prefix on 10.4.  Add #define's to make the source code work on either.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Dec 27 17:38:42 2008 UTC (5 years, 3 months ago) by rtoy
Branch: MAIN
Changes since 1.5: +4 -5 lines
Diff to previous 1.5
Clean up Config, like in linux_gencgc, removing LINKAGE, GENCGC, and
SSE2 flags, and adding them to RUNTIME.

Revision 1.2.4.1.2.2 - (view) (annotate) - [select for diffs]
Fri Dec 19 01:31:34 2008 UTC (5 years, 4 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-utf16-extfmts-sync-2008-12
Changes since 1.2.4.1.2.1: +12 -2 lines
Diff to previous 1.2.4.1.2.1 , to branch point 1.2.4.1
Merge changes from utf16 branch to update to snapshot 2008-12.

Revision 1.2.4.3 - (view) (annotate) - [select for diffs]
Thu Dec 18 21:50:19 2008 UTC (5 years, 4 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-12
Changes since 1.2.4.2: +12 -2 lines
Diff to previous 1.2.4.2 , to branch point 1.2
Merge Snapshot 2008-12 to this branch.  Some tweaks needed in
boot-2008-05-cross-unicode-x86.lisp and the Config files.  FreeBSD and
Darwin/x86 untested, but Linux and Solaris build ok.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sat Nov 15 15:20:07 2008 UTC (5 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2008-12
Changes since 1.4: +5 -0 lines
Diff to previous 1.4
Enable SSE2 when either FEATURE_X87 or FEATURE_SSE2 is set so the C
runtime will always support SSE2.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Nov 12 15:04:23 2008 UTC (5 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: merge-sse2-packed
Changes since 1.3: +7 -2 lines
Diff to previous 1.3
Merge in SSE2 changes from sse2-packed-branch (tag
sse2-packed-2008-11-12).

Revision 1.2.4.1.2.1 - (view) (annotate) - [select for diffs]
Sun Nov 2 13:30:03 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
Changes since 1.2.4.1: +12 -3 lines
Diff to previous 1.2.4.1
Sync to snapshot 2008-11.  But we didn't sync code/extfmts.lisp or
iso8859-1.lisp and utf-8.lisp.  (I don't think we want those changes,
yet.)

Revision 1.2.4.2 - (view) (annotate) - [select for diffs]
Sat Nov 1 22:40:36 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-11
Changes since 1.2.4.1: +12 -3 lines
Diff to previous 1.2.4.1 , to branch point 1.2
Sync to snapshot 2008-11.

Revision 1.3.2.2 - (view) (annotate) - [select for diffs]
Sat Sep 27 13:20:27 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
CVS Tags: sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base
Branch point for: sse2-packed-branch
Changes since 1.3.2.1: +3 -2 lines
Diff to previous 1.3.2.1 , to branch point 1.3 , to next main 1.10
Minor cleanup.  But all the runtime feature stuff into RUNTIME.

Revision 1.3.2.1 - (view) (annotate) - [select for diffs]
Fri Sep 26 18:56:43 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
Changes since 1.3: +6 -2 lines
Diff to previous 1.3
Initial support for SSE2.  This compiles itself ok on Linux, and
should work on OSX.  Much cleanup is needed, and still need to restore
buildability without SSE2.

Use bootfiles/19e/boot-2008-09-sse2.lisp as the cross-compile script.

The key changes are in these new files:

o float-sse2.lisp: implements all of the floating-point stuff with
  SSE2
o sse2-array.lisp: replacement vops using sse2 instead of x87
o sse2-c-call.lisp: replacement vops using sse2 instead of x87.
o sse2-sap.lisp: replacement vops using sse2 instead of x87



code/irrat.lisp:
o Basically turn off all the special routines that use the x87 trig,
  log, or exp instructions.  We don't support that currently.  (Would
  be nice, though.)
o Turn on %%sin and friends, like on ppc.
o Turn off %sin-quick and friends since we don't want to use x87 now.

code/misc.lisp:
o Register :sse2 feature.

compiler/float-tran.lisp:
o Disable transforms for x86 that use x87 instructions.  We don't
  support that with sse2.

compiler/loadbackend.lisp:
o Load up the appropriate sse2 files for the compiler.  This will
  currently overwrite existing vops with vops for SSE2.

compiler/x86/float.lisp:
o Disable various vops using the x87 instructions, since
  float-sse2.lisp doesn't have equivalents.  (Just in case.  Since
  this isn't compiled or loaded, we shouldn't need to do this.)

compiler/x86/insts.lisp:
o Add support for SSE2 instructions.  Shamelessly borrowed from our
  SBCL friends.

compiler/x86/vm.lisp:
o Turn off some fp-constants that are not supported with sse2.
o Print FP registers as XMM instead of FR.

lisp/Config.linux_gencgc:
lisp/Config.x86_darwin:
o Enable FEATURE_SSE2 flag when compiling.

lisp/Darwin-os.c:
lisp/Linux-os.c:
o Get the mxcsr status bits too when getting the FPU status from a
  sigcontext.

lisp/x86-assem.S:
o For SSE2, we copy any floating-point result (in ST(0)) to XMM0, so
  Lisp code can get it.

tools/comcom.lisp:
o Compile up the SSE2 files as needed.

Revision 1.3 - (view) (annotate) - [select for diffs]
Sat Sep 13 19:56:31 2008 UTC (5 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2008-10, snapshot-2008-11, sse2-base
Branch point for: sse2-branch
Changes since 1.2: +14 -3 lines
Diff to previous 1.2
Minor tweaks.
o Add mode line for emacs
o Use FEATURE_LINKAGE_TABLE and FEATURE_GENCGC to enable/disable the
  appropriate flags.

Revision 1.2.4.1 - (view) (annotate) - [select for diffs]
Thu May 15 01:48:09 2008 UTC (5 years, 11 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09
Branch point for: unicode-utf16-extfmt-branch
Changes since 1.2: +8 -1 lines
Diff to previous 1.2
Add support for unicode compile feature.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Jan 31 12:44:20 2008 UTC (6 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: release-19d, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, unicode-utf16-base
Branch point for: release-19e-branch, unicode-utf16-branch
Changes since 1.1: +4 -0 lines
Diff to previous 1.1
Compile e_rem_pio2.c with -fno-strict-aliasing.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Jul 6 08:04:39 2007 UTC (6 years, 9 months ago) by cshapiro
Branch: MAIN
CVS Tags: pre-telent-clx, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01
Import x86 Darwin port.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5