diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-04-19 02:05:42 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-04-19 02:05:42 +0000 |
commit | 94d7b02c5ab270713089eb23e2305cad98f9ce64 (patch) | |
tree | 0e276beec8418f88335b61da355367e56a73bdef | |
parent | 54fc97dcdc0ab747f49bd09c5a877bfd2a00e364 (diff) | |
download | external_llvm-94d7b02c5ab270713089eb23e2305cad98f9ce64.zip external_llvm-94d7b02c5ab270713089eb23e2305cad98f9ce64.tar.gz external_llvm-94d7b02c5ab270713089eb23e2305cad98f9ce64.tar.bz2 |
Also LXCHG64 -> XCHG64rm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49948 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86Instr64bit.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index a181e06..1bf1b1a 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -1118,9 +1118,9 @@ def LXADD64 : RI<0xC1, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$ptr,GR64:$val), "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))]>; } |