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
ViewVC logotype

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

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

revision 3829, Thu May 5 21:05:37 2016 UTC revision 3830, Thu May 5 22:13:46 2016 UTC
# Line 35  Line 35 
35  Max : ty : 1 : 2 :  Max : ty : 1 : 2 :
36  Min : ty : 1 : 2 :  Min : ty : 1 : 2 :
37  #  #
38  # Clamp<ty>(lo, hi, x) -- clamps x to the range lo..hi  # RClamp<ty>(lo, hi, x) -- clamps x to the range lo..hi
39  Clamp : ty : 1 : 3 : clamp argument to range  RClamp : : 1 : 3 : clamp argument to range
40  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)  # RLerp<ty>(a, b, t) -- computes a + t*(b-a)
41  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1  RLerp : : 1 : 3 : linear interpolation between 0 and 1
42  #  #
43  # vector arithmetic operations (int is arity)  # vector arithmetic operations (int is arity)
44  VAdd   : int : 1 : 2 : vector addition  VAdd   : int : 1 : 2 : vector addition
# Line 50  Line 50 
50  # VProj<n,i> -- project i'th element of n-ary vector  # VProj<n,i> -- project i'th element of n-ary vector
51  VProj  : int * int : 1 : 1 : project  VProj  : int * int : 1 : 1 : project
52  #  #
53    # VClamp<d>(lo, hi, x) -- clamps x to the range lo..hi
54    VClamp : int : 1 : 3 : clamp argument to range
55    # VMapClamp<d>(lo, hi, x) -- clamps x[alpha] to the range lo[alpha]..hi[alpha], where
56    # x, lo, and hi are all d-element vectors
57    VMapClamp : int : 1 : 3 : clamp argument to range
58    # VLerp<d>(a, b, t) -- computes a + t*(b-a)
59    VLerp : int : 1 : 3 : linear interpolation between 0 and 1
60    #
61  ### tensor operations  ### tensor operations
62  #  #
63  # TensorIndex<ty,idxs>(T) returns the scalar T[idxs], where T has type ty  # TensorIndex<ty,idxs>(T) returns the scalar T[idxs], where T has type ty

Legend:
Removed from v.3829  
changed lines
  Added in v.3830

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