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/ppc/ra/ppcRewrite.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/ppc/ra/ppcRewrite.sml

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

revision 744, Fri Dec 8 04:11:42 2000 UTC revision 796, Tue Mar 6 00:04:33 2001 UTC
# Line 41  Line 41 
41       | I.MTSPR{rs, spr} => I.MTSPR{rs=rplac rs, spr=spr}       | I.MTSPR{rs, spr} => I.MTSPR{rs=rplac rs, spr=spr}
42       | I.TW {to, ra, si} => I.TW{to=to, ra=rplac ra, si=rwOperand si}       | I.TW {to, ra, si} => I.TW{to=to, ra=rplac ra, si=rwOperand si}
43       | I.TD {to, ra, si} => I.TD{to=to, ra=rplac ra, si=rwOperand si}       | I.TD {to, ra, si} => I.TD{to=to, ra=rplac ra, si=rwOperand si}
44       | I.CALL {def, use, mem} =>       | I.CALL {def, use, cutsTo, mem} =>
45            I.CALL{def=def, use=C.CellSet.map {from=rs,to=rt} use, mem=mem}            I.CALL{def=def, use=C.CellSet.map {from=rs,to=rt} use,
46                     cutsTo=cutsTo, mem=mem}
47       | I.COPY{dst, src, impl, tmp} =>       | I.COPY{dst, src, impl, tmp} =>
48          I.COPY{dst=dst, src=map rplac src, impl=impl, tmp=tmp}          I.COPY{dst=dst, src=map rplac src, impl=impl, tmp=tmp}
49       | I.FCOPY{dst, src, impl, tmp} =>       | I.FCOPY{dst, src, impl, tmp} =>
# Line 74  Line 75 
75       | I.ROTATEI {oper, ra, rs, sh, mb, me} =>       | I.ROTATEI {oper, ra, rs, sh, mb, me} =>
76          I.ROTATEI {oper=oper, ra=rplac ra, rs=rs, sh=sh, mb=mb, me=me}          I.ROTATEI {oper=oper, ra=rplac ra, rs=rs, sh=sh, mb=mb, me=me}
77       | I.MFSPR {rt, spr} => I.MFSPR{rt=rplac rt, spr=spr}       | I.MFSPR {rt, spr} => I.MFSPR{rt=rplac rt, spr=spr}
78       | I.CALL {def, use, mem} =>       | I.CALL {def, use, cutsTo, mem} =>
79          I.CALL{def=C.CellSet.map {from=rs,to=rt} def, use=use, mem=mem}          I.CALL{def=C.CellSet.map {from=rs,to=rt} def, use=use,
80                   cutsTo=cutsTo, mem=mem}
81       | I.COPY {dst, src, impl, tmp} =>       | I.COPY {dst, src, impl, tmp} =>
82          I.COPY{dst=map rplac dst, src=src, impl=impl, tmp=ea(tmp,rs,rt)}          I.COPY{dst=map rplac dst, src=src, impl=impl, tmp=ea(tmp,rs,rt)}
83       | I.ANNOTATION{i,a} =>       | I.ANNOTATION{i,a} =>
# Line 94  Line 96 
96      case instr      case instr
97      of I.STF {st, fs, ra, d, mem} =>      of I.STF {st, fs, ra, d, mem} =>
98           I.STF{st=st, fs=rplac fs, ra=ra, d=d, mem=mem}           I.STF{st=st, fs=rplac fs, ra=ra, d=d, mem=mem}
99       | I.CALL{def, use, mem} =>       | I.CALL{def, use, cutsTo, mem} =>
100           I.CALL{def=def, use=C.CellSet.map {from=fs,to=ft} use, mem=mem}           I.CALL{def=def, use=C.CellSet.map {from=fs,to=ft} use,
101                    cutsTo=cutsTo, mem=mem}
102       | I.FCOMPARE {cmp, bf, fa, fb} =>       | I.FCOMPARE {cmp, bf, fa, fb} =>
103           I.FCOMPARE{cmp=cmp, bf=bf, fa=rplac fa, fb=rplac fb}           I.FCOMPARE{cmp=cmp, bf=bf, fa=rplac fa, fb=rplac fb}
104       | I.FUNARY {oper, ft, fb, Rc} =>       | I.FUNARY {oper, ft, fb, Rc} =>
# Line 130  Line 133 
133       | I.FARITH3{oper, ft, fa, fb, fc, Rc} =>       | I.FARITH3{oper, ft, fa, fb, fc, Rc} =>
134          I.FARITH3{oper=oper, ft=rplac ft, fa=fa, fb=fb, fc=fc, Rc=Rc}          I.FARITH3{oper=oper, ft=rplac ft, fa=fa, fb=fb, fc=fc, Rc=Rc}
135      (* CALL = BCLR {bo=ALWAYS, bf=0, bit=0, LK=true, labels=[] *)      (* CALL = BCLR {bo=ALWAYS, bf=0, bit=0, LK=true, labels=[] *)
136       | I.CALL{def, use, mem} =>       | I.CALL{def, use, cutsTo, mem} =>
137          I.CALL{def=C.CellSet.map {from=fs,to=ft} def, use=use, mem=mem}          I.CALL{def=C.CellSet.map {from=fs,to=ft} def, use=use,
138                   cutsTo=cutsTo, mem=mem}
139       | I.FCOPY {dst, src, impl, tmp} =>       | I.FCOPY {dst, src, impl, tmp} =>
140          I.FCOPY{dst=map rplac dst, src=src, impl=impl, tmp=ea(tmp,fs,ft)}          I.FCOPY{dst=map rplac dst, src=src, impl=impl, tmp=ea(tmp,fs,ft)}
141       | I.ANNOTATION{i,a} =>       | I.ANNOTATION{i,a} =>

Legend:
Removed from v.744  
changed lines
  Added in v.796

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