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

SCM Repository

[diderot] Diff of /trunk/src/compiler/high-to-mid/high-to-mid.sml
ViewVC logotype

Diff of /trunk/src/compiler/high-to-mid/high-to-mid.sml

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

revision 3081, Mon Mar 16 22:08:21 2015 UTC revision 3082, Mon Mar 16 22:09:18 2015 UTC
# Line 122  Line 122 
122                      (y, DstIL.OP(DstOp.Div DstTy.realTy, [t, x]))                      (y, DstIL.OP(DstOp.Div DstTy.realTy, [t, x]))
123                    ] end                    ] end
124                | SOME 2 => [(y, DstIL.OP(DstOp.Mul DstTy.realTy, [x, x]))]                | SOME 2 => [(y, DstIL.OP(DstOp.Mul DstTy.realTy, [x, x]))]
125  (* FIXME: expand into multiplications; ~2 ==> sqrt  (* FIXME: expand into multiplications
126                | SOME n =>                | SOME n =>
127  *) | SOME _ => pow()  *) | SOME _ => pow()
128                | NONE => pow()                | NONE => pow()
129                (* end case *)
130            end            end
131    
132    (* expand the field Inside operator into a image-space test *)    (* expand the field Inside operator into a image-space test *)

Legend:
Removed from v.3081  
changed lines
  Added in v.3082

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