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 /MLRISC/trunk/amd64/instructions/amd64Peephole.peep
ViewVC logotype

Diff of /MLRISC/trunk/amd64/instructions/amd64Peephole.peep

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

revision 2788, Sat Sep 29 05:49:51 2007 UTC revision 2789, Tue Oct 2 23:26:36 2007 UTC
# Line 113  Line 113 
113                       not(isStackPtr dst) =>                       not(isStackPtr dst) =>
114                 loop(rest, I.pop dst::instrs)                 loop(rest, I.pop dst::instrs)
115    
116             | I.INSTR(I.MOVE{mvOp=I.MOVQ, src, dst as I.Direct _})::rest             | I.INSTR(I.MOVE{mvOp=(I.MOVQ|I.MOVL), src, dst as I.Direct _})::rest
117                where isZero src =>                where isZero src =>
118                  loop(rest, I.binary{binOp=I.XORQ, src=dst, dst=dst}::instrs)                  loop(rest, I.binary{binOp=I.XORL, src=dst, dst=dst}::instrs)
119    
120             | i::rest => loop(rest, i::instrs)             | i::rest => loop(rest, i::instrs)
121             )             )

Legend:
Removed from v.2788  
changed lines
  Added in v.2789

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