mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
Also LXCHG64 -> XCHG64rm.
llvm-svn: 49948
This commit is contained in:
parent
09e77f6b83
commit
1c54ebbe2f
@ -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))]>;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user