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/sparc.mdl
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/sparc/sparc.mdl

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

revision 948, Thu Oct 4 13:52:24 2001 UTC revision 949, Fri Oct 5 01:30:26 2001 UTC
# Line 660  Line 660 
660          rtl: ``SETHI''          rtl: ``SETHI''
661    
662     |  ARITH of { a:arith, r: $GP, i:operand, d: $GP }     |  ARITH of { a:arith, r: $GP, i:operand, d: $GP }
663          asm: (case (a,CellsBasis.registerId r,CellsBasis.registerId d) of          asm: (case (a,CellsBasis.registerId r,CellsBasis.registerId d, i) of
664                  (* generate abbreviations! *)                  (* generate abbreviations! *)
665                 (I.OR,0,_)    => ``mov\t<i>, <d>''                 (I.OR,0,_,I.REG _) => ``mov\t<i>, <d>''
666               | (I.SUBCC,_,0) => ``cmp\t<r>, <i>''               | (I.OR,0,_,_)       => ``set\t<i>, <d>''
667                 | (I.SUBCC,_,0,_)    => ``cmp\t<r>, <i>''
668               |  _            => ``<a>\t<r>, <i>, <d>''               |  _            => ``<a>\t<r>, <i>, <d>''
669               )               )
670          mc:  arith{a,r,i,d}          mc:  arith{a,r,i,d}

Legend:
Removed from v.948  
changed lines
  Added in v.949

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