/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
system_32.h | 18 #include <asm/cmpxchg.h>
|
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
|
/bionic/libc/kernel/arch-x86/asm/ |
atomic_32.h | 24 #include <asm/cmpxchg.h> 30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 25 #include <asm/cmpxchg.h>
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
atomic_32.h | 24 #include <asm/cmpxchg.h> 30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
system_32.h | 25 #include <asm/cmpxchg.h>
|
/bionic/libc/kernel/arch-mips/asm/ |
cmpxchg.h | 26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); }) 30 #include <asm-generic/cmpxchg-local.h>
|
system.h | 26 #include <asm/cmpxchg.h>
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
cmpxchg.h | 26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); }) 30 #include <asm-generic/cmpxchg-local.h>
|
system.h | 26 #include <asm/cmpxchg.h>
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/ |
cmpxchg.h | 26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); }) 30 #include <asm-generic/cmpxchg-local.h>
|
system.h | 26 #include <asm/cmpxchg.h>
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/ |
cmpxchg.h | 26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); }) 30 #include <asm-generic/cmpxchg-local.h>
|
system.h | 26 #include <asm/cmpxchg.h>
|
/external/llvm/test/Transforms/SimplifyCFG/ |
trapping-load-unreachable.ll | 60 ; Check cmpxchg before unreachable. 68 cmpxchg volatile i32* %P, i32 0, i32 1 seq_cst
|
/external/valgrind/main/none/tests/amd64/ |
Makefile.am | 37 cmpxchg.vgtest cmpxchg.stdout.exp cmpxchg.stderr.exp \ 78 cmpxchg \
|
cmpxchg.c | 4 /* This test only checks register/register cmpxchg */ 27 printf("cmpxchg %%bl,%%cl (al=%llx bl=%llx cl=%llx)\n", 71 printf("cmpxchg %%bl,%%cl (al=%llx bl=%llx cl=%llx)\n", 115 printf("cmpxchg %%bx,%%cx (ax=%llx bx=%llx cx=%llx)\n", 159 printf("cmpxchg %%bx,%%cx (ax=%llx bx=%llx cx=%llx)\n", 204 printf("cmpxchg %%ebx,%%ecx (eax=%llx ebx=%llx ecx=%llx)\n", 248 printf("cmpxchg %%ebx,%%ecx (eax=%llx ebx=%llx ecx=%llx)\n", 293 printf("cmpxchg %%rbx,%%rcx (rax=%llx rbx=%llx rcx=%llx)\n", 337 printf("cmpxchg %%rbx,%%rcx (rax=%llx rbx=%llx rcx=%llx)\n",
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
|
/prebuilts/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/asm/ |
cmpxchg_32.h | 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
|
/external/llvm/test/CodeGen/ARM/ |
atomic-64bit.ll | 96 %r = cmpxchg i64* %ptr, i64 %val1, i64 %val2 seq_cst 100 ; Compiles down to cmpxchg
|
/system/core/libcutils/ |
atomic-android-sh.c | 27 * (1) SuperH does not have CMPXCHG. It has only TAS for atomic 28 * operations. It does not seem a good idea to implement CMPXCHG,
|
/external/llvm/test/CodeGen/X86/ |
atomic_op.ll | 104 %16 = cmpxchg i32* %val2, i32 %neg1, i32 1 monotonic 108 %17 = cmpxchg i32* %val2, i32 1976, i32 1 monotonic 137 %0 = cmpxchg i32 addrspace(256)* %P, i32 0, i32 1 monotonic
|
/external/clang/test/CodeGen/ |
atomic-ops.c | 94 // CHECK: cmpxchg i32* 101 // CHECK: cmpxchg i32* 109 // CHECK: cmpxchg i32*
|