Home My Page Projects Code Snippets Project Openings diderot
 Summary Activity Tracker Tasks SCM

# SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/gen/ir/low-ir.spec
 [diderot] / branches / vis15 / src / compiler / gen / ir / low-ir.spec

# Diff of /branches/vis15/src/compiler/gen/ir/low-ir.spec

revision 3507, Fri Dec 18 12:49:08 2015 UTC revision 3508, Fri Dec 18 14:19:30 2015 UTC
# Line 50  Line 50
50  EigenVals2x2 : : 1 : 1 : Eigen values for 2x2 matrix  EigenVals2x2 : : 1 : 1 : Eigen values for 2x2 matrix
51  EigenVals3x3 : : 1 : 1 : Eigen values for 3x3 matrix  EigenVals3x3 : : 1 : 1 : Eigen values for 3x3 matrix
52  #  #
53  # operations on sequences  ### tuple operations
54    #
55  # Select<ty,i>(u)  -- select ith element of tuple; ty is tuple type  # Select<ty,i>(u)  -- select ith element of tuple; ty is tuple type
56  Select : ty * int : 1 : 1 :  Select : ty * int : 1 : 1 :
57    #
58    ### operations on sequences
59    #
60  # Index<ty,i>(u)  -- select ith element of sequence; ty is sequence type  # Index<ty,i>(u)  -- select ith element of sequence; ty is sequence type
61  Index : ty * int : 1 : 1 :  Index : ty * int : 1 : 1 :
62  # Subscript<ty>(u,i) -- select ith element of sequence; ty is type of sequence  # Subscript<ty>(u,i) -- select ith element of sequence; ty is type of sequence
63  Subscript : ty : 1 : 2 :  Subscript : ty : 1 : 2 :
64  # MkDynamic<ty,n> -- make a sequence with type ty{n} into a dynamic sequence  # MkDynamic<ty,n> -- make a sequence with type ty[n] into a dynamic sequence
65  !MkDynamic : ty * int : 1 : 1 : make a fixed-length sequence dynamic  !MkDynamic : ty * int : 1 : 1 : make a fixed-length sequence dynamic
66  !Append : ty : 2 : 1 : append an element onto a dynamic sequence  !Append : ty : 2 : 1 : append an element onto a dynamic sequence
67  !Prepend : ty : 2 : 1 : prepend an element onto a dynamic sequence  !Prepend : ty : 2 : 1 : prepend an element onto a dynamic sequence
68  !Concat : ty : 2 : 1 : concatenate two dynamic sequences  !Concat : ty : 2 : 1 : concatenate two dynamic sequences
69  # Length<ty> -- return the length of a sequence with type ty{}  # Range(lo,hi) -- create a sequence with values [lo, lo+1, ..., hi]
70    Range : : 2 : 1 : create a range sequence
71    # Length<ty> -- return the length of a sequence with type ty[]
72  Length : ty : 1 : 1 : return the length of a dynamic sequence  Length : ty : 1 : 1 : return the length of a dynamic sequence
73  #  #
74  Sqrt   : : 1 : 1 : returns the sqrt(used to replace norm)]  Sqrt   : : 1 : 1 : returns the sqrt(used to replace norm)]

Legend:
 Removed from v.3507 changed lines Added in v.3508

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