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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/c-util/c-names.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/c-util/c-names.sml

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

revision 2690, Fri Aug 29 15:41:22 2014 UTC revision 2691, Fri Sep 5 01:59:12 2014 UTC
# Line 118  Line 118 
118      (*-------------- Function Names:String ---------------*)      (*-------------- Function Names:String ---------------*)
119      fun NameConsArray [i]="consArr"^q i      fun NameConsArray [i]="consArr"^q i
120        | NameConsArray [i,j]=String.concat["consArr",q i,"x",q j]        | NameConsArray [i,j]=String.concat["consArr",q i,"x",q j]
121      fun NameConsVec d="consVec"^q d      fun NameConsVec i="consVec"^q i
122    
123    
124      fun isAligned true = "Aligned"      fun isAligned true = "Aligned"
125        | isAligned _ = ""        | isAligned _ = ""
# Line 132  Line 133 
133          else String.concat["store",isAligned A,q nSize]          else String.concat["store",isAligned A,q nSize]
134    
135    
136      fun NameLd(A,nSize,oSize)=      fun NameLdArr(A,nSize,oSize)=
137          if (nSize>oSize)          if (nSize>oSize)
138          then String.concat["load",isAligned A,q oSize,"to",q nSize]          then String.concat["load",isAligned A,q oSize,"to",q nSize]
139          else String.concat["load",isAligned A,q nSize]          else String.concat["load",isAligned A,q nSize]
140    
141        fun NameLdVec(_,nSize,oSize)= String.concat["TrimVec",q oSize,"to",q nSize]
142            (*Right now does not differenate for aligned *)
143    
144      val NameMux = String.concat["Mux"]      val NameMux = String.concat["Mux"]
145      fun NameSumV d= String.concat["sumVec" ,q d]      fun NameSumV d= String.concat["sumVec" ,q d]
146      fun NameFloorV d= String.concat["floorVec" ,q d]      fun NameFloorV d= String.concat["floorVec" ,q d]

Legend:
Removed from v.2690  
changed lines
  Added in v.2691

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