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/high-ir.spec
 [diderot] / branches / vis15 / src / compiler / gen / ir / high-ir.spec

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

revision 3797, Mon May 2 21:10:12 2016 UTC revision 3830, Thu May 5 22:13:46 2016 UTC
# Line 26  Line 26
26  Abs : ty : 1 : 1 :  Abs : ty : 1 : 1 :
27  Max : ty : 1 : 2 :  Max : ty : 1 : 2 :
28  Min : ty : 1 : 2 :  Min : ty : 1 : 2 :
29  # Clamp<ty>(lo, hi, x) -- clamps x to the range lo..hi  # Clamp<ty>(lo, hi, x) -- clamps x to the range lo..hi, where lo and hi are scalars and x
30    # has type ty
31  Clamp : ty : 1 : 3 : clamp argument to range  Clamp : ty : 1 : 3 : clamp argument to range
32  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)  # MapClamp<ty>(lo, hi, x) -- clamps x[alpha] to the range lo[alpha]..hi[alpha], where
33    # x, lo, and hi all have type ty (which is a non-scalar tensor type).
34    MapClamp : ty : 1 : 3 : clamp argument to range
35    # Lerp<ty>(a, b, t) -- computes a + t*(b-a), where a and b have type ty and t has type real
36  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1
37  #  #
38  ### vector operations  ### vector operations

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

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