diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-06 15:52:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-06 15:52:50 +0000 |
commit | 165660e417db0f42f9afb1a37f50310a166e5a93 (patch) | |
tree | 4bddd030e8d0ceab77b620a0bff9cba30fa34ec5 /lib/Target/X86/X86InstrInfo.td | |
parent | 6da38a05f6d904bd4c2bf51d43938e28e00402ab (diff) | |
download | llvm-165660e417db0f42f9afb1a37f50310a166e5a93.tar.gz llvm-165660e417db0f42f9afb1a37f50310a166e5a93.tar.bz2 llvm-165660e417db0f42f9afb1a37f50310a166e5a93.tar.xz |
xchg does not modify FLAGS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.td')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index a09a0431d5..bb90f29b0c 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -2582,7 +2582,7 @@ def EH_RETURN : I<0xC3, RawFrm, (outs), (ins GR32:$addr), // Atomic swap. These are just normal xchg instructions. But since a memory // operand is referenced, the atomicity is ensured. -let Constraints = "$val = $dst", Defs = [EFLAGS] in { +let Constraints = "$val = $dst" in { def XCHG32rm : I<0x87, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$ptr, GR32:$val), "xchg{l}\t{$val, $ptr|$ptr, $val}", [(set GR32:$dst, (atomic_swap_32 addr:$ptr, GR32:$val))]>; |