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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/tree-il/low-to-tree-fn.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/tree-il/low-to-tree-fn.sml

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

revision 2664, Sun Jun 1 16:18:37 2014 UTC revision 2668, Thu Jun 12 03:29:04 2014 UTC
# Line 314  Line 314 
314    
315              (*Looks for next largest length supported*)              (*Looks for next largest length supported*)
316              fun fillVec vn =(case (isVecTy vn)              fun fillVec vn =(case (isVecTy vn)
317                  of true => (vn,[vn])                  of true => (true,vn,[vn])
318                  | false => fillVec(vn+1))                  | false => fillVec(vn+1))
319              val (newSize,Pieces)= (case (isVecTy n)              val (aligned,newSize,Pieces)= (case (isVecTy n)
320                  of true=> (n,[n])                  of true=> (false,n,[n])
321                  | false=>(case isHwVec n                  | false=>(case isHwVec n
322                      of false=> (n,(getPieces n))                      of false=> (false,n,(getPieces n))
323                      | true=> fillVec (n+1)                      | true=> fillVec (n+1)
324                      (*end case*))                      (*end case*))
325                  (*end case*))                  (*end case*))
# Line 327  Line 327 
327                  of 1=>(print(String.concat["\n ***********\n ",DstOp.toString(rator n) ,"\n \t =>"]);1)                  of 1=>(print(String.concat["\n ***********\n ",DstOp.toString(rator n) ,"\n \t =>"]);1)
328                  | _=>1)                  | _=>1)
329              in              in
330                  LowOpToTreeOp.creatLd(lhs,rator,newSize,n,Pieces,argsS,argsV)                  LowOpToTreeOp.creatLd(lhs,rator,newSize,n,Pieces,argsS,argsV,aligned)
331              end              end
332    
333    

Legend:
Removed from v.2664  
changed lines
  Added in v.2668

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