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/sparc/sparc-mltreeext.sml
ViewVC logotype

View of /sml/trunk/compiler/CodeGen/sparc/sparc-mltreeext.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4975 - (download) (annotate)
Tue Apr 23 15:00:58 2019 UTC (4 months ago) by jhr
File size: 408 byte(s)
  Removed the old SPARC assembly code for multiplication and
  division.  The code generator always uses the native hardware
  instructions, so the assembly code is not needed.
(* sparc-mltreeext.sml
 *
 * COPYRIGHT (c) 2019 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *)

structure Sparc_SMLNJMLTreeExt : SMLNJ_MLTREE_EXT =
  struct
   type ('s,'r,'f,'c) sx = ('s,'r,'f,'c) SparcInstrExt.sext
   type ('s,'r,'f,'c) rx = unit
   type ('s,'r,'f,'c) ccx = unit
   datatype ('s,'r,'f,'c) fx
     = FSINE of 'f
     | FCOSINE of 'f
     | FTANGENT of 'f
  end

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