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

Diff of /MLRISC/trunk/amd64/amd64.mdl

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

revision 2810, Wed Oct 24 07:43:56 2007 UTC revision 2811, Thu Oct 25 20:36:09 2007 UTC
# Line 677  Line 677 
677                | _            => ``<shiftOp>\t<src>, <count>, <dst>''                | _            => ``<shiftOp>\t<src>, <count>, <dst>''
678               )               )
679    
680        | XCHG of {lock:bool, sz:isize, src: operand, dst:operand}
681            asm: (if lock then ``lock\n\t'' else ();
682                  ``xchg'';
683                  case sz of
684                    I.I8 => ``b''
685                  | I.I16 => ``w''
686                  | I.I32 => ``l''
687                  | I.I64 => ``q'';
688                  ``\t<src>, <dst>''
689                 )
690    
691      | CMPXCHG of {lock:bool, sz:isize, src: operand, dst:operand}      | CMPXCHG of {lock:bool, sz:isize, src: operand, dst:operand}
692          asm: (if lock then ``lock\n\t'' else ();          asm: (if lock then ``lock\n\t'' else ();
693                ``cmpxchg'';                ``cmpxchg'';

Legend:
Removed from v.2810  
changed lines
  Added in v.2811

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