62c17ec485ffab21313ff80fbc386d7d5b62a6af
[sbcl.git] / src / compiler / x86 / backend-parms.lisp
1 ;;;; that part of the parms.lisp file from original CMU CL which is defined in
2 ;;;; terms of the BACKEND structure
3 ;;;;
4 ;;;; FIXME: When we break up the BACKEND structure, this might be mergeable
5 ;;;; back into the parms.lisp file.
6
7 ;;;; This software is part of the SBCL system. See the README file for
8 ;;;; more information.
9 ;;;;
10 ;;;; This software is derived from the CMU CL system, which was
11 ;;;; written at Carnegie Mellon University and released into the
12 ;;;; public domain. The software is in the public domain and is
13 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
14 ;;;; files for more information.
15
16 (in-package "SB!VM")
17
18 (file-comment
19  "$Header$")
20 \f
21 ;;;; compiler constants
22
23 (setf *backend-fasl-file-type* "x86f")
24 (setf *backend-fasl-file-implementation* :x86)
25 (setf *backend-fasl-file-version* 5)
26 ;;; 2 = sbcl-0.6.4 uses COMPILE-OR-LOAD-DEFGENERIC.
27 ;;; 3 = sbcl-0.6.6 uses private symbol, not :EMPTY, for empty HASH-TABLE slot.
28 ;;; 4 = sbcl-0.6.7 uses HAIRY-DATA-VECTOR-REF and HAIRY-DATA-VECTOR-SET
29 ;;;     when array headers or data element type uncertainty exist, and
30 ;;;     uses DATA-VECTOR-REF and DATA-VECTOR-SET only for VOPs. (Thus,
31 ;;;     full calls to DATA-VECTOR-REF and DATA-VECTOR-SET from older
32 ;;;     fasl files would fail, because there are no DEFUNs for these
33 ;;;     operations any more.)
34 ;;; 5 = sbcl-0.6.8 has rearranged static symbols.
35
36 (setf *backend-register-save-penalty* 3)
37
38 (setf *backend-byte-order* :little-endian)
39
40 (setf *backend-page-size* 4096)
41 ;;; comment from CMU CL:
42 ;;;
43 ;;;   in case we ever wanted to do this for Windows NT..
44 ;;;
45 ;;;   Windows NT uses a memory system granularity of 64K, which means
46 ;;;   everything that gets mapped must be a multiple of that. The real
47 ;;;   page size is 512, but that doesn't do us a whole lot of good.
48 ;;;   Effectively, the page size is 64K.
49 ;;;
50 ;;;   would be: (setf *backend-page-size* 65536)