Home
last modified time | relevance | path

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

12345678910>>...32

/external/llvm-project/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 …]
Dasm_64.c5 __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 …]
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.c19 void foo() __asm__("bar");
20 void foo2() __asm__("bar");
22 int nux __asm__("foo");
23 extern float nux2 __asm__("foo");
34 void foo3() __asm__("var");
39 int foo4 __asm__("var") = 4;
43 extern int foo5 __asm__("var2");
49 void foo6() __asm__("var2");
55 int foo7 __asm__("foo7") __attribute__((used));
56 float foo8 __asm__("foo7") = 42;
[all …]
Dasm-attrs.c24 __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/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_64.c5 __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 …]
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 …]
Dasm-attrs.c24 __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/llvm-project/clang/test/CodeGen/X86/
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 …]
/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 …]
Dasm.c127__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 …]
Dasm-label.c4 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/llvm-project/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()
21 __asm__("xorl %0,%2" in J()
24 __asm__("xorl %0,%2" in J()
27 __asm__("xorl %0,%2" in J()
35 __asm__("xorl %0,%2" in K()
38 __asm__("xorl %0,%2" in K()
41 __asm__("xorl %0,%2" in K()
54 __asm__("xorl %0,%2" in L()
[all …]
Dasm-label.c4 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/mesa3d/src/mesa/math/
Dm_debug_util.h88 __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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_clang_x86.h20 __asm__ __volatile__("" ::: "memory"); in proc_yield()
22 __asm__ __volatile__("pause"); in proc_yield()
23 __asm__ __volatile__("" ::: "memory"); in proc_yield()
41 __asm__ __volatile__("" ::: "memory"); in atomic_load()
43 __asm__ __volatile__("" ::: "memory"); in atomic_load()
45 __asm__ __volatile__("" ::: "memory"); in atomic_load()
48 __asm__ __volatile__("" ::: "memory"); in atomic_load()
51 __asm__ __volatile__("" ::: "memory"); in atomic_load()
53 __asm__ __volatile__("" ::: "memory"); in atomic_load()
57 __asm__ __volatile__( in atomic_load()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_clang_x86.h21 __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/libaom/libaom/aom_dsp/mips/
Dloopfilter_macros_dspr2.h29 __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 …]
Dloopfilter_mb_vert_dspr2.c46 __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/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_macros_dspr2.h27 __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 …]
Dloopfilter_mb_vert_dspr2.c44 __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 …]
/external/libchrome/base/
Dcpu_unittest.cc32 __asm__ __volatile__("emms\n" : : : "mm0"); in TEST()
35 __asm__ __volatile__("xorps %%xmm0, %%xmm0\n" : : : "xmm0"); in TEST()
38 __asm__ __volatile__("psrldq $0, %%xmm0\n" : : : "xmm0"); in TEST()
42 __asm__ __volatile__("addsubpd %%xmm0, %%xmm0\n" : : : "xmm0"); in TEST()
47 __asm__ __volatile__("psignb %%xmm0, %%xmm0\n" : : : "xmm0"); in TEST()
52 __asm__ __volatile__("pmuldq %%xmm0, %%xmm0\n" : : : "xmm0"); in TEST()
57 __asm__ __volatile__("crc32 %%eax, %%eax\n" : : : "eax"); in TEST()
62 __asm__ __volatile__("popcnt %%eax, %%eax\n" : : : "eax"); in TEST()
67 __asm__ __volatile__("vzeroupper\n" : : : "xmm0"); in TEST()
72 __asm__ __volatile__("vpunpcklbw %%ymm0, %%ymm0, %%ymm0\n" : : : "xmm0"); in TEST()

12345678910>>...32