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/emit/amd64Asm.sml
ViewVC logotype

Diff of /MLRISC/trunk/amd64/emit/amd64Asm.sml

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 527  Line 527 
527               emit ", ";               emit ", ";
528               emit_dst dst )               emit_dst dst )
529           )           )
530           | I.XCHG{lock, sz, src, dst} =>
531             ( (if lock
532                  then (emit "lock\n\t")
533                  else ());
534               emit "xchg";
535    
536               (case sz of
537                 I.I8 => emit "b"
538               | I.I16 => emit "w"
539               | I.I32 => emit "l"
540               | I.I64 => emit "q"
541               );
542    
543               ( emit "\t";
544                 emit_src src;
545                 emit ", ";
546                 emit_dst dst ) )
547         | I.CMPXCHG{lock, sz, src, dst} =>         | I.CMPXCHG{lock, sz, src, dst} =>
548           ( (if lock           ( (if lock
549                then (emit "lock\n\t")                then (emit "lock\n\t")

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