/[cmucl]/src/compiler/saptran.lisp
ViewVC logotype

Log of /src/compiler/saptran.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:19:01 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, post-merge-intl-branch, release-20b-pre1, release-20b-pre2, snapshot-2010-04, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, snapshot-2010-08, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch, sparc-tramp-assem-branch
Changes since 1.18: +3 -2 lines
Diff to previous 1.18
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.18.24.3 - (view) (annotate) - [select for diffs]
Fri Feb 26 03:38:17 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-2010-03-18-1300
Changes since 1.18.24.2: +2 -2 lines
Diff to previous 1.18.24.2 , to branch point 1.18 , to next main 1.19
Do translation of compiler-error messages in compiler-error.  Update
all calls to use _N instead of _.

Revision 1.18.26.1 - (view) (annotate) - [select for diffs]
Thu Feb 25 20:34:53 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-2-branch
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 , to next main 1.19
Restart internalization work.  This new branch starts with code from
the intl-branch on date 2010-02-12 18:00:00+0500.  This version works
and

LANG=en@piglatin bin/lisp

works (once the piglatin translation is added).

Revision 1.18.24.2 - (view) (annotate) - [select for diffs]
Thu Feb 11 02:45:32 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000
Changes since 1.18.24.1: +2 -2 lines
Diff to previous 1.18.24.1 , to branch point 1.18
Mark translatable strings; regenerate cmucl.pot and ko/cmucl.po
accordingly.

Revision 1.18.24.1 - (view) (annotate) - [select for diffs]
Mon Feb 8 17:15:51 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
Changes since 1.18: +2 -1 lines
Diff to previous 1.18
Add (intl:textdomain "cmucl") to the files to set the textdomain.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Jan 3 11:41:52 2008 UTC (6 years, 3 months ago) by cshapiro
Branch: MAIN
CVS Tags: RELEASE_19f, RELEASE_20a, amd64-dd-start, intl-2-branch-base, intl-branch-base, label-2009-03-16, label-2009-03-25, merge-sse2-packed, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, pre-merge-intl-branch, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, release-19f-base, release-19f-pre1, release-20a-base, release-20a-pre1, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01, 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, sse2-base, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base, unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-string-buffer-base, unicode-string-buffer-impl-base, unicode-utf16-base, unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-extfmts-sync-2008-12, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11, unicode-utf16-sync-2008-12, unicode-utf16-sync-label-2009-03-16
Branch point for: RELEASE-19F-BRANCH, RELEASE-20A-BRANCH, amd64-dd-branch, intl-2-branch, intl-branch, portable-clx-branch, release-19e-branch, sse2-branch, sse2-packed-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch, unicode-utf16-branch, unicode-utf16-extfmt-branch
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
Switch the FreeBSD port to use the common floating point trap handling
code.  Rather than introduce a new FreeBSD case to the x86 sigcontext
member accessor routines, collapse all of the system specific routines
down to a common set of routines.

* code/debug-int.lisp - Disable some Darwin-specific code to debug
  NULL mcontext pointers.

* code/float-trap.lisp - Remove ancient FreeBSD-specific code for
  handling floating point signals.

* code/macros.lisp, code/sap.lisp, compiler/saptran.lisp - Include the
  SAP-REF-LONG setter by default on the x86.

* code/x86-vm.lisp - Remove operating system specific sigcontext
  definitions and sigcontext accessors.  Define the alien sigcontext
  as a system area pointer.  Replace the sigcontext accessors with
  foreign function calls that mask the complexity of the underlying
  sigcontext member access.

* compiler/x86/float.lisp - Unconditionally define STORE-LONG-FLOAT.
  This function is used by the %SET-SAP-REF-LONG VOP that underlies
  the SAP-REF-LONG setter.

* compiler/x86/sap.lisp - Unconditionally define %SET-SAP-REF-LONG.
  In the case where there is not a distinct LONG-FLOAT type, admit
  DOUBLE-FLOAT values instead.  The x87 automatically widens values
  pushed onto stack.  This mirrors the behavior of the SAP-REF-LONG
  VOP.

* lisp/Darwin-os.c, lisp/Linux-os.c - Define functions to access
  sigcontext members of interest to Lisp.  Delete the sc_reg function
  and replace its uses with os_sigcontext_reg which is more suitably
  typed.

