[llvm-commits] [llvm] r49948 - /llvm/trunk/lib/Target/X86/X86Instr64bit.td

Evan Cheng evan.cheng at apple.com
Fri Apr 18 19:05:42 PDT 2008


Author: evancheng
Date: Fri Apr 18 21:05:42 2008
New Revision: 49948

URL: http://llvm.org/viewvc/llvm-project?rev=49948&view=rev
Log:
Also LXCHG64 -> XCHG64rm.

Modified:
    llvm/trunk/lib/Target/X86/X86Instr64bit.td

Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=49948&r1=49947&r2=49948&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Fri Apr 18 21:05:42 2008
@@ -1118,9 +1118,9 @@
                "lock xadd $val, $ptr", 
                [(set GR64:$dst, (atomic_las_64 addr:$ptr, GR64:$val))]>,
                 TB, LOCK;
-def LXCHG64 : RI<0x87, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$ptr,GR64:$val),
-               "lock xchg $val, $ptr", 
-               [(set GR64:$dst, (atomic_swap_64 addr:$ptr, GR64:$val))]>, LOCK;
+def XCHG64rm : RI<0x87, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$ptr,GR64:$val),
+                  "xchg $val, $ptr", 
+                  [(set GR64:$dst, (atomic_swap_64 addr:$ptr, GR64:$val))]>;
 }
 
 





More information about the llvm-commits mailing list