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

SCM Repository

[smlnj] Diff of /sml/trunk/compiler/ElabData/prim/primop.sig
ViewVC logotype

Diff of /sml/trunk/compiler/ElabData/prim/primop.sig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4431, Tue Sep 19 20:09:13 2017 UTC revision 4432, Tue Sep 19 21:40:38 2017 UTC
# Line 132  Line 132 
132  (* QUESTION: what about IntInf.int? *)  (* QUESTION: what about IntInf.int? *)
133    
134      datatype arithop      datatype arithop
135        = ADD | SUB | MUL | DIV | NEG             (* int or float *)        = ADD | SUB | MUL | NEG                   (* int or float *)
136        | ABS | FSQRT | FSIN | FCOS | FTAN        (* floating point only *)        | FDIV | ABS | FSQRT | FSIN | FCOS | FTAN (* floating point only *)
137        | LSHIFT | RSHIFT | RSHIFTL               (* int only *)        | LSHIFT | RSHIFT | RSHIFTL               (* int only *)
138        | ANDB | ORB | XORB | NOTB                (* int only *)        | ANDB | ORB | XORB | NOTB                (* int only *)
139        | REM | QUOT | MOD                        (* int only *)        | DIV | MOD | QUOT | REM                  (* int only *)
140    
141      datatype cmpop      datatype cmpop
142        = GT | GTE | LT | LTE                     (* signed comparisons *)        = GT | GTE | LT | LTE                     (* signed comparisons *)
# Line 235  Line 235 
235       * information is for use by the backend, ML information is for       * information is for use by the backend, ML information is for
236       * use by the CPS converter. *)       * use by the CPS converter. *)
237        | RAW_CCALL of {        | RAW_CCALL of {
238              c_proto: CTypes.c_proto,              c_proto: PrimCTypes.c_proto,
239              ml_args: ccall_type list,              ml_args: ccall_type list,
240              ml_res_opt: ccall_type option,              ml_res_opt: ccall_type option,
241              reentrant: bool              reentrant: bool

Legend:
Removed from v.4431  
changed lines
  Added in v.4432

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