HomeSort by relevance Sort by last modified time
    Searched full:cmpxchg (Results 1 - 25 of 57) sorted by null

1 2 3

  /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)
cmpxchg.c 4 /* This test only checks register/register cmpxchg */
27 printf("cmpxchg %%bl,%%cl (al=%llx bl=%llx cl=%llx)\n",
58 printf("cmpxchg %%bl,%%cl (al=%llx bl=%llx cl=%llx)\n",
89 printf("cmpxchg %%bx,%%cx (ax=%llx bx=%llx cx=%llx)\n",
120 printf("cmpxchg %%bx,%%cx (ax=%llx bx=%llx cx=%llx)\n",
152 printf("cmpxchg %%ebx,%%ecx (eax=%llx ebx=%llx ecx=%llx)\n",
183 printf("cmpxchg %%ebx,%%ecx (eax=%llx ebx=%llx ecx=%llx)\n",
215 printf("cmpxchg %%rbx,%%rcx (rax=%llx rbx=%llx rcx=%llx)\n",
246 printf("cmpxchg %%rbx,%%rcx (rax=%llx rbx=%llx rcx=%llx)\n",
Makefile.am 36 cmpxchg.vgtest cmpxchg.stdout.exp cmpxchg.stderr.exp \
67 cmpxchg \
  /external/llvm/test/CodeGen/X86/
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
  /bionic/libc/kernel/arch-x86/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>
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
  /development/ndk/platforms/android-9/arch-x86/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>
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
  /prebuilt/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>
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
  /prebuilt/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>
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
  /prebuilt/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>
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-sh/asm/
system.h 38 #include <asm/cmpxchg-irq.h>
46 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) _o_ = (o); __typeof__(*(ptr)) _n_ = (n); (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, (unsigned long)_n_, sizeof(*(ptr))); }) macro
  /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/kernel-headers/original/asm-x86/
cmpxchg_32.h 108 #define cmpxchg(ptr,o,n)\ macro
209 * simulate the cmpxchg on the 80386 CPU. For that purpose we define
231 #define cmpxchg(ptr,o,n) \ macro
  /bionic/libc/bionic/
atomics_x86.c 67 "cmpxchg %%ecx, (%%edx);"

Completed in 294 milliseconds

1 2 3