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

SCM Repository

[diderot] Diff of /trunk/src/compiler/IL/gen/mid-il.spec
ViewVC logotype

Diff of /trunk/src/compiler/IL/gen/mid-il.spec

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

revision 333, Thu Aug 19 20:52:48 2010 UTC revision 465, Thu Oct 28 22:17:34 2010 UTC
# Line 24  Line 24 
24  Cos : : 1 :  Cos : : 1 :
25  Pow : : 2 :  Pow : : 2 :
26  #  #
27  # vector operations  ### vector operations
28  Dot : ty : 2 :  # Dot<n>(u, v)  -- computes dot product of u and v; n specifies u and v's arity
29    Dot : int : 2 :
30    # Cross(u, v)   -- computes cross product of u and v
31  Cross : : 2 :  Cross : : 2 :
32  Select : int : 1 :  # Select<ty,i>(u)  -- select ith element of vector u; ty specifies u's type (IVec or Vec)
33  Norm : ty : 1 :  Select : ty * int : 1 :
34  Scale : ty : 2 : scalar*tensor multiplication  # Norm<n>(u)   -- computes length of vector u; n specifies u's arity
35  InvScale : ty : 2 : tensor/scalar division  Norm : int : 1 :
36    # Scale<n>(s,u) -- multiply scalar s time vector u; n specifies u's arity
37    Scale : int : 2 : scalar*vector multiplication
38    # InvScale<n>(s,u) -- divide vector u by scalar s; n specifies u's arity
39    InvScale : int : 2 : vector/scalar division
40  CL : : 1 : linear anisotropy measures  CL : : 1 : linear anisotropy measures
41  PrincipleEvec : ty : 2 : principle eigenvector; ty is result vector type  PrincipleEvec : ty : 2 : principle eigenvector; ty is result vector type
42  Subscript : ty : 2 :  Subscript : ty : 2 :
43  Floor : int : 1 : compute real floor of a vector  Floor : int : 1 : compute real floor of a vector
44  #  #
45  # conversions  ### conversions; the real to int forms are vector ops
46  IntToReal : : 1 :  IntToReal : : 1 :
47  TruncToInt : int : 1 :  TruncToInt : int : 1 :
48  RoundToInt : int : 1 :  RoundToInt : int : 1 :
49  CeilToInt : int : 1 :  CeilToInt : int : 1 :
50  FloorToInt : int : 1 :  FloorToInt : int : 1 :
51  #  #
52  # image/kernel operations  ### image/kernel operations
53    # VoxelAddress<V>(img, i, j, ...) -- compute the address of the voxel data indexed by i, j, ...
54  VoxelAddress : ImageInfo.info : * : compute the address of a voxel  VoxelAddress : ImageInfo.info : * : compute the address of a voxel
55  LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address  LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address
56  Transform : ImageInfo.info : 1 : transform a position to image-space  # PosToImgSpace<V>(u) -- transforms the world-space position u into the image-space specified by V.
57    PosToImgSpace : ImageInfo.info : 1 : transform a world-space position to image-space
58    # GradToWorldSpace<V>(u) -- transforms the image-space gradient vector u to world space
59    GradToWorldSpace : ImageInfo.info : 1 : transform an image-space gradient to world-space
60    # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.
61  EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments  EvalKernel : int * Kernel.kernel * int : 1 : apply a kernel function to a scalar or vector of arguments
62  LoadImage : ImageInfo.info : 0 : image-file loading  LoadImage : ImageInfo.info : 0 : image-file loading
63  Inside : : 2 :  # Inside<V>(u) -- tests to see if image-space position u is inside the volume occupied by the image V.
64    Inside : ImageInfo.info : 1 :
65  #  #
66  # inputs  # inputs
67  Input : string : 0 :  Input : ty * string : 0 :
68  InputWithDefault : string : 1 :  InputWithDefault : ty * string : 1 :

Legend:
Removed from v.333  
changed lines
  Added in v.465

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