* lisp/FreeBSD-os.c - Define functions to access sigcontext members of
  interest to Lisp.  We need to be careful about the SSE and non-SSE
  cases for retrieving x87 registers from the saved machine state.
  Define a low-level SIGFPE handler to intercept floating point traps
  and restore the cleared status word bits based on the signal code.
  Get rid of sc_reg for the reasons noted above.

* lisp/Darwin-os.h, lisp/FreeBSD-os.h - Declare the restore_fpu
  function and define a specialized RESTORE_FPU macro.  Remove the
  sc_reg prototype.

* lisp/Linux-os.h - Remove the sc_reg prototype.

* lisp/os.h - Add prototypes for the new os_sigcontext functions.

* lisp/x86-lispregs.h - Redefine SC_REG and SC_PC to expand out to the
  new os_sigcontext functions.  Redfine SC_SP to expand out to SC_REG.
  Eliminate all platform-specific defintions of SC_PC and SC_SP.

Revision 1.17 - (view) (annotate) - [select for diffs]
Mon May 24 22:52:35 2004 UTC (9 years, 10 months ago) by cwang
Branch: MAIN
CVS Tags: double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, ppc_gencgc_snap_2005-05-14, ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06, pre-telent-clx, prm-before-macosx-merge-tag, release-19b-base, release-19b-pre1, release-19b-pre2, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, snapshot-2004-06, snapshot-2004-07, snapshot-2004-08, snapshot-2004-09, snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05, snapshot-2007-06, snapshot-2007-07, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, ppc_gencgc_branch, release-19b-branch, release-19c-branch, release-19d-branch
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
amd64 changes

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Oct 15 13:16:37 2003 UTC (10 years, 6 months ago) by toy
Branch: MAIN
CVS Tags: amd64-merge-start, mod-arith-base, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05
Branch point for: mod-arith-branch, release-19a-branch
Changes since 1.15: +21 -11 lines
Diff to previous 1.15
Make the offsets for SAP functions be bigger than fixnums since we can
have much larger heaps now.

