Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/MLRISC/alpha/ra/alphaRewrite.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/alpha/ra/alphaRewrite.sml

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

revision 627, Tue Apr 25 20:40:35 2000 UTC revision 628, Tue Apr 25 21:03:34 2000 UTC
# Line 63  Line 63 
63           I.COPY{dst=dst, src=map replace src, tmp=tmp, impl=impl}           I.COPY{dst=dst, src=map replace src, tmp=tmp, impl=impl}
64       | I.CALL_PAL{code, def, use } =>       | I.CALL_PAL{code, def, use } =>
65           I.CALL_PAL{code=code, def=def, use=map replace use}           I.CALL_PAL{code=code, def=def, use=map replace use}
66         | I.PSEUDOARITH{oper, ra, rb, rc, tmps} =>
67             I.PSEUDOARITH{oper=oper, ra=replace ra, rb=rwOperand rb, rc=rc,
68                           tmps=tmps}
69       | I.ANNOTATION{i,a} => I.ANNOTATION{i=rewriteUse(mapr,i,rs,rt),a=a}       | I.ANNOTATION{i,a} => I.ANNOTATION{i=rewriteUse(mapr,i,rs,rt),a=a}
70       | _ => instr       | _ => instr
71    end    end
# Line 127  Line 130 
130          I.COPY{dst=map rewrite dst, src=src, tmp=ea tmp, impl=impl}          I.COPY{dst=map rewrite dst, src=src, tmp=ea tmp, impl=impl}
131       | I.CALL_PAL{code, def, use } =>       | I.CALL_PAL{code, def, use } =>
132           I.CALL_PAL{code=code, def=map rewrite def, use=use}           I.CALL_PAL{code=code, def=map rewrite def, use=use}
133         | I.PSEUDOARITH{oper, ra, rb, rc, tmps=(i,f)} =>
134             I.PSEUDOARITH{oper=oper, ra=ra, rb=rb, rc=rewrite rc,
135                           tmps=(map rewrite i,f)}
136       | I.ANNOTATION{i,a} => I.ANNOTATION{i=rewriteDef(mapr,i,rs,rt),a=a}       | I.ANNOTATION{i,a} => I.ANNOTATION{i=rewriteDef(mapr,i,rs,rt),a=a}
137       | _ => instr       | _ => instr
138    end    end
# Line 153  Line 159 
159          I.JSR{r=r, b=b, d=d, defs=(i, map rewrite f), uses=uses, mem=mem}          I.JSR{r=r, b=b, d=d, defs=(i, map rewrite f), uses=uses, mem=mem}
160       | I.BSR{r, lab, defs=(i,f), uses, mem} =>       | I.BSR{r, lab, defs=(i,f), uses, mem} =>
161          I.BSR{r=r, lab=lab, defs=(i, map rewrite f), uses=uses, mem=mem}          I.BSR{r=r, lab=lab, defs=(i, map rewrite f), uses=uses, mem=mem}
162         | I.PSEUDOARITH{oper, ra, rb, rc, tmps=(i,f)} =>
163             I.PSEUDOARITH{oper=oper, ra=ra, rb=rb, rc=rc, tmps=(i,map rewrite f)}
164       | I.ANNOTATION{i,a} => I.ANNOTATION{i=frewriteDef(mapr,i,fs,ft),a=a}       | I.ANNOTATION{i,a} => I.ANNOTATION{i=frewriteDef(mapr,i,fs,ft),a=a}
165       | _  => instr       | _  => instr
166    end    end

Legend:
Removed from v.627  
changed lines
  Added in v.628

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