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/src/MLRISC/extensions/opcodeProps.sig
ViewVC logotype

View of /sml/trunk/src/MLRISC/extensions/opcodeProps.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 221 - (download) (as text) (annotate)
Sat Apr 17 16:19:57 1999 UTC (20 years, 5 months ago) by monnier
File size: 790 byte(s)
Initial revision
signature MLRISC_OPCODE_PROPERTIES =
sig

   structure I : INSTRUCTIONS

        (* extract the opcode of an instruction *)
   val opcode : I.instruction -> Opcode.opcode

        (* extract the operands of an instruction *)
   val operands : { regmap  : int -> int,         
                    immed   : int -> int,
                    operand : I.operand -> int 
                  } -> 
                    I.instruction -> (int * I.C.cellclass) list *  (* dst *)
                                     (int * I.C.cellclass) list    (* src *)

        (* replace the operands of an instruction *)
   val rewriteOperands : I.instruction * int list * int list -> I.instruction

end

(*
 * $Log: opcodeProps.sig,v $
 * Revision 1.1.1.1  1998/11/16 21:48:27  george
 *   Version 110.10
 *
 *)

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