Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 |
Jakob Stoklund Olesen | 45d34fe | 2009-07-19 19:09:59 +0000 | [diff] [blame] | 2 | ; PR4583 |
3 | |||||
4 | define i32 @atomic_cmpset_long(i64* %dst, i64 %exp, i64 %src) nounwind ssp noredzone noimplicitfloat { | ||||
5 | entry: | ||||
6 | %0 = call i8 asm sideeffect "\09lock ; \09\09\09cmpxchgq $2,$1 ;\09 sete\09$0 ;\09\091:\09\09\09\09# atomic_cmpset_long", "={ax},=*m,r,{ax},*m,~{memory},~{dirflag},~{fpsr},~{flags}"(i64* undef, i64 undef, i64 undef, i64* undef) nounwind ; <i8> [#uses=0] | ||||
7 | br label %1 | ||||
8 | |||||
9 | ; <label>:1 ; preds = %entry | ||||
10 | ret i32 undef | ||||
11 | } |