Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/compiler/CodeGen/ppc/ppcspec.sml
ViewVC logotype

Annotation of /sml/trunk/src/compiler/CodeGen/ppc/ppcspec.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1537 - (view) (download)

1 : monnier 245 (* PPCspec.sml
2 :     *
3 :     * COPYRIGHT (c) 1999 Bell Laboratories.
4 :     *
5 :     *)
6 :    
7 :     structure PPCSpec : MACH_SPEC =
8 :     struct
9 :    
10 :     open DefaultMachSpec
11 :    
12 : mblume 1532 val framesize = 8192
13 :    
14 : monnier 245 val architecture = "ppc"
15 :     val bigEndian = false
16 : mblume 1532 val spillAreaSz = 8192 (* really the end of the spill area! *)
17 :     val initialSpillOffset = 4096+144
18 : monnier 245 val numRegs = 15
19 :     val numFloatRegs = 30
20 :     val numFloatCalleeSaves = 0
21 : mblume 1532 val startgcOffset = 4096+4 (* from runtime *)
22 : monnier 245 val constBaseRegOffset = 32764
23 : blume 812
24 : mblume 1532 val ML_STATE_OFFSET = 4096+0
25 : blume 812 val VProcOffMSP = 4
26 :     val InMLOffVSP = 8
27 :     val LimitPtrMaskOffVSP = 200
28 : mblume 1537
29 :     val ccall_maxargspace = SOME (4096 - 24) (* 4k minus linkage area *)
30 : monnier 245 end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0