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/lowOp-to-treeOp.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/tree-il/lowOp-to-treeOp.sml

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

revision 2839, Tue Nov 25 19:45:46 2014 UTC revision 2840, Tue Nov 25 19:46:43 2014 UTC
# Line 53  Line 53 
53              (*end case*))              (*end case*))
54           | getExp(Dst.E_State a)= Dst.E_LoadArr(isAlignedLoad(isFill,DstSV.ty a) ,nSize,oSize,t, Dst.E_Lit(Literal.Int offset))           | getExp(Dst.E_State a)= Dst.E_LoadArr(isAlignedLoad(isFill,DstSV.ty a) ,nSize,oSize,t, Dst.E_Lit(Literal.Int offset))
55          | getExp (Dst.E_Mux(_,_,_,_,ops))= List.nth(ops,count)          | getExp (Dst.E_Mux(_,_,_,_,ops))= List.nth(ops,count)
56          | getExp a1 = raise Fail("Arg to vector op is not Mux or Var. Found: "^Dst.toString a1)  | getExp a1 =( print(String.concat["Warning argument to vector operation is: ",Dst.toString a1]);a1)
57            (*| getExp a1 = raise Fail("Arg to vector op is not Mux or Var. Found: "^Dst.toString a1)*)
58      in      in
59          getExp t          getExp t
60      end      end
# Line 104  Line 105 
105          end          end
106      (**************************************)      (**************************************)
107    
108      fun isAligned(isFill,1) =(case isFill      fun (*isAligned(isFill,1) =(case isFill
109          of true => false          of true => false
110          | _     => true          | _     => true
111          (*end case*))          (*end case*))
112      |isAligned _ =false       |*)isAligned _ =false
113    
114    
115    

Legend:
Removed from v.2839  
changed lines
  Added in v.2840

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