/external/valgrind/main/none/tests/amd64/ |
cmpxchg.vgtest | 1 prog: cmpxchg
|
cmpxchg.stdout.exp | 0 cmpxchg %bl,%cl (al=22 bl=44 cl=33) 3 cmpxchg %bl,%cl (al=77 bl=55 cl=55) 5 cmpxchg %bx,%cx (ax=2222 bx=4444 cx=3333) 7 cmpxchg %bx,%cx (ax=7777 bx=5555 cx=5555) 9 cmpxchg %ebx,%ecx (eax=22222222 ebx=44444444 ecx=33333333) 11 cmpxchg %ebx,%ecx (eax=77777777 ebx=55555555 ecx=55555555) 13 cmpxchg %rbx,%rcx (rax=222222222 rbx=444444444 rcx=333333333) 15 cmpxchg %rbx,%rcx (rax=777777777 rbx=555555555 rcx=555555555)
|
/external/clang/test/CodeGen/ |
atomic_ops.c | 6 // Check that multiply / divides on atomics produce a cmpxchg loop 7 i *= 2; // CHECK: cmpxchg 8 i /= 2; // CHECK: cmpxchg 10 i += 2; // CHECK: cmpxchg 11 i -= 2; // CHECK: cmpxchg 12 i++; // CHECK: cmpxchg 13 i--; // CHECK: cmpxchg
|
2008-03-05-syncPtr.c | 7 // CHECK: cmpxchg 13 // CHECK: cmpxchg
|
atomic.c | 38 // CHECK: cmpxchg i32* %val, i32 4, i32 1976 seq_cst 41 // CHECK: cmpxchg i32* %val, i32 4, i32 1976 seq_cst 68 // CHECK: cmpxchg i32* null, i32 0, i32 0 seq_cst 71 // CHECK: cmpxchg i8* %valb, i8 0, i8 1 seq_cst 76 // CHECK: cmpxchg i32* null, i32 0, i32 0 seq_cst 102 // CHECK: cmpxchg i32 addrspace(256)*{{.*}}, i32 0, i32 1 seq_cst 105 // CHECK: cmpxchg i32 addrspace(256)*{{.*}}, i32 0, i32 1 seq_cst
|
Atomics.c | 163 sc = __sync_val_compare_and_swap (&sc, uc, sc); // CHECK: cmpxchg i8 164 uc = __sync_val_compare_and_swap (&uc, uc, sc); // CHECK: cmpxchg i8 165 ss = __sync_val_compare_and_swap (&ss, uc, sc); // CHECK: cmpxchg i16 166 us = __sync_val_compare_and_swap (&us, uc, sc); // CHECK: cmpxchg i16 167 si = __sync_val_compare_and_swap (&si, uc, sc); // CHECK: cmpxchg i32 168 ui = __sync_val_compare_and_swap (&ui, uc, sc); // CHECK: cmpxchg i32 169 sll = __sync_val_compare_and_swap (&sll, uc, sc); // CHECK: cmpxchg i64 170 ull = __sync_val_compare_and_swap (&ull, uc, sc); // CHECK: cmpxchg i64 172 ui = __sync_bool_compare_and_swap (&sc, uc, sc); // CHECK: cmpxchg 173 ui = __sync_bool_compare_and_swap (&uc, uc, sc); // CHECK: cmpxchg [all...] |
/external/llvm/test/CodeGen/X86/ |
cmpxchg16b.ll | 3 ; Basic 128-bit cmpxchg 9 %r = cmpxchg i128* %p, i128 0, i128 1 seq_cst
|
2006-07-12-InlineAsmQConstraint.ll | 9 %tmp3.i.i = call i32 asm sideeffect "lock; cmpxchg $1,$2", "={ax},q,m,0,~{dirflag},~{fpsr},~{flags},~{memory}"( i32 0, i32* null, i32 0 ) ; <i32> [#uses=0]
|
2010-10-08-cmpxchg8b.ll | 4 ; On i386, i64 cmpxchg is lowered during legalize types to extract the 12 ; Note that this case requires a loop around the cmpxchg to force 21 %r = cmpxchg i64* %ptr, i64 0, i64 1 monotonic
|
coalescer-remat.ll | 8 %0 = cmpxchg i64* @val, i64 0, i64 1 monotonic
|
/external/llvm/test/Assembler/ |
atomic.ll | 13 ; CHECK: cmpxchg i32* %x, i32 1, i32 0 singlethread monotonic 14 cmpxchg i32* %x, i32 1, i32 0 singlethread monotonic 15 ; CHECK: cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel 16 cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel
|
/external/kernel-headers/original/asm-mips/ |
cmpxchg.h | 71 * if something tries to do an invalid cmpxchg(). 104 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 110 cmpxchg((ptr), (o), (n)); \ 120 #include <asm-generic/cmpxchg-local.h>
|
/external/llvm/test/CodeGen/ARM/ |
atomic-cmp.ll | 13 %tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
atomic_32.h | 17 #include <asm/cmpxchg.h> 27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 18 #include <asm/cmpxchg.h>
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
atomic_32.h | 17 #include <asm/cmpxchg.h> 27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 18 #include <asm/cmpxchg.h>
|
/prebuilts/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
atomic_32.h | 17 #include <asm/cmpxchg.h> 27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 18 #include <asm/cmpxchg.h>
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/asm/ |
atomic_32.h | 17 #include <asm/cmpxchg.h> 27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 18 #include <asm/cmpxchg.h>
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
atomic_32.h | 17 #include <asm/cmpxchg.h> 27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
/external/llvm/test/CodeGen/PowerPC/ |
atomic-1.ll | 14 %tmp = cmpxchg i32* %mem, i32 0, i32 1 monotonic
|
atomic-2.ll | 14 %tmp = cmpxchg i64* %mem, i64 0, i64 1 monotonic
|
/external/llvm/test/Transforms/LowerAtomic/ |
atomic-swap.ll | 6 %j = cmpxchg i8* %i, i8 0, i8 42 monotonic
|