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/sparc/ra/sparcRewrite.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/sparc/ra/sparcRewrite.sml

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

revision 1293, Wed Dec 11 21:56:57 2002 UTC revision 1294, Thu Dec 12 21:22:48 2002 UTC
# Line 80  Line 80 
80        (*esac*))        (*esac*))
81     in     in
82           case instr           case instr
83           of I.ANNOTATION{i, ...} => rewriteDef(instr, rs, rt)           of I.ANNOTATION{i, ...} => rewriteDef(i, rs, rt)
84            | I.KILL{regs, spilled} =>            | I.KILL{regs, spilled} =>
85                I.KILL{regs=C.addReg(rt, C.rmvReg(rs, regs)), spilled=spilled}                I.KILL{regs=C.addReg(rt, C.rmvReg(rs, regs)), spilled=spilled}
86            | I.INSTR(i) => I.INSTR(sparcDef(i))            | I.INSTR(i) => I.INSTR(sparcDef(i))
# Line 112  Line 112 
112       (*esac*))       (*esac*))
113     in     in
114          case instr          case instr
115          of I.ANNOTATION{i, ...} => frewriteUse(instr, rs, rt)          of I.ANNOTATION{i, ...} => frewriteUse(i, rs, rt)
116           | I.INSTR(i) => I.INSTR(sparcUse(i))           | I.INSTR(i) => I.INSTR(sparcUse(i))
117           | I.LIVE{regs, spilled} =>           | I.LIVE{regs, spilled} =>
118               I.LIVE{regs=C.addFreg(rt, C.rmvFreg(rs, regs)), spilled=spilled}               I.LIVE{regs=C.addFreg(rt, C.rmvFreg(rs, regs)), spilled=spilled}
# Line 145  Line 145 
145       (*esac*))       (*esac*))
146    in    in
147          case instr          case instr
148          of I.ANNOTATION{i, ...} => frewriteDef(instr, rs, rt)          of I.ANNOTATION{i, ...} => frewriteDef(i, rs, rt)
149           | I.KILL{regs, spilled} =>           | I.KILL{regs, spilled} =>
150               I.KILL{regs=C.addFreg(rt, C.rmvFreg(rs, regs)), spilled=spilled}               I.KILL{regs=C.addFreg(rt, C.rmvFreg(rs, regs)), spilled=spilled}
151           | I.INSTR(i) => I.INSTR(sparcDef(i))           | I.INSTR(i) => I.INSTR(sparcDef(i))

Legend:
Removed from v.1293  
changed lines
  Added in v.1294

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