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

SCM Repository

[smlnj] View of /sml/trunk/compiler/CodeGen/alpha32/alpha32spec.sml
ViewVC logotype

View of /sml/trunk/compiler/CodeGen/alpha32/alpha32spec.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4380 - (download) (annotate)
Wed Aug 23 20:42:36 2017 UTC (3 years, 2 months ago) by jhr
File size: 671 byte(s)
  Working on 64-bit support.  Trying to make the backend more cleanly
  parameterized by the target machine's word size.  Changed the
  DefaultMachSpec structure to be a functor that is parameterized by
  the ML and machine word sizes.
(* alpha32spec.sml
 *
 * COPYRIGHT (c) 2017 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *)

structure Alpha32Spec : MACH_SPEC = 
  struct

    structure DMS = DefaultMachSpecFn (
      struct
	val wordByteWidth = 4
	val addressByteWidth = 8
      end)
    open DMS

    val architecture = "alpha32"
    val bigEndian = false
    val spillAreaSz = 4000
    val initialSpillOffset = 128
    val numRegs = 17
    val numFloatRegs = 29
    val numFloatCalleeSaves = 0
    val startgcOffset = 8
    val constBaseRegOffset = 32768

    val ML_STATE_OFFSET = 0
    val VProcOffMSP = 8
    val InMLOffVSP = 16
    val LimitPtrMaskOffVSP = 216

  end

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