Revision 1.14.2.1 - (view) (annotate) - [select for diffs]
Mon Aug 25 17:06:45 2003 UTC (10 years, 7 months ago) by gerd
Branch: dynamic-extent
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 , to next main 1.19
Merge with HEAD.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Aug 16 11:45:47 2003 UTC (10 years, 8 months ago) by gerd
Branch: MAIN
CVS Tags: lisp-executable-base, snapshot-2003-10, sparc_gencgc_merge
Branch point for: lisp-executable
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
	Format string checking for ERROR, WARN, and others.

	* src/compiler/srctran.lisp (check-format-args-1)
	(check-format-args-2): Extracted from check-format-args.
	(check-format-args): Take a continuation argument for the control
	string.
	(format): Use the new check- functions.
	(error, warn, compiler-error, compiler-warning)
	(compiler-note, compiler-mumble): Add format-checking
	deftransforms.

	* src/compiler/fndb.lisp (compiler-warning, compiler-note)
	(compiler-mumble, compiler-error): Add defknowns.

	* src/compiler/ir1util.lisp (compiler-mumble, compiler-warning)
	(compiler-note): Return no values.

	* src/code/parse-time.lisp (deal-with-am-pm): Add a missing
	arg to error.
	* src/compiler/saptran.lisp (foreign-symbol-address):
	* src/compiler/new-assem.lisp (emit-annotation): Likewise.

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Jun 5 18:49:01 2003 UTC (10 years, 10 months ago) by gerd
Branch: MAIN
CVS Tags: dynamic-extent-base, sparc_gencgc
Branch point for: dynamic-extent, sparc_gencgc_branch
Changes since 1.13: +4 -1 lines
Diff to previous 1.13
	* src/compiler/saptran.lisp (foreign-symbol-address)
	[#+linkage-table]:  Give up if the symbol's name is not
	a constant, because the vops are only defined for constants.

Revision 1.12.4.1 - (view) (annotate) - [select for diffs]
Fri Mar 21 00:05:06 2003 UTC (11 years, 1 month ago) by gerd
Branch: cold-pcl
Changes since 1.12: +20 -19 lines
Diff to previous 1.12 , to next main 1.19
Merge with HEAD.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Mar 17 22:10:59 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
CVS Tags: release-18e, release-18e-base, release-18e-pre1, release-18e-pre2, remove_negative_zero_not_zero
Branch point for: release-18e-branch
Changes since 1.12: +20 -19 lines
Diff to previous 1.12
Fix deftransform for foreign-symbol-address to match function definition
w.r.t. the keyword argument flavor.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Aug 27 22:18:27 2002 UTC (11 years, 7 months ago) by moore
Branch: MAIN
CVS Tags: LINKAGE_TABLE, UNICODE-BASE, cold-pcl-base
Branch point for: UNICODE-BRANCH, cold-pcl
Changes since 1.11: +31 -2 lines
Diff to previous 1.11
On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
They now go through a table -- effectively a new space in the core file.
Function references are resolved lazily, data references are resolved on startup
and when a .so is loaded.  The end result is that cores can be dumped that
contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.

The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
runtime.  Several foreign symbols are now Lisp static symbols, so a cross
compile is required whether or not the new stuff is used.  I've checked in
boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
a discussion on standardizing "cross compilation," not to mention the general
build procedure.

Revision 1.7.2.2 - (view) (annotate) - [select for diffs]
Tue May 23 16:37:22 2000 UTC (13 years, 11 months ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18c, RELEASE_18d
Changes since 1.7.2.1: +3 -5 lines
Diff to previous 1.7.2.1 , to branch point 1.7 , to next main 1.19
This set of revisions brings the RELENG_18 branch up to HEAD in preparation
for an 18c release.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Sep 15 15:11:30 1999 UTC (14 years, 7 months ago) by dtc
Branch: MAIN
CVS Tags: PRE_LINKAGE_TABLE
Changes since 1.10: +3 -5 lines
Diff to previous 1.10
Enable the SAP-ref-64 defknowns on all ports.

Enable the sap-ref/sap+ optimisation for 64 bit accessors.

Revision 1.7.2.1 - (view) (annotate) - [select for diffs]
Tue Jun 23 11:23:05 1998 UTC (15 years, 10 months ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18b
Changes since 1.7: +33 -24 lines
Diff to previous 1.7
This (huge) revision brings the RELENG_18 branch up to the current HEAD.
Note code/unix-glib2.lisp not yet included -- not sure it is ready to go.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat Mar 21 08:08:33 1998 UTC (16 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.9: +8 -3 lines
Diff to previous 1.9
Long-float support.

Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Mar 4 14:56:35 1998 UTC (16 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.8: +23 -23 lines
Diff to previous 1.8
Update the Alpha, MIPS, and HPPA ports to accept a signed offset to
the sap-ref and sap-set VOPs; all the ports now use the same
convention.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Feb 19 10:52:19 1998 UTC (16 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7
Bring in sap-ref-long for the x86 port, which is needed at least to
load FP registers from the sigcontext.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Apr 25 20:49:43 1997 UTC (16 years, 11 months ago) by dtc
Branch: MAIN
CVS Tags: RELEASE_18a
Branch point for: RELENG_18
Changes since 1.6: +23 -23 lines
Diff to previous 1.6
Allow signed index on sap-reg functions on the sparc. Fixes some
inconsistencies which showed up on the x86 port.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Feb 15 17:10:46 1997 UTC (17 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.5: +23 -23 lines
Diff to previous 1.5
Change the index used in the SAP functions to a fixnum. This is handy
on the x86 as the stack grows down and offsets are often negative. It
also fixes an inconsistency with sap- which accepts SAPs but could
fail in some cases due to compiler transforms to other sap operations
which only accept a positive index.  This also requires slight backend
VOPS changes (currently only supported on the x86 port). The other
ports should pick this one up.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Oct 31 04:27:28 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.4: +1 -3 lines
Diff to previous 1.4
Fix headed boilerplate.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Apr 6 16:45:50 1994 UTC (20 years ago) by hallgren
Branch: MAIN
Changes since 1.3: +21 -3 lines
Diff to previous 1.3
Alpha support: Added sap-ref-64 stuff and added 64 bit size for sap-int and int-sap.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Dec 18 20:40:22 1992 UTC (21 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2
Changed a use of LOOP destructuring to a DESTRUCTURING-BIND because LOOP
has assignment semantics and we were closing over one of the vars.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Feb 21 22:01:32 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.1: +42 -116 lines
Diff to previous 1.1
Changed all SAP-REF-mumble functions to take the offset in bytes.

Revision 1.1 - (view) (annotate) - [select for diffs]
Sat Jan 25 05:32:18 1992 UTC (22 years, 3 months ago) by wlott
Branch: MAIN
Initial revision

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