X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fbackend-parms.lisp;h=a1802f5e71a0584621fb8add3ae4829552bad68f;hb=902e93736a0888aa6b04dc328b1eb328423bf426;hp=b89161808c6d012cf82bdae2ef94d36bb4f04f37;hpb=2716573f357f204c5f546d1d34d285dd24ff43a1;p=sbcl.git diff --git a/src/compiler/x86/backend-parms.lisp b/src/compiler/x86/backend-parms.lisp index b891618..a1802f5 100644 --- a/src/compiler/x86/backend-parms.lisp +++ b/src/compiler/x86/backend-parms.lisp @@ -17,24 +17,27 @@ ;;;; compiler constants -(setf *backend-fasl-file-type* "x86f") -(setf *backend-fasl-file-implementation* :x86) -(setf *backend-fasl-file-version* 6) -;;; 2 = sbcl-0.6.4 uses COMPILE-OR-LOAD-DEFGENERIC. -;;; 3 = sbcl-0.6.6 uses private symbol, not :EMPTY, for empty HASH-TABLE slot. -;;; 4 = sbcl-0.6.7 uses HAIRY-DATA-VECTOR-REF and HAIRY-DATA-VECTOR-SET -;;; when array headers or data element type uncertainty exist, and -;;; uses DATA-VECTOR-REF and DATA-VECTOR-SET only for VOPs. (Thus, -;;; full calls to DATA-VECTOR-REF and DATA-VECTOR-SET from older -;;; fasl files would fail, because there are no DEFUNs for these -;;; operations any more.) -;;; 5 = sbcl-0.6.8 has rearranged static symbols. -;;; 6 = sbcl-0.6.9 got rid of non-ANSI %DEFCONSTANT/%%DEFCONSTANT stuff. +(def!constant +backend-fasl-file-implementation+ :x86) (setf *backend-register-save-penalty* 3) (setf *backend-byte-order* :little-endian) +;;; KLUDGE: It would seem natural to set this by asking our C runtime +;;; code for it, but mostly we need it for GENESIS, which doesn't in +;;; general have our C runtime code running to ask, so instead we set +;;; it by hand. -- WHN 2001-04-15 +;;; +;;; Though note that POSIX specifies (as far as I can tell) +;;; +;;; sysconf(_SC_PAGE_SIZE); +;;; +;;; as a portable way of retrieving this information; a call to this +;;; could be made in grovel-headers (which, strictly speaking, would +;;; no longer solely be grovelling headers), though the question of +;;; how to make this information appear in GENESIS, which is built and +;;; run from host-1 files (which are made before grovel-headers runs) +;;; would remain. -- CSR, 2002-09-01 (setf *backend-page-size* 4096) ;;; comment from CMU CL: ;;;