Home
last modified time | relevance | path

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

12345678910>>...26

/third_party/musl/compat/time32/
Dtime32.h28 int __adjtime32() __asm__("adjtime");
29 int __adjtimex_time32() __asm__("adjtimex");
30 int __aio_suspend_time32() __asm__("aio_suspend");
31 int __clock_adjtime32() __asm__("clock_adjtime");
32 int __clock_getres_time32() __asm__("clock_getres");
33 int __clock_gettime32() __asm__("clock_gettime");
34 int __clock_nanosleep_time32() __asm__("clock_nanosleep");
35 int __clock_settime32() __asm__("clock_settime");
36 int __cnd_timedwait_time32() __asm__("cnd_timedwait");
37 char *__ctime32() __asm__("ctime");
[all …]
/third_party/musl/arch/microblaze/
Dsyscall_arch.h8 register unsigned long r12 __asm__("r12") = n; in __syscall0()
9 register unsigned long r3 __asm__("r3"); in __syscall0()
10 __asm__ __volatile__ ("brki r14, 0x8" : "=r"(r3) in __syscall0()
18 register unsigned long r12 __asm__("r12") = n; in __syscall1()
19 register unsigned long r3 __asm__("r3"); in __syscall1()
20 register unsigned long r5 __asm__("r5") = a; in __syscall1()
21 __asm__ __volatile__ ("brki r14, 0x8" : "=r"(r3) in __syscall1()
29 register unsigned long r12 __asm__("r12") = n; in __syscall2()
30 register unsigned long r3 __asm__("r3"); in __syscall2()
31 register unsigned long r5 __asm__("r5") = a; in __syscall2()
[all …]
/third_party/musl/arch/mips/
Dsyscall_arch.h20 register long r7 __asm__("$7"); in __syscall0()
21 register long r2 __asm__("$2"); in __syscall0()
22 __asm__ __volatile__ ( in __syscall0()
32 register long r4 __asm__("$4") = a; in __syscall1()
33 register long r7 __asm__("$7"); in __syscall1()
34 register long r2 __asm__("$2"); in __syscall1()
35 __asm__ __volatile__ ( in __syscall1()
45 register long r4 __asm__("$4") = a; in __syscall2()
46 register long r5 __asm__("$5") = b; in __syscall2()
47 register long r7 __asm__("$7"); in __syscall2()
[all …]
/third_party/musl/arch/powerpc64/
Dsyscall_arch.h6 register long r0 __asm__("r0") = n; in __syscall0()
7 register long r3 __asm__("r3"); in __syscall0()
8 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall0()
16 register long r0 __asm__("r0") = n; in __syscall1()
17 register long r3 __asm__("r3") = a; in __syscall1()
18 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall1()
26 register long r0 __asm__("r0") = n; in __syscall2()
27 register long r3 __asm__("r3") = a; in __syscall2()
28 register long r4 __asm__("r4") = b; in __syscall2()
29 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall2()
[all …]
/third_party/musl/arch/mips64/
Dsyscall_arch.h18 register long r7 __asm__("$7"); in __syscall0()
19 register long r2 __asm__("$2"); in __syscall0()
20 __asm__ __volatile__ ( in __syscall0()
30 register long r4 __asm__("$4") = a; in __syscall1()
31 register long r7 __asm__("$7"); in __syscall1()
32 register long r2 __asm__("$2"); in __syscall1()
33 __asm__ __volatile__ ( in __syscall1()
43 register long r4 __asm__("$4") = a; in __syscall2()
44 register long r5 __asm__("$5") = b; in __syscall2()
45 register long r7 __asm__("$7"); in __syscall2()
[all …]
/third_party/musl/arch/powerpc/
Dsyscall_arch.h8 register long r0 __asm__("r0") = n; in __syscall0()
9 register long r3 __asm__("r3"); in __syscall0()
10 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall0()
18 register long r0 __asm__("r0") = n; in __syscall1()
19 register long r3 __asm__("r3") = a; in __syscall1()
20 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall1()
28 register long r0 __asm__("r0") = n; in __syscall2()
29 register long r3 __asm__("r3") = a; in __syscall2()
30 register long r4 __asm__("r4") = b; in __syscall2()
31 __asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:" in __syscall2()
[all …]
/third_party/musl/arch/mipsn32/
Dsyscall_arch.h18 register long r7 __asm__("$7"); in __syscall0()
19 register long r2 __asm__("$2"); in __syscall0()
20 __asm__ __volatile__ ( in __syscall0()
30 register long r4 __asm__("$4") = a; in __syscall1()
31 register long r7 __asm__("$7"); in __syscall1()
32 register long r2 __asm__("$2"); in __syscall1()
33 __asm__ __volatile__ ( in __syscall1()
43 register long r4 __asm__("$4") = a; in __syscall2()
44 register long r5 __asm__("$5") = b; in __syscall2()
45 register long r7 __asm__("$7"); in __syscall2()
[all …]
/third_party/musl/arch/or1k/
Dsyscall_arch.h10 register unsigned long r11 __asm__("r11") = n; in __syscall0()
11 __asm__ __volatile__ ("l.sys 1" in __syscall0()
22 register unsigned long r11 __asm__("r11") = n; in __syscall1()
23 register unsigned long r3 __asm__("r3") = a; in __syscall1()
24 __asm__ __volatile__ ("l.sys 1" in __syscall1()
35 register unsigned long r11 __asm__("r11") = n; in __syscall2()
36 register unsigned long r3 __asm__("r3") = a; in __syscall2()
37 register unsigned long r4 __asm__("r4") = b; in __syscall2()
38 __asm__ __volatile__ ("l.sys 1" in __syscall2()
49 register unsigned long r11 __asm__("r11") = n; in __syscall3()
[all …]
/third_party/musl/arch/m68k/
Dsyscall_arch.h8 register unsigned long d0 __asm__("d0") = n; in __syscall0()
9 __asm__ __volatile__ ("trap #0" : "+r"(d0) in __syscall0()
17 register unsigned long d0 __asm__("d0") = n; in __syscall1()
18 register unsigned long d1 __asm__("d1") = a; in __syscall1()
19 __asm__ __volatile__ ("trap #0" : "+r"(d0) in __syscall1()
27 register unsigned long d0 __asm__("d0") = n; in __syscall2()
28 register unsigned long d1 __asm__("d1") = a; in __syscall2()
29 register unsigned long d2 __asm__("d2") = b; in __syscall2()
30 __asm__ __volatile__ ("trap #0" : "+r"(d0) in __syscall2()
38 register unsigned long d0 __asm__("d0") = n; in __syscall3()
[all …]
/third_party/musl/arch/sh/
Dsyscall_arch.h11 __asm__ __volatile__ ( \
24 register long r3 __asm__("r3") = n; in __syscall0()
25 register long r0 __asm__("r0"); in __syscall0()
31 register long r3 __asm__("r3") = n; in __syscall1()
32 register long r4 __asm__("r4") = a; in __syscall1()
33 register long r0 __asm__("r0"); in __syscall1()
39 register long r3 __asm__("r3") = n; in __syscall2()
40 register long r4 __asm__("r4") = a; in __syscall2()
41 register long r5 __asm__("r5") = b; in __syscall2()
42 register long r0 __asm__("r0"); in __syscall2()
[all …]
/third_party/musl/arch/aarch64/
Dsyscall_arch.h5 __asm__ __volatile__ ( "svc 0" \
12 register long x8 __asm__("x8") = n; in __syscall0()
13 register long x0 __asm__("x0"); in __syscall0()
19 register long x8 __asm__("x8") = n; in __syscall1()
20 register long x0 __asm__("x0") = a; in __syscall1()
26 register long x8 __asm__("x8") = n; in __syscall2()
27 register long x0 __asm__("x0") = a; in __syscall2()
28 register long x1 __asm__("x1") = b; in __syscall2()
34 register long x8 __asm__("x8") = n; in __syscall3()
35 register long x0 __asm__("x0") = a; in __syscall3()
[all …]
/third_party/musl/arch/riscv64/
Dsyscall_arch.h5 __asm__ __volatile__ ("ecall\n\t" \
11 register long a7 __asm__("a7") = n; in __syscall0()
12 register long a0 __asm__("a0"); in __syscall0()
18 register long a7 __asm__("a7") = n; in __syscall1()
19 register long a0 __asm__("a0") = a; in __syscall1()
25 register long a7 __asm__("a7") = n; in __syscall2()
26 register long a0 __asm__("a0") = a; in __syscall2()
27 register long a1 __asm__("a1") = b; in __syscall2()
33 register long a7 __asm__("a7") = n; in __syscall3()
34 register long a0 __asm__("a0") = a; in __syscall3()
[all …]
/third_party/musl/porting/liteos_m/user/arch/arm/
Dsyscall_arch.h7 __asm__ __volatile__ ( "svc 0" \
16 register long r7 __asm__("r7") = n; in __syscall0()
17 register long r0 __asm__("r0"); in __syscall0()
23 register long r7 __asm__("r7") = n; in __syscall1()
24 register long r0 __asm__("r0") = a; in __syscall1()
30 register long r7 __asm__("r7") = n; in __syscall2()
31 register long r0 __asm__("r0") = a; in __syscall2()
32 register long r1 __asm__("r1") = b; in __syscall2()
38 register long r7 __asm__("r7") = n; in __syscall3()
39 register long r0 __asm__("r0") = a; in __syscall3()
[all …]
/third_party/musl/arch/s390x/
Dsyscall_arch.h5 __asm__ __volatile__ ("svc 0\n" \
12 register long r1 __asm__("r1") = n; in __syscall0()
13 register long r2 __asm__("r2"); in __syscall0()
19 register long r1 __asm__("r1") = n; in __syscall1()
20 register long r2 __asm__("r2") = a; in __syscall1()
26 register long r1 __asm__("r1") = n; in __syscall2()
27 register long r2 __asm__("r2") = a; in __syscall2()
28 register long r3 __asm__("r3") = b; in __syscall2()
34 register long r1 __asm__("r1") = n; in __syscall3()
35 register long r2 __asm__("r2") = a; in __syscall3()
[all …]
/third_party/musl/porting/linux/user/arch/aarch64/
Dsyscall_arch.h7 __asm__ __volatile__ ( "svc 0" \
17 register long x8 __asm__("x8") = n; in __syscall0()
18 register long x0 __asm__("x0"); in __syscall0()
27 register long x8 __asm__("x8") = n; in __syscall1()
28 register long x0 __asm__("x0") = a; in __syscall1()
37 register long x8 __asm__("x8") = n; in __syscall2()
38 register long x0 __asm__("x0") = a; in __syscall2()
39 register long x1 __asm__("x1") = b; in __syscall2()
48 register long x8 __asm__("x8") = n; in __syscall3()
49 register long x0 __asm__("x0") = a; in __syscall3()
[all …]
/third_party/musl/arch/arm/
Dsyscall_arch.h12 __asm__ __volatile__ ( "mov %1,r7 ; mov r7,%2 ; svc 0 ; mov r7,%1" \
19 #define __ASM____R7__ __asm__("r7")
21 __asm__ __volatile__ ( "svc 0" \
40 register long r0 __asm__("r0"); in __syscall0()
47 register long r0 __asm__("r0") = a; in __syscall1()
54 register long r0 __asm__("r0") = a; in __syscall2()
55 register long r1 __asm__("r1") = b; in __syscall2()
62 register long r0 __asm__("r0") = a; in __syscall3()
63 register long r1 __asm__("r1") = b; in __syscall3()
64 register long r2 __asm__("r2") = c; in __syscall3()
[all …]
/third_party/musl/porting/liteos_a/user/arch/arm/
Dsyscall_arch.h12 __asm__ __volatile__ ( "mov %1,r7 ; mov r7,%2 ; svc 0 ; mov r7,%1" \
19 #define __ASM____R7__ __asm__("r7")
21 __asm__ __volatile__ ( "svc 0" \
40 register long r0 __asm__("r0"); in __syscall0()
47 register long r0 __asm__("r0") = a; in __syscall1()
54 register long r0 __asm__("r0") = a; in __syscall2()
55 register long r1 __asm__("r1") = b; in __syscall2()
62 register long r0 __asm__("r0") = a; in __syscall3()
63 register long r1 __asm__("r1") = b; in __syscall3()
64 register long r2 __asm__("r2") = c; in __syscall3()
[all …]
/third_party/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 …]
/third_party/ffmpeg/libswscale/x86/
Drgb2rgb_template.c75 __asm__ volatile(PREFETCH" %0"::"m"(*s):"memory"); in RENAME()
77 __asm__ volatile("movq %0, %%mm7"::"m"(mask32a):"memory"); in RENAME()
79 __asm__ volatile( in RENAME()
102 __asm__ volatile(SFENCE:::"memory"); in RENAME()
103 __asm__ volatile(EMMS:::"memory"); in RENAME()
153 __asm__ volatile(PREFETCH" %0"::"m"(*s):"memory"); in RENAME()
156 __asm__ volatile( in RENAME()
173 __asm__ volatile(SFENCE:::"memory"); in RENAME()
174 __asm__ volatile(EMMS:::"memory"); in RENAME()
196 __asm__ volatile(PREFETCH" %0"::"m"(*s)); in RENAME()
[all …]
/third_party/ffmpeg/libavcodec/alpha/
Dasm.h103 #define prefetch(p) __asm__ volatile("ldl $31,%0" : : "m"(*(const char *) (p)) : "memory")
104 #define prefetch_en(p) __asm__ volatile("ldq $31,%0" : : "m"(*(const char *) (p)) : "memory")
105 #define prefetch_m(p) __asm__ volatile("lds $f31,%0" : : "m"(*(const char *) (p)) : "memory")
106 #define prefetch_men(p) __asm__ volatile("ldt $f31,%0" : : "m"(*(const char *) (p)) : "memory")
107 #define cmpbge(a, b) ({ uint64_t __r; __asm__ ("cmpbge %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
108 #define extql(a, b) ({ uint64_t __r; __asm__ ("extql %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
109 #define extwl(a, b) ({ uint64_t __r; __asm__ ("extwl %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
110 #define extqh(a, b) ({ uint64_t __r; __asm__ ("extqh %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
111 #define zap(a, b) ({ uint64_t __r; __asm__ ("zap %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
112 #define zapnot(a, b) ({ uint64_t __r; __asm__ ("zapnot %r1,%2,%0" : "=r" (__r) : "rJ" (a), "rI" …
[all …]
/third_party/musl/arch/x32/
Datomic_arch.h4 __asm__ __volatile__ ( in a_cas()
13 __asm__ __volatile__( in a_swap()
22 __asm__ __volatile__( in a_fetch_add()
31 __asm__ __volatile__( in a_and()
39 __asm__ __volatile__( in a_or()
47 __asm__ __volatile( in a_and_64()
55 __asm__ __volatile__( in a_or_64()
63 __asm__ __volatile__( in a_inc()
71 __asm__ __volatile__( in a_dec()
79 __asm__ __volatile__( in a_store()
[all …]
/third_party/musl/arch/x86_64/
Datomic_arch.h4 __asm__ __volatile__ ( in a_cas()
13 __asm__( "lock ; cmpxchg %3, %1" in a_cas_p()
22 __asm__ __volatile__( in a_swap()
31 __asm__ __volatile__( in a_fetch_add()
40 __asm__ __volatile__( in a_and()
48 __asm__ __volatile__( in a_or()
56 __asm__ __volatile( in a_and_64()
64 __asm__ __volatile__( in a_or_64()
72 __asm__ __volatile__( in a_inc()
80 __asm__ __volatile__( in a_dec()
[all …]
/third_party/musl/arch/i386/
Datomic_arch.h4 __asm__ __volatile__ ( in a_cas()
13 __asm__ __volatile__( in a_swap()
22 __asm__ __volatile__( in a_fetch_add()
31 __asm__ __volatile__( in a_and()
39 __asm__ __volatile__( in a_or()
47 __asm__ __volatile__( in a_inc()
55 __asm__ __volatile__( in a_dec()
63 __asm__ __volatile__( in a_store()
71 __asm__ __volatile__( "" : : : "memory" ); in a_barrier()
77 __asm__ __volatile__( "pause" : : : "memory" ); in a_spin()
[all …]
/third_party/musl/arch/x86_64/bits/
Dio.h3 __asm__ volatile ("outb %0,%1" : : "a" (__val), "dN" (__port)); in outb()
8 __asm__ volatile ("outw %0,%1" : : "a" (__val), "dN" (__port)); in outw()
13 __asm__ volatile ("outl %0,%1" : : "a" (__val), "dN" (__port)); in outl()
19 __asm__ volatile ("inb %1,%0" : "=a" (__val) : "dN" (__port)); in inb()
26 __asm__ volatile ("inw %1,%0" : "=a" (__val) : "dN" (__port)); in inw()
33 __asm__ volatile ("inl %1,%0" : "=a" (__val) : "dN" (__port)); in inl()
39 __asm__ volatile ("cld; rep; outsb" in outsb()
46 __asm__ volatile ("cld; rep; outsw" in outsw()
53 __asm__ volatile ("cld; rep; outsl" in outsl()
60 __asm__ volatile ("cld; rep; insb" in insb()
[all …]
/third_party/musl/arch/i386/bits/
Dio.h3 __asm__ volatile ("outb %0,%1" : : "a" (__val), "dN" (__port)); in outb()
8 __asm__ volatile ("outw %0,%1" : : "a" (__val), "dN" (__port)); in outw()
13 __asm__ volatile ("outl %0,%1" : : "a" (__val), "dN" (__port)); in outl()
19 __asm__ volatile ("inb %1,%0" : "=a" (__val) : "dN" (__port)); in inb()
26 __asm__ volatile ("inw %1,%0" : "=a" (__val) : "dN" (__port)); in inw()
33 __asm__ volatile ("inl %1,%0" : "=a" (__val) : "dN" (__port)); in inl()
39 __asm__ volatile ("cld; rep; outsb" in outsb()
46 __asm__ volatile ("cld; rep; outsw" in outsw()
53 __asm__ volatile ("cld; rep; outsl" in outsl()
60 __asm__ volatile ("cld; rep; insb" in insb()
[all …]

12345678910>>...26