/external/clang/test/CodeGen/ |
D | mips-clobber-reg.c | 18 __asm__ __volatile__ (".set noat \n\t addi $7,$at,77":::"at"); in main() 19 __asm__ __volatile__ ("addi $7,$v0,77":::"v0"); in main() 20 __asm__ __volatile__ ("addi $7,$v1,77":::"v1"); in main() 21 __asm__ __volatile__ ("addi $7,$a0,77":::"a0"); in main() 22 __asm__ __volatile__ ("addi $7,$a1,77":::"a1"); in main() 23 __asm__ __volatile__ ("addi $7,$a2,77":::"a2"); in main() 24 __asm__ __volatile__ ("addi $7,$a3,77":::"a3"); in main() 25 __asm__ __volatile__ ("addi $7,$t0,77":::"t0"); in main() 26 __asm__ __volatile__ ("addi $7,$t1,77":::"t1"); in main() 27 __asm__ __volatile__ ("addi $7,$t2,77":::"t2"); in main() [all …]
|
D | x86_32-inline-asm.c | 26 __asm__ volatile("wrmsr" in func1() 35 __asm__ volatile("outb %0, %w1" : : "a" (data), "Nd" (port)); // No error expected. in func1() 37 …__asm__ volatile("outb %0, %w1" : : "R" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 38 …__asm__ volatile("outb %0, %w1" : : "q" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 39 …__asm__ volatile("outb %0, %w1" : : "Q" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 40 …__asm__ volatile("outb %0, %w1" : : "b" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 41 …__asm__ volatile("outb %0, %w1" : : "c" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 42 …__asm__ volatile("outb %0, %w1" : : "d" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 43 …__asm__ volatile("outb %0, %w1" : : "S" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() 44 …__asm__ volatile("outb %0, %w1" : : "D" (val), "Nd" (port)); // expected-error {{invalid input siz… in func1() [all …]
|
D | asm_64.c | 5 __asm__ ("mov r8w, 100;"); in t1() 7 __asm__ ("mov r8d, 100;"); in t1() 9 __asm__ ("mov r8b, 100;"); in t1() 11 __asm__ ("mov r9w, 100;"); in t1() 13 __asm__ ("mov r9d, 100;"); in t1() 15 __asm__ ("mov r9b, 100;"); in t1() 17 __asm__ ("mov r10w, 100;"); in t1() 19 __asm__ ("mov r10d, 100;"); in t1() 21 __asm__ ("mov r10b, 100;"); in t1() 23 __asm__ ("mov r11w, 100;"); in t1() [all …]
|
D | asm.c | 4 __asm__ ("foo1"); 5 __asm__ ("foo2"); 6 __asm__ ("foo3"); 12 __asm__ volatile("" : "=&r"(len), "+&r"(len)); in t1() 16 __asm__ volatile("" : "+m"(t)); in t2() 20 __asm__ volatile("" : "+m"(temp), "+r"(src)); in t3() 27 __asm__ volatile ("":: "m"(a), "m"(b)); in t4() 37 __asm__ volatile("" : : "i" (t6)); in t6() 41 __asm__ volatile("T7 NAMED: %[input]" : "+r"(a): [input] "i" (4)); in t7() 47 __asm__ volatile("T8 NAMED MODIFIER: %c[input]" :: [input] "i" (4)); in t8() [all …]
|
D | mangle.c | 15 void foo() __asm__("bar"); 16 void foo2() __asm__("bar"); 18 int nux __asm__("foo"); 19 extern float nux2 __asm__("foo"); 30 void foo3() __asm__("var"); 35 int foo4 __asm__("var") = 4; 39 extern int foo5 __asm__("var2"); 45 void foo6() __asm__("var2"); 51 int foo7 __asm__("foo7") __attribute__((used)); 52 float foo8 __asm__("foo7") = 42; [all …]
|
D | asm-attrs.c | 24 __asm__ ("foo0" : "=r"(g1) : "r"(a)); in test_attrs() 25 __asm__ ("foo1" : "=r"(g1) : "r"(a) : "cc"); in test_attrs() 26 __asm__ ("foo2" : "=r"(g1) : "r"(a) : "memory"); in test_attrs() 27 __asm__ volatile("foo3" : "=r"(g1) : "r"(a)); in test_attrs() 28 __asm__ ("foo4" : "=r"(g1) : "r"(a), "m"(g0)); in test_attrs() 29 __asm__ ("foo5" : "=r"(g1) : "r"(a), "Q"(g0)); in test_attrs() 30 __asm__ ("foo6" : "=r"(g1), "=m"(g0) : "r"(a)); in test_attrs() 31 __asm__ ("foo7" : : "r"(a)); in test_attrs() 32 __asm__ ("foo8" : "=r"(g2) : "r"(a)); in test_attrs()
|
/external/clang/test/Sema/ |
D | inline-asm-validate-x86.c | 7 __asm__("xorl %0,%2" in I() 10 __asm__("xorl %0,%2" in I() 13 __asm__("xorl %0,%2" in I() 16 __asm__("xorl %0,%2" in I() 24 __asm__("xorl %0,%2" in J() 27 __asm__("xorl %0,%2" in J() 30 __asm__("xorl %0,%2" in J() 33 __asm__("xorl %0,%2" in J() 41 __asm__("xorl %0,%2" in K() 44 __asm__("xorl %0,%2" in K() [all …]
|
D | asm.c | 127 …__asm__ volatile ("mov %%esp, %o" : "=r"(esp) : : ); // expected-error {{invalid % escape in inlin… in test13() 172 __asm__("" in fn1() 179 __asm__("" in fn2() 185 __asm__("" in fn3() 191 __asm__("" in fn4() 198 __asm__("" in fn5() 205 __asm__("" in fn6() 224 __asm__("movl $5, %0" in test16() 226 __asm__("movl $5, %0" in test16() 229 __asm__("movl $5, %0" in test16() [all …]
|
D | asm-label.c | 4 void f() __asm__("fish"); 10 void g() __asm__("gold"); // expected-error{{cannot apply asm label to function after its first us… 12 void h() __asm__("hose"); // expected-note{{previous declaration is here}} 13 void h() __asm__("hair"); // expected-error{{conflicting asm label}} 16 int x __asm__("xenon"); 21 int y __asm__("yacht"); // expected-error{{cannot apply asm label to variable after its first use}} 23 int z __asm__("zebra"); // expected-note{{previous declaration is here}} 24 int z __asm__("zooms"); // expected-error{{conflicting asm label}}
|
/external/u-boot/arch/m68k/lib/ |
D | cache.c | 36 __asm__ __volatile__("movec %0, %%acr2"::"r"(CONFIG_SYS_CACHE_ACR2)); in icache_enable() 37 __asm__ __volatile__("movec %0, %%acr3"::"r"(CONFIG_SYS_CACHE_ACR3)); in icache_enable() 39 __asm__ __volatile__("movec %0, %%acr6"::"r"(CONFIG_SYS_CACHE_ACR6)); in icache_enable() 40 __asm__ __volatile__("movec %0, %%acr7"::"r"(CONFIG_SYS_CACHE_ACR7)); in icache_enable() 43 __asm__ __volatile__("movec %0, %%acr0"::"r"(CONFIG_SYS_CACHE_ACR0)); in icache_enable() 44 __asm__ __volatile__("movec %0, %%acr1"::"r"(CONFIG_SYS_CACHE_ACR1)); in icache_enable() 47 __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR)); in icache_enable() 58 __asm__ __volatile__("movec %0, %%acr2"::"r"(temp)); in icache_disable() 59 __asm__ __volatile__("movec %0, %%acr3"::"r"(temp)); in icache_disable() 61 __asm__ __volatile__("movec %0, %%acr6"::"r"(temp)); in icache_disable() [all …]
|
/external/u-boot/arch/microblaze/include/asm/ |
D | asm.h | 10 __asm__ __volatile__ ("nget %0, rfsl" #fslnum :"=r" (val)); 13 __asm__ __volatile__ ("get %0, rfsl" #fslnum :"=r" (val)); 16 __asm__ __volatile__ ("ncget %0, rfsl" #fslnum :"=r" (val)); 19 __asm__ __volatile__ ("cget %0, rfsl" #fslnum :"=r" (val)); 22 __asm__ __volatile__ ("nput %0, rfsl" #fslnum ::"r" (val)); 25 __asm__ __volatile__ ("put %0, rfsl" #fslnum ::"r" (val)); 28 __asm__ __volatile__ ("ncput %0, rfsl" #fslnum ::"r" (val)); 31 __asm__ __volatile__ ("cput %0, rfsl" #fslnum ::"r" (val)); 36 __asm__ __volatile__ ("mfs %0," #reg :"=r" (val)); 39 __asm__ __volatile__ ("mts " #reg ", %0"::"r" (val)); [all …]
|
/external/u-boot/arch/arm/mach-exynos/include/mach/ |
D | system.h | 44 #define sev() __asm__ __volatile__ ("sev\n\t" : : ); 56 #define wfe() __asm__ __volatile__ ("wfe\n\t" : : ); 59 #define svc32_mode_en() __asm__ __volatile__ \ 64 #define set_pc(x) __asm__ __volatile__ ("mov pc, %0\n\t" : : "r"(x)) 67 #define branch_bx(x) __asm__ __volatile__ ("bx %0\n\t" : : "r"(x)) 70 #define mrc_midr(x) __asm__ __volatile__ \ 74 #define mrc_mpafr(x) __asm__ __volatile__ \ 78 #define mrc_sctlr(x) __asm__ __volatile__ \ 82 #define mrc_auxr(x) __asm__ __volatile__ \ 86 #define mrc_l2_ctlr(x) __asm__ __volatile__ \ [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_debug_util.h | 88 __asm__ __volatile__ ( "push %%ebx \n" \ 116 __asm__ __volatile__ ( "push %%ebx \n" \ 128 __asm__ __volatile__ ( "push %%ebx \n" \ 156 __asm__ ( "mov %%eax, %0" : "=a" (cycle_tmp1) ); \ 157 __asm__ ( "mov %%eax, %0" : "=a" (cycle_tmp2) ); \ 158 __asm__ ( "cdq" ); \ 159 __asm__ ( "cdq" ); \ 160 __asm__ ( "rdtsc" : "=a" (cycle_tmp1), "=d" (dummy) ); \ 161 __asm__ ( "cdq" ); \ 162 __asm__ ( "cdq" ); \ [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_clang_x86.h | 21 __asm__ __volatile__("" ::: "memory"); in proc_yield() 23 __asm__ __volatile__("pause"); in proc_yield() 24 __asm__ __volatile__("" ::: "memory"); in proc_yield() 42 __asm__ __volatile__("" ::: "memory"); in atomic_load() 44 __asm__ __volatile__("" ::: "memory"); in atomic_load() 46 __asm__ __volatile__("" ::: "memory"); in atomic_load() 49 __asm__ __volatile__("" ::: "memory"); in atomic_load() 52 __asm__ __volatile__("" ::: "memory"); in atomic_load() 54 __asm__ __volatile__("" ::: "memory"); in atomic_load() 58 __asm__ __volatile__( in atomic_load() [all …]
|
/external/u-boot/arch/sh/include/asm/ |
D | system.h | 20 register unsigned long *__ts1 __asm__ ("r1") = &prev->thread.sp; \ 21 register unsigned long *__ts2 __asm__ ("r2") = &prev->thread.pc; \ 22 register unsigned long *__ts4 __asm__ ("r4") = (unsigned long *)prev; \ 23 register unsigned long *__ts5 __asm__ ("r5") = (unsigned long *)next; \ 24 register unsigned long *__ts6 __asm__ ("r6") = &next->thread.sp; \ 25 register unsigned long __ts7 __asm__ ("r7") = next->thread.pc; \ 26 __asm__ __volatile__ (".balign 4\n\t" \ 78 __asm__ __volatile__( \ 89 __asm__ __volatile__ ("tas.b @%1\n\t" in tas() 110 #define mb() __asm__ __volatile__ ("synco": : :"memory") [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_macros_dspr2.h | 27 __asm__ __volatile__( \ 37 __asm__ __volatile__( \ 47 __asm__ __volatile__( \ 57 __asm__ __volatile__( \ 67 __asm__ __volatile__( \ 77 __asm__ __volatile__( \ 87 __asm__ __volatile__( \ 100 __asm__ __volatile__( \ 112 __asm__ __volatile__( \ 124 __asm__ __volatile__( \ [all …]
|
D | loopfilter_mb_vert_dspr2.c | 44 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 62 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 76 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 105 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 141 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 177 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 213 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 282 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 295 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() 306 __asm__ __volatile__( in vpx_lpf_vertical_16_dspr2() [all …]
|
D | itrans32_dspr2.c | 51 __asm__ __volatile__( in idct32_rows_dspr2() 97 __asm__ __volatile__( in idct32_rows_dspr2() 157 __asm__ __volatile__( in idct32_rows_dspr2() 217 __asm__ __volatile__( in idct32_rows_dspr2() 277 __asm__ __volatile__( in idct32_rows_dspr2() 333 __asm__ __volatile__( in idct32_rows_dspr2() 389 __asm__ __volatile__( in idct32_rows_dspr2() 445 __asm__ __volatile__( in idct32_rows_dspr2() 491 __asm__ __volatile__( in idct32_rows_dspr2() 516 __asm__ __volatile__( in idct32_rows_dspr2() [all …]
|
/external/libaom/libaom/aom_dsp/mips/ |
D | loopfilter_macros_dspr2.h | 29 __asm__ __volatile__( \ 39 __asm__ __volatile__( \ 49 __asm__ __volatile__( \ 59 __asm__ __volatile__( \ 69 __asm__ __volatile__( \ 79 __asm__ __volatile__( \ 89 __asm__ __volatile__( \ 102 __asm__ __volatile__( \ 114 __asm__ __volatile__( \ 126 __asm__ __volatile__( \ [all …]
|
D | loopfilter_mb_vert_dspr2.c | 46 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 64 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 78 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 107 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 143 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 179 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 215 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 284 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 297 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() 308 __asm__ __volatile__( in aom_lpf_vertical_16_dspr2() [all …]
|
/external/u-boot/arch/x86/include/asm/ |
D | bitops.h | 41 __asm__ __volatile__( LOCK_PREFIX in set_bit() 58 __asm__( in __set_bit() 78 __asm__ __volatile__( LOCK_PREFIX in clear_bit() 97 __asm__ __volatile__( in __change_bit() 114 __asm__ __volatile__( LOCK_PREFIX in change_bit() 132 __asm__ __volatile__( LOCK_PREFIX in test_and_set_bit() 152 __asm__( in __test_and_set_bit() 171 __asm__ __volatile__( LOCK_PREFIX in test_and_clear_bit() 191 __asm__( in __test_and_clear_bit() 203 __asm__ __volatile__( in __test_and_change_bit() [all …]
|
/external/u-boot/drivers/serial/ |
D | arm_dcc.c | 30 __asm__ volatile ("mcr p14, 0, %0, c0, c5, 0\n" : : "r" (x)) 33 __asm__ volatile ("mrc p14, 0, %0, c0, c5, 0\n" : "=r" (x)) 36 __asm__ volatile ("mrc p14, 0, %0, c0, c1, 0\n" : "=r" (x)) 46 __asm__ volatile ("mcr p14, 0, %0, c8, c0, 0\n" : : "r" (x)) 49 __asm__ volatile ("mrc p14, 0, %0, c9, c0, 0\n" : "=r" (x)) 52 __asm__ volatile ("mrc p14, 0, %0, c14, c0, 0\n" : "=r" (x)) 62 __asm__ volatile ("msr dbgdtrtx_el0, %0\n" : : "r" (x)) 65 __asm__ volatile ("mrs %0, dbgdtrrx_el0\n" : "=r" (x)) 68 __asm__ volatile ("mrs %0, mdccsr_el0\n" : "=r" (x)) 75 __asm__ volatile ("mcr p14, 0, %0, c1, c0, 0\n" : : "r" (x)) [all …]
|
/external/u-boot/board/sbc8641d/ |
D | sbc8641d.c | 243 __asm__ __volatile__ ("mfspr 3, 1008" ::: "r3"); in board_reset() 244 __asm__ __volatile__ ("ori 5, 5, 0xcc00" ::: "r5"); in board_reset() 245 __asm__ __volatile__ ("ori 4, 3, 0xc00" ::: "r4"); in board_reset() 246 __asm__ __volatile__ ("andc 5, 3, 5" ::: "r5"); in board_reset() 247 __asm__ __volatile__ ("sync"); in board_reset() 248 __asm__ __volatile__ ("mtspr 1008, 4"); in board_reset() 249 __asm__ __volatile__ ("isync"); in board_reset() 250 __asm__ __volatile__ ("sync"); in board_reset() 251 __asm__ __volatile__ ("mtspr 1008, 5"); in board_reset() 252 __asm__ __volatile__ ("isync"); in board_reset() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_x86_gcc.h | 51 #define ATOMICOPS_COMPILER_BARRIER() __asm__ __volatile__("" : : : "memory") 59 __asm__ __volatile__("lock; cmpxchgl %1,%2" in NoBarrier_CompareAndSwap() 68 __asm__ __volatile__("xchgl %1,%0" // The lock prefix is implicit for xchg. in NoBarrier_AtomicExchange() 78 __asm__ __volatile__("lock; xaddl %0,%1" in NoBarrier_AtomicIncrement() 88 __asm__ __volatile__("lock; xaddl %0,%1" in Barrier_AtomicIncrement() 93 __asm__ __volatile__("lfence" : : : "memory"); in Barrier_AtomicIncrement() 103 __asm__ __volatile__("lfence" : : : "memory"); in Acquire_CompareAndSwap() 123 __asm__ __volatile__("mfence" : : : "memory"); in MemoryBarrier() 135 __asm__ __volatile__("mfence" : : : "memory"); in MemoryBarrier() 145 __asm__ __volatile__("mfence" : : : "memory"); in Acquire_Store() [all …]
|
/external/u-boot/arch/nds32/lib/ |
D | cache.c | 49 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL" : : "r" (end)); in invalidate_icache_all() 52 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL" : : "r" (end)); in invalidate_icache_all() 55 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL" : : "r" (end)); in invalidate_icache_all() 57 __asm__ volatile ("\n\tcctl %0, L1I_IX_INVAL" : : "r" (end)); in invalidate_icache_all() 144 __asm__ volatile ("\n\tcctl %0, L1D_IX_WB" : : "r" (end)); in dcache_wbinval_all() 145 __asm__ volatile ("\n\tcctl %0, L1D_IX_INVAL" : : "r" (end)); in dcache_wbinval_all() 147 __asm__ volatile ("\n\tcctl %0, L1D_IX_WB" : : "r" (end)); in dcache_wbinval_all() 148 __asm__ volatile ("\n\tcctl %0, L1D_IX_INVAL" : : "r" (end)); in dcache_wbinval_all() 150 __asm__ volatile ("\n\tcctl %0, L1D_IX_WB" : : "r" (end)); in dcache_wbinval_all() 151 __asm__ volatile ("\n\tcctl %0, L1D_IX_INVAL" : : "r" (end)); in dcache_wbinval_all() [all …]
|