Lines Matching refs:cmpxchg
143 ; Ternary RMW instruction: cmpxchg
144 ; The success and failure ordering arguments specify how this cmpxchg
151 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
154 %pair = cmpxchg i32* %p, i32 %exp, i32 %new monotonic monotonic
161 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
164 %pair = cmpxchg i32* %p, i32 %exp, i32 %new acquire monotonic
171 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
174 %pair = cmpxchg i32* %p, i32 %exp, i32 %new release monotonic
181 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
184 %pair = cmpxchg i32* %p, i32 %exp, i32 %new acq_rel monotonic
191 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
194 %pair = cmpxchg i32* %p, i32 %exp, i32 %new seq_cst monotonic
201 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
204 %pair = cmpxchg i32* %p, i32 %exp, i32 %new acquire acquire
211 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
214 %pair = cmpxchg i32* %p, i32 %exp, i32 %new release acquire
221 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
224 %pair = cmpxchg i32* %p, i32 %exp, i32 %new acq_rel acquire
231 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
234 %pair = cmpxchg i32* %p, i32 %exp, i32 %new seq_cst acquire
241 ; CHECK: i32.atomic.rmw.cmpxchg $push0=, 0($0), $1, $2{{$}}
244 %pair = cmpxchg i32* %p, i32 %exp, i32 %new seq_cst seq_cst