Lines Matching refs:cmpxchg
120 ; CHECK: cmpxchg
127 ; cmpxchg sets EFLAGS, call clobbers it, then br uses EFLAGS.
128 %cx = cmpxchg i64* %foo, i64 %bar, i64 %baz seq_cst seq_cst
142 ; CHECK: cmpxchg
145 ; Save result of the first cmpxchg into a temporary.
154 ; CHECK: cmpxchg
156 ; Save result of the second cmpxchg onto the stack.
158 ; Restore result of the first cmpxchg from D, put it back in EFLAGS.
162 ; Restore result of the second cmpxchg from the stack.
164 ; Test from EFLAGS restored from first cmpxchg, jump if that fails.
166 ; Fallthrough to test the second cmpxchg's result.
172 %cx0 = cmpxchg i64* %foo0, i64 %bar0, i64 %baz0 seq_cst seq_cst
174 %cx1 = cmpxchg i64* %foo1, i64 %bar1, i64 %baz1 seq_cst seq_cst