/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/asm/ |
locks.h | 17 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 21 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " cmp lr, #0\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 26 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr, [%0]\n" " sub lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movne ip, %0\n" " blne " #fail : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); smp_mb(); }) 28 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: ldrex lr, [%0]\n" " adds lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " movcs ip, %0\n" " blcs " #wake : : "r" (ptr), "I" (RW_LOCK_BIAS) : "ip", "lr", "cc"); }) 32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldrex lr, [%0]\n" " add lr, lr, %1\n" " strex ip, lr, [%0]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " moveq ip, %0\n" " bleq " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 36 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " subs lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movmi ip, %0\n" " blmi " #fail : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); }) 38 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%1]\n" " subs lr, lr, %2\n" " str lr, [%1]\n" " msr cpsr_c, ip\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; }) 40 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%0]\n" " adds lr, lr, %1\n" " str lr, [%0]\n" " msr cpsr_c, ip\n" " movle ip, %0\n" " blle " #wake : : "r" (ptr), "I" (1) : "ip", "lr", "cc"); }) 45 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [ (…) [all...] |
/external/valgrind/main/none/tests/ppc32/ |
mftocrf.c | 12 __asm__ __volatile__( 17 __asm__ __volatile__( 22 __asm__ __volatile__( 37 __asm__ __volatile__( 42 __asm__ __volatile__(
|
jm-insns.c | 200 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR ); 203 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" ); 206 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) ) 209 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) ) 225 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \ 445 __asm__ __volatile__ ("add 17, 14, 15"); 450 __asm__ __volatile__ ("addo 17, 14, 15"); 455 __asm__ __volatile__ ("addc 17, 14, 15"); 460 __asm__ __volatile__ ("addco 17, 14, 15"); 465 __asm__ __volatile__ ("divw 17, 14, 15") [all...] |
mcrfs.c | 11 __asm__ __volatile__( 27 __asm__ __volatile__( 40 __asm__ __volatile__(
|
/external/chromium/base/ |
cpu_unittest.cc | 58 __asm__ __volatile__("emms\n" : : : "mm0"); 62 __asm__ __volatile__("xorps %%xmm0, %%xmm0\n" : : : "xmm0"); 67 __asm__ __volatile__("psrldq $0, %%xmm0\n" : : : "xmm0"); 72 __asm__ __volatile__("addsubpd %%xmm0, %%xmm0\n" : : : "xmm0"); 77 __asm__ __volatile__("psignb %%xmm0, %%xmm0\n" : : : "xmm0"); 82 __asm__ __volatile__("pmuldq %%xmm0, %%xmm0\n" : : : "xmm0"); 87 __asm__ __volatile__("crc32 %%eax, %%eax\n" : : : "eax");
|
atomicops_internals_x86_gcc.h | 22 #define ATOMICOPS_COMPILER_BARRIER() __asm__ __volatile__("" : : : "memory") 33 __asm__ __volatile__("lock; cmpxchgl %1,%2" 42 __asm__ __volatile__("xchgl %1,%0" // The lock prefix is implicit for xchg. 52 __asm__ __volatile__("lock; xaddl %0,%1" 62 __asm__ __volatile__("lock; xaddl %0,%1" 67 __asm__ __volatile__("lfence" : : : "memory"); 77 __asm__ __volatile__("lfence" : : : "memory"); 97 __asm__ __volatile__("mfence" : : : "memory"); 109 __asm__ __volatile__("mfence" : : : "memory"); 119 __asm__ __volatile__("mfence" : : : "memory") [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
io.h | 48 __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (port)); 57 __asm__ __volatile__ ("inb %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (port)); 66 __asm__ __volatile__ ("inw %w1,%0":"=a" (_v):"Nd" (port)); 75 __asm__ __volatile__ ("inw %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (port)); 84 __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (port)); 92 __asm__ __volatile__ ("inl %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (port)); 99 __asm__ __volatile__ ("outb %b0,%w1": :"a" (value), "Nd" (port)); 105 __asm__ __volatile__ ("outb %b0,%w1\noutb %%al,$0x80": :"a" (value), 112 __asm__ __volatile__ ("outw %w0,%w1": :"a" (value), "Nd" (port)); 119 __asm__ __volatile__ ("outw %w0,%w1\noutb %%al,$0x80": :"a" (value) [all...] |
/external/valgrind/main/memcheck/tests/ |
leak.h | 52 __asm__ __volatile__( "li 3, 0" : : :/*trash*/"r3" ); \ 53 __asm__ __volatile__( "li 4, 0" : : :/*trash*/"r4" ); \ 54 __asm__ __volatile__( "li 5, 0" : : :/*trash*/"r5" ); \ 55 __asm__ __volatile__( "li 6, 0" : : :/*trash*/"r6" ); \ 56 __asm__ __volatile__( "li 7, 0" : : :/*trash*/"r7" ); \ 57 __asm__ __volatile__( "li 8, 0" : : :/*trash*/"r8" ); \ 58 __asm__ __volatile__( "li 9, 0" : : :/*trash*/"r9" ); \ 59 __asm__ __volatile__( "li 10, 0" : : :/*trash*/"r10" ); \ 60 __asm__ __volatile__( "li 11, 0" : : :/*trash*/"r11" ); \ 61 __asm__ __volatile__( "li 12, 0" : : :/*trash*/"r12" ); [all...] |
/external/valgrind/main/none/tests/ppc64/ |
jm-insns.c | 200 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR ); 203 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" ); 206 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) ) 209 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) ) 225 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \ 445 __asm__ __volatile__ ("add 17, 14, 15"); 450 __asm__ __volatile__ ("addo 17, 14, 15"); 455 __asm__ __volatile__ ("addc 17, 14, 15"); 460 __asm__ __volatile__ ("addco 17, 14, 15"); 465 __asm__ __volatile__ ("divw 17, 14, 15") [all...] |
/external/valgrind/main/none/tests/amd64/ |
clc.c | 9 __asm__ __volatile__( 25 __asm__ __volatile__( 41 __asm__ __volatile__(
|
fcmovnu.c | 10 __asm__ __volatile__(
|
bug132813-amd64.c | 7 __asm__ __volatile__ ( 26 __asm__ __volatile__ ( 45 __asm__ __volatile__ ( 64 __asm__ __volatile__ ( 83 __asm__ __volatile__ ( 102 __asm__ __volatile__ ( 122 __asm__ __volatile__ ( 141 __asm__ __volatile__ (
|
/bionic/libc/kernel/arch-x86/asm/ |
msr.h | 28 #define rdmsr(msr,val1,val2) __asm__ __volatile__("rdmsr" : "=a" (val1), "=d" (val2) : "c" (msr)) 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 32 #define wrmsr(msr,val1,val2) __asm__ __volatile__("wrmsr" : : "c" (msr), "a" (val1), "d" (val2)) 36 #define rdtsc(low,high) __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 38 #define rdtscl(low) __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") 40 #define rdtscp(low,high,aux) __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux)) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 50 #define rdpmc(counter,low,high) __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter))
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
msr.h | 28 #define rdmsr(msr,val1,val2) __asm__ __volatile__("rdmsr" : "=a" (val1), "=d" (val2) : "c" (msr)) 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 32 #define wrmsr(msr,val1,val2) __asm__ __volatile__("wrmsr" : : "c" (msr), "a" (val1), "d" (val2)) 36 #define rdtsc(low,high) __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 38 #define rdtscl(low) __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") 40 #define rdtscp(low,high,aux) __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux)) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 50 #define rdpmc(counter,low,high) __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
msr.h | 28 #define rdmsr(msr,val1,val2) __asm__ __volatile__("rdmsr" : "=a" (val1), "=d" (val2) : "c" (msr)) 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 32 #define wrmsr(msr,val1,val2) __asm__ __volatile__("wrmsr" : : "c" (msr), "a" (val1), "d" (val2)) 36 #define rdtsc(low,high) __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 38 #define rdtscl(low) __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") 40 #define rdtscp(low,high,aux) __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux)) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 50 #define rdpmc(counter,low,high) __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
msr.h | 28 #define rdmsr(msr,val1,val2) __asm__ __volatile__("rdmsr" : "=a" (val1), "=d" (val2) : "c" (msr)) 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 32 #define wrmsr(msr,val1,val2) __asm__ __volatile__("wrmsr" : : "c" (msr), "a" (val1), "d" (val2)) 36 #define rdtsc(low,high) __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 38 #define rdtscl(low) __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") 40 #define rdtscp(low,high,aux) __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux)) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 50 #define rdpmc(counter,low,high) __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter))
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
msr.h | 28 #define rdmsr(msr,val1,val2) __asm__ __volatile__("rdmsr" : "=a" (val1), "=d" (val2) : "c" (msr)) 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 32 #define wrmsr(msr,val1,val2) __asm__ __volatile__("wrmsr" : : "c" (msr), "a" (val1), "d" (val2)) 36 #define rdtsc(low,high) __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 38 #define rdtscl(low) __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx") 40 #define rdtscp(low,high,aux) __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux)) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 50 #define rdpmc(counter,low,high) __asm__ __volatile__("rdpmc" : "=a" (low), "=d" (high) : "c" (counter))
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_mixer_m68k.c | 33 __asm__ __volatile__ ( 71 __asm__ __volatile__ ( 118 __asm__ __volatile__ ( 164 __asm__ __volatile__ (
|
SDL_mixer_MMX.c | 41 __asm__ __volatile__ ( 143 __asm__ __volatile__ (
|
/external/speex/libspeex/ |
misc_bfin.h | 39 __asm__ __volatile__
|
/external/valgrind/main/memcheck/tests/x86/ |
espindola2.c | 13 __asm__ __volatile__(
|
pushfw_x86.c | 11 __asm__ __volatile__(
|
/external/valgrind/main/none/tests/x86/ |
fcmovnu.c | 10 __asm__ __volatile__(
|
bug132813-x86.c | 7 __asm__ __volatile__ ( 26 __asm__ __volatile__ ( 45 __asm__ __volatile__ ( 64 __asm__ __volatile__ ( 83 __asm__ __volatile__ ( 102 __asm__ __volatile__ ( 122 __asm__ __volatile__ ( 141 __asm__ __volatile__ (
|
/external/kernel-headers/original/asm-arm/ |
spinlock.h | 30 __asm__ __volatile__( 50 __asm__ __volatile__( 70 __asm__ __volatile__( 94 __asm__ __volatile__( 114 __asm__ __volatile__( 134 __asm__ __volatile__( 164 __asm__ __volatile__( 186 __asm__ __volatile__( 206 __asm__ __volatile__(
|