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/branches/num64/compiler/Basics/mlcomp/target.sig
ViewVC logotype

Annotation of /sml/branches/num64/compiler/Basics/mlcomp/target.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4450 - (view) (download) (as text)
Original Path: sml/trunk/compiler/Basics/mlcomp/target.sig

1 : jhr 4439 (* target.sig
2 :     *
3 :     * COPYRIGHT (c) 2017 The Fellowship of SML/NJ (http://www.smlnj.org)
4 :     * All rights reserved.
5 :     *)
6 :    
7 :     signature TARGET =
8 :     sig
9 :    
10 : jhr 4450 (* the size of an ML value (aka "word") on the target; usually this is the
11 :     * natural pointer size, but some 64-bit targets (e.g., the Alpha) have
12 :     * used 32-bits for ML words.
13 :     *)
14 :     val mlValueSz : int
15 :    
16 :     (* the size of the default "int" type (== mlValueSz-1) *)
17 : jhr 4439 val defaultIntSz : int
18 :    
19 : jhr 4450 (* the default size of the "real" type (usually 64-bits) *)
20 : jhr 4439 val defaultRealSz : int
21 :    
22 :     (* true for 64-bit targets *)
23 :     val is64 : bool
24 :    
25 :     end

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