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

SCM Repository

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

Diff of /branches/pure-cfg/src/compiler/IL/gen/mid-il.spec

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

trunk/src/compiler/IL/gen/mid-il.spec revision 457, Wed Oct 27 12:08:13 2010 UTC branches/pure-cfg/src/compiler/IL/gen/mid-il.spec revision 565, Thu Feb 24 18:34:48 2011 UTC
# Line 40  Line 40 
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    #
44    # compute integral parts of reals
45    Ceiling : int : 1 : compute real ceiling of a vector
46  Floor : int : 1 : compute real floor of a vector  Floor : int : 1 : compute real floor of a vector
47    Round : int : 1 : compute real rounding to nearest integral real of a vector
48    Trunc : int : 1 : compute real truncation to integral real of a vector
49  #  #
50  ### conversions; the real to int forms are vector ops  ### conversions; the real to int forms are vector ops
51  IntToReal : : 1 :  IntToReal : : 1 :
52  TruncToInt : int : 1 :  RealToInt : int : 1 : cast real vector to int vector
 RoundToInt : int : 1 :  
 CeilToInt : int : 1 :  
 FloorToInt : int : 1 :  
53  #  #
54  ### image/kernel operations  ### image/kernel operations
55  # VoxelAddress<V>(i, j, ...) -- compute the address of the voxel data indexed by i, j, ...  # VoxelAddress<I>(V, i, j, ...) -- compute the address of the voxel data indexed by i, j, ...
56  VoxelAddress : ImageInfo.info : * : compute the address of a voxel  VoxelAddress : ImageInfo.info : * : compute the address of a voxel
57  LoadVoxels : RawTypes.ty * int : 1 : load a vector of voxel values from an address  # LoadVoxels<I,n>(a) -- load a vector of n voxels from the address a
58  # PosToImgSpace<V>(u) -- transforms the world-space position u into the image-space specified by V.  LoadVoxels : ImageInfo.info * int : 1 : load a vector of voxel values from an address
59  PosToImgSpace : ImageInfo.info : 1 : transform a world-space position to image-space  # PosToImgSpace<I>(V,u) -- transforms the world-space position u into the image-space specified by V.
60  # GradToWorldSpace<V>(u) -- transforms the image-space gradient vector u to world space  PosToImgSpace : ImageInfo.info : 2 : transform a world-space position to image-space
61  GradToWorldSpace : ImageInfo.info : 1 : transform an image-space gradient to world-space  # GradToWorldSpace<I>(V,u) -- transforms the image-space gradient vector u to world space
62    GradToWorldSpace : ImageInfo.info : 2 : transform an image-space gradient to world-space
63  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.  # EvalKernel<i,h,k>(u) -- computes (D^k h)(u), where i is the size of vector u.
64  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
65  LoadImage : ImageInfo.info : 0 : image-file loading  LoadImage : ImageInfo.info : 1 : image-file loading
66  # Inside<V>(u) -- tests to see if image-space position u is inside the volume occupied by the image V.  # Inside<I,s>(u,V) -- tests to see if image-space position u is inside the volume
67  Inside : ImageInfo.info : 1 :  # occupied by the image V.  I is the image info and s is the border width
68    Inside : ImageInfo.info * int : 2 :
69  #  #
70  # inputs  # inputs
71  Input : ty * string : 0 :  Input : ty * string : 0 :

Legend:
Removed from v.457  
changed lines
  Added in v.565

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