projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54fc97d
)
Also LXCHG64 -> XCHG64rm.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 19 Apr 2008 02:05:42 +0000
(
02:05
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 19 Apr 2008 02:05:42 +0000
(
02:05
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49948
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86Instr64bit.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86Instr64bit.td
b/lib/Target/X86/X86Instr64bit.td
index a181e06d6d7ba47af6e03b69c14fb768556780ab..1bf1b1aedb161d86266245da6f1a729e7b00a66a 100644
(file)
--- 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))]>
;
}