Home
last modified time | relevance | path

Searched refs:__asm__ (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/external/clang/test/CodeGen/
Dmips-clobber-reg.c18 __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 …]
Dx86_32-inline-asm.c26 __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 …]
Dasm.c4 __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 …]
Dmangle.c15 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 …]
/external/valgrind/helgrind/tests/
Dtc19_shadowmem.c287 __asm__ __volatile__(""); in steer()
289 __asm__ __volatile__(""); in steer()
291 __asm__ __volatile__(""); in steer()
293 __asm__ __volatile__(""); in steer()
295 __asm__ __volatile__(""); in steer()
297 __asm__ __volatile__(""); in steer()
299 __asm__ __volatile__(""); in steer()
301 __asm__ __volatile__(""); in steer()
303 __asm__ __volatile__(""); in steer()
305 __asm__ __volatile__(""); in steer()
[all …]
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core_neon.c44 __asm__("vmov.i16 d21, #0" ::: "d21"); in WindowAndFFTNeon()
54 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_0) : "r"(&time_signal[i])); in WindowAndFFTNeon()
57 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_1) : "r"(&WebRtcAecm_kSqrtHanning[i])); in WindowAndFFTNeon()
60 __asm__("vshrn.i32 d20, %q0, #14" : : "w"(tmp32x4_0) : "d20"); in WindowAndFFTNeon()
61 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[j]) : "q10"); in WindowAndFFTNeon()
66 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_0) : "r"(&time_signal[i + PART_LEN])); in WindowAndFFTNeon()
69 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_1) : "r"(&kSqrtHanningReversed[i])); in WindowAndFFTNeon()
72 __asm__("vshrn.i32 d20, %q0, #14" : : "w"(tmp32x4_0) : "d20"); in WindowAndFFTNeon()
73 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[PART_LEN2 + j]) : "q10"); in WindowAndFFTNeon()
81 __asm__("vld2.16 {d20, d21, d22, d23}, [%0, :256]" : : "r"(&fft[j]) : "q10", "q11"); in WindowAndFFTNeon()
[all …]
/external/valgrind/VEX/switchback/
Dtest_ppc_jm1.c135 register double f14 __asm__ ("f14");
136 register double f15 __asm__ ("f15");
137 register double f16 __asm__ ("f16");
138 register double f17 __asm__ ("f17");
139 register double f18 __asm__ ("f18");
141 register uint32_t r14 __asm__ ("r14");
142 register uint32_t r15 __asm__ ("r15");
143 register uint32_t r16 __asm__ ("r16");
144 register uint32_t r17 __asm__ ("r17");
145 register uint32_t r18 __asm__ ("r18");
[all …]
/external/valgrind/none/tests/ppc32/
Dtwi.c33 __asm__ __volatile__("twi 0, %0,-100" in twi_0_neg100()
37 __asm__ __volatile__("twi 1, %0,-100" in twi_1_neg100()
41 __asm__ __volatile__("twi 2, %0,-100" in twi_2_neg100()
45 __asm__ __volatile__("twi 3, %0,-100" in twi_3_neg100()
49 __asm__ __volatile__("twi 4, %0,-100" in twi_4_neg100()
53 __asm__ __volatile__("twi 5, %0,-100" in twi_5_neg100()
57 __asm__ __volatile__("twi 6, %0,-100" in twi_6_neg100()
61 __asm__ __volatile__("twi 7, %0,-100" in twi_7_neg100()
65 __asm__ __volatile__("twi 8, %0,-100" in twi_8_neg100()
69 __asm__ __volatile__("twi 9, %0,-100" in twi_9_neg100()
[all …]
Dtw.c34 __asm__ __volatile__("tw 0, %0,%1" in tw_0()
38 __asm__ __volatile__("tw 1, %0,%1" in tw_1()
42 __asm__ __volatile__("tw 2, %0,%1" in tw_2()
46 __asm__ __volatile__("tw 3, %0,%1" in tw_3()
50 __asm__ __volatile__("tw 4, %0,%1" in tw_4()
54 __asm__ __volatile__("tw 5, %0,%1" in tw_5()
58 __asm__ __volatile__("tw 6, %0,%1" in tw_6()
62 __asm__ __volatile__("tw 7, %0,%1" in tw_7()
66 __asm__ __volatile__("tw 8, %0,%1" in tw_8()
70 __asm__ __volatile__("tw 9, %0,%1" in tw_9()
[all …]
Djm-insns.c201 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
204 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
207 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
210 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
226 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \
231 register double f14 __asm__ ("fr14");
232 register double f15 __asm__ ("fr15");
233 register double f16 __asm__ ("fr16");
234 register double f17 __asm__ ("fr17");
235 register HWord_t r14 __asm__ ("r14");
[all …]
Dtest_dfp3.c30 register double f14 __asm__ ("fr14");
31 register double f15 __asm__ ("fr15");
32 register double f16 __asm__ ("fr16");
33 register double f17 __asm__ ("fr17");
34 register double f18 __asm__ ("fr18");
35 register double f19 __asm__ ("fr19");
46 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
49 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
52 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
55 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
[all …]
Dtest_dfp4.c53 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
56 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
59 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
62 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
78 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \
82 __asm__ __volatile__ ("mffs %0" : "=f"(_arg) )
85 __asm__ __volatile__ ("mtfsf 1, %0, 0, 1" : : "f"(f14) )
106 __asm__ __volatile__ ("dtstdc 5, %0, 1" : : "f" (f14)); in _test_dtstdc()
108 __asm__ __volatile__ ("dtstdc 0, %0, 1" : : "f" (f14)); in _test_dtstdc()
112 __asm__ __volatile__ ("dtstdc 5, %0, 2" : : "f" (f14)); in _test_dtstdc()
[all …]
Dtest_dfp1.c29 register double f14 __asm__ ("fr14");
30 register double f15 __asm__ ("fr15");
31 register double f16 __asm__ ("fr16");
32 register double f17 __asm__ ("fr17");
33 register double f18 __asm__ ("fr18");
34 register double f19 __asm__ ("fr19");
45 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
48 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
51 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
54 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
[all …]
/external/valgrind/none/tests/ppc64/
Dtwi_tdi.c33 __asm__ __volatile__("twi 0, %0,-100" in twi_0_neg100()
37 __asm__ __volatile__("twi 1, %0,-100" in twi_1_neg100()
41 __asm__ __volatile__("twi 2, %0,-100" in twi_2_neg100()
45 __asm__ __volatile__("twi 3, %0,-100" in twi_3_neg100()
49 __asm__ __volatile__("twi 4, %0,-100" in twi_4_neg100()
53 __asm__ __volatile__("twi 5, %0,-100" in twi_5_neg100()
57 __asm__ __volatile__("twi 6, %0,-100" in twi_6_neg100()
61 __asm__ __volatile__("twi 7, %0,-100" in twi_7_neg100()
65 __asm__ __volatile__("twi 8, %0,-100" in twi_8_neg100()
69 __asm__ __volatile__("twi 9, %0,-100" in twi_9_neg100()
[all …]
Dtw_td.c34 __asm__ __volatile__("tw 0, %0,%1" in tw_0()
38 __asm__ __volatile__("tw 1, %0,%1" in tw_1()
42 __asm__ __volatile__("tw 2, %0,%1" in tw_2()
46 __asm__ __volatile__("tw 3, %0,%1" in tw_3()
50 __asm__ __volatile__("tw 4, %0,%1" in tw_4()
54 __asm__ __volatile__("tw 5, %0,%1" in tw_5()
58 __asm__ __volatile__("tw 6, %0,%1" in tw_6()
62 __asm__ __volatile__("tw 7, %0,%1" in tw_7()
66 __asm__ __volatile__("tw 8, %0,%1" in tw_8()
70 __asm__ __volatile__("tw 9, %0,%1" in tw_9()
[all …]
Djm-insns.c201 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
204 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
207 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
210 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
226 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \
231 register double f14 __asm__ ("fr14");
232 register double f15 __asm__ ("fr15");
233 register double f16 __asm__ ("fr16");
234 register double f17 __asm__ ("fr17");
235 register HWord_t r14 __asm__ ("r14");
[all …]
Dtest_dfp3.c30 register double f14 __asm__ ("fr14");
31 register double f15 __asm__ ("fr15");
32 register double f16 __asm__ ("fr16");
33 register double f17 __asm__ ("fr17");
34 register double f18 __asm__ ("fr18");
35 register double f19 __asm__ ("fr19");
46 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
49 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
52 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
55 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
[all …]
Dtest_dfp4.c53 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
56 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
59 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
62 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
78 __asm__ __volatile__ ("mtfsf 0xFF, %0" : : "f"(_d) ); \
82 __asm__ __volatile__ ("mffs %0" : "=f"(_arg) )
85 __asm__ __volatile__ ("mtfsf 1, %0, 0, 1" : : "f"(f14) )
106 __asm__ __volatile__ ("dtstdc 5, %0, 1" : : "f" (f14)); in _test_dtstdc()
108 __asm__ __volatile__ ("dtstdc 0, %0, 1" : : "f" (f14)); in _test_dtstdc()
112 __asm__ __volatile__ ("dtstdc 5, %0, 2" : : "f" (f14)); in _test_dtstdc()
[all …]
Dtest_dfp1.c29 register double f14 __asm__ ("fr14");
30 register double f15 __asm__ ("fr15");
31 register double f16 __asm__ ("fr16");
32 register double f17 __asm__ ("fr17");
33 register double f18 __asm__ ("fr18");
34 register double f19 __asm__ ("fr19");
45 __asm__ __volatile__ ("mtcr %0" : : "b"(_arg) : ALLCR );
48 __asm__ __volatile__ ("mtxer %0" : : "b"(_arg) : "xer" );
51 __asm__ __volatile__ ("mfcr %0" : "=b"(_lval) )
54 __asm__ __volatile__ ("mfxer %0" : "=b"(_lval) )
[all …]
/external/clang/test/Sema/
Dinline-asm-validate-x86.c7 __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 …]
/external/valgrind/memcheck/tests/ppc64/
Dpower_ISA2_05.c34 __asm__ volatile ("prtyd %0, %1":"=r" (parity):"r"(long_word)); in test_parity_instrs()
36 __asm__ volatile ("prtyw %0, %1":"=r" (parity):"r"(word)); in test_parity_instrs()
60 __asm__ volatile ("lfiwax %0, 0, %1":"=f" (FRT1):"r"(base)); in test_lfiwax()
99 __asm__ volatile ("lfdp 10, %0"::"m" (dbl_pair[0])); in test_double_pair_instrs()
100 __asm__ volatile ("fmr %0, 10":"=d" (FRT1)); in test_double_pair_instrs()
101 __asm__ volatile ("fmr %0, 11":"=d" (FRT2)); in test_double_pair_instrs()
108 __asm__ volatile ("fmr 10, %0"::"d" (FRT1)); in test_double_pair_instrs()
109 __asm__ volatile ("fmr 11, %0"::"d" (FRT2)); in test_double_pair_instrs()
110 __asm__ volatile ("stfdp 10, %0"::"m" (dbl_pair[1])); in test_double_pair_instrs()
118 __asm__ volatile ("ori 20, %0, 0"::"r" (base)); in test_double_pair_instrs()
[all …]
/external/valgrind/memcheck/tests/ppc32/
Dpower_ISA2_05.c34 __asm__ volatile ("prtyd %0, %1":"=r" (parity):"r"(long_word)); in test_parity_instrs()
37 __asm__ volatile ("prtyw %0, %1":"=r" (parity):"r"(word)); in test_parity_instrs()
56 __asm__ volatile ("lfiwax %0, 0, %1":"=f" (FRT1):"r"(base)); in test_lfiwax()
94 __asm__ volatile ("lfdp 10, %0"::"m" (dbl_pair[0])); in test_double_pair_instrs()
95 __asm__ volatile ("fmr %0, 10":"=d" (FRT1)); in test_double_pair_instrs()
96 __asm__ volatile ("fmr %0, 11":"=d" (FRT2)); in test_double_pair_instrs()
103 __asm__ volatile ("fmr 10, %0"::"d" (FRT1)); in test_double_pair_instrs()
104 __asm__ volatile ("fmr 11, %0"::"d" (FRT2)); in test_double_pair_instrs()
105 __asm__ volatile ("stfdp 10, %0"::"m" (dbl_pair[1])); in test_double_pair_instrs()
113 __asm__ volatile ("ori 20, %0, 0"::"r" (base)); in test_double_pair_instrs()
[all …]
/external/valgrind/memcheck/tests/
Datomic_incs.c32 __asm__ __volatile__( in atomic_add_8bit()
42 __asm__ __volatile__( in atomic_add_8bit()
53 __asm__ __volatile__( in atomic_add_8bit()
70 __asm__ __volatile__( in atomic_add_8bit()
87 __asm__ __volatile__( in atomic_add_8bit()
103 __asm__ __volatile__( in atomic_add_8bit()
121 __asm__ __volatile__( in atomic_add_8bit()
136 __asm__ __volatile__( in atomic_add_8bit()
155 __asm__ __volatile__( in atomic_add_8bit()
178 __asm__ __volatile__( in atomic_add_8bit()
[all …]
Dcond_ld_st.c49 __asm__ __volatile__( in do_conditional_load32()
60 __asm__ __volatile__("" ::: "cc","memory"); in do_conditional_load32()
75 __asm__ __volatile__( in do_conditional_store32()
85 __asm__ __volatile__("" ::: "cc","memory"); in do_conditional_store32()
356 __asm__ __volatile__(""); in do_test_case_steer()
358 __asm__ __volatile__(""); in do_test_case_steer()
360 __asm__ __volatile__(""); in do_test_case_steer()
362 __asm__ __volatile__(""); in do_test_case_steer()
364 __asm__ __volatile__(""); in do_test_case_steer()
366 __asm__ __volatile__(""); in do_test_case_steer()
[all …]
/external/mesa3d/src/mesa/math/
Dm_debug_util.h85 __asm__ __volatile__ ( "push %%ebx \n" \
113 __asm__ __volatile__ ( "push %%ebx \n" \
125 __asm__ __volatile__ ( "push %%ebx \n" \
153 __asm__ ( "mov %%eax, %0" : "=a" (cycle_tmp1) ); \
154 __asm__ ( "mov %%eax, %0" : "=a" (cycle_tmp2) ); \
155 __asm__ ( "cdq" ); \
156 __asm__ ( "cdq" ); \
157 __asm__ ( "rdtsc" : "=a" (cycle_tmp1), "=d" (dummy) ); \
158 __asm__ ( "cdq" ); \
159 __asm__ ( "cdq" ); \
[all …]

12345678910>>...21