| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_syscall_linux_hexagon.inc | 30 __asm__ __volatile__("trap0(#1)" : "=r"(r0) : __VA_ARGS__ : "memory"); \ 37 register u32 r6 __asm__("r6") = n; 38 register u32 r0 __asm__("r0"); 45 register u32 r6 __asm__("r6") = n; 46 register u32 r0 __asm__("r0") = a; 54 register u32 r6 __asm__("r6") = n; 55 register u32 r0 __asm__("r0") = a; 56 register u32 r1 __asm__("r1") = b; 64 register u32 r6 __asm__("r6") = n; 65 register u32 r0 __asm__("r0") = a; [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | sntrup761.c | 64 __asm__ ("sarw $15,%0" : "+r"(crypto_int16_x) : : "cc"); in crypto_int16_negative_mask() 68 __asm__ ("sbfx %w0,%w1,15,1" : "=r"(crypto_int16_y) : "r"(crypto_int16_x) : ); in crypto_int16_negative_mask() 82 __asm__ ("shrw $15,%0" : "+r"(crypto_int16_x) : : "cc"); in crypto_int16_unsigned_topbit_01() 86 __asm__ ("ubfx %w0,%w1,15,1" : "=r"(crypto_int16_y) : "r"(crypto_int16_x) : ); in crypto_int16_unsigned_topbit_01() 118 __asm__ ("andw $1,%0" : "+r"(crypto_int16_x) : : "cc"); in crypto_int16_bottombit_mask() 122 __asm__ ("sbfx %w0,%w1,0,1" : "=r"(crypto_int16_y) : "r"(crypto_int16_x) : ); in crypto_int16_bottombit_mask() 134 __asm__ ("andw $1,%0" : "+r"(crypto_int16_x) : : "cc"); in crypto_int16_bottombit_01() 138 __asm__ ("ubfx %w0,%w1,0,1" : "=r"(crypto_int16_y) : "r"(crypto_int16_x) : ); in crypto_int16_bottombit_01() 150 __asm__ ("sarw %%cl,%0" : "+r"(crypto_int16_x) : "c"(crypto_int16_s) : "cc"); in crypto_int16_bitinrangepublicpos_mask() 152 __asm__ ("sxth %w0,%w0\n asr %w0,%w0,%w1" : "+&r"(crypto_int16_x) : "r"(crypto_int16_s) : ); in crypto_int16_bitinrangepublicpos_mask() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | crtbegin.c | 74 __asm__(".pushsection .init_array,\"aw\",@init_array\n\t" 85 __asm__(".pushsection .init,\"ax\",@progbits\n\t" 89 __asm__(".pushsection .init,\"ax\",%progbits\n\t" 93 __asm__(".pushsection .init,\"ax\",%progbits\n\t" 97 __asm__(".pushsection .init,\"ax\",@progbits\n\t" 101 __asm__(".pushsection .init,\"ax\",@progbits\n\t" 106 __asm__(".pushsection .init,\"ax\",@progbits\n\t" 156 __asm__(".pushsection .fini_array,\"aw\",@fini_array\n\t" 167 __asm__(".pushsection .fini,\"ax\",@progbits\n\t" 171 __asm__(".pushsection .fini,\"ax\",%progbits\n\t" [all …]
|
| H A D | clear_cache.c | 98 __asm__ volatile("ibar 0"); in __clear_cache() 103 __asm__ volatile("rdhwr %0, $1" : "=r"(synci_step)); in __clear_cache() 107 __asm__ volatile("synci 0(%0)" : : "r"(p)); in __clear_cache() 110 __asm__ volatile(".set noat\n" in __clear_cache() 171 __asm__ volatile("dcbf 0, %0" : : "r"(line)); in __clear_cache() 172 __asm__ volatile("sync"); in __clear_cache() 175 __asm__ volatile("icbi 0, %0" : : "r"(line)); in __clear_cache() 176 __asm__ volatile("isync"); in __clear_cache() 186 __asm__ volatile("flush %0" : : "r"(dword)); in __clear_cache() 206 __asm__ volatile("fencec 2"); in __clear_cache()
|
| /freebsd/sys/contrib/ck/include/gcc/aarch64/ |
| H A D | ck_pr_lse.h | 42 register uint64_t x0 __asm__ ("x0") = compare[0]; in ck_pr_cas_64_2_value() 43 register uint64_t x1 __asm__ ("x1") = compare[1]; in ck_pr_cas_64_2_value() 44 register uint64_t x2 __asm__ ("x2") = set[0]; in ck_pr_cas_64_2_value() 45 register uint64_t x3 __asm__ ("x3") = set[1]; in ck_pr_cas_64_2_value() 47 __asm__ __volatile__("casp %0, %1, %4, %5, [%6]\n" in ck_pr_cas_64_2_value() 73 register uint64_t x0 __asm__ ("x0") = compare[0]; in ck_pr_cas_64_2() 74 register uint64_t x1 __asm__ ("x1") = compare[1]; in ck_pr_cas_64_2() 75 register uint64_t x2 __asm__ ("x2") = set[0]; in ck_pr_cas_64_2() 76 register uint64_t x3 __asm__ ("x3") = set[1]; in ck_pr_cas_64_2() 78 __asm__ __volatile__("casp %0, %1, %2, %3, [%4]\n" in ck_pr_cas_64_2() [all …]
|
| /freebsd/sys/arm/include/ |
| H A D | profile.h | 60 __asm__(".text"); \ 61 __asm__(".align 2"); \ 62 __asm__(".type __mcount ,%function"); \ 63 __asm__(".global __mcount"); \ 64 __asm__("__mcount:"); \ 68 __asm__("stmfd sp!, {r0-r3, ip, lr}"); \ 75 __asm__("mov r0, ip"); \ 79 __asm__("mov r1, lr"); \ 83 __asm__("bl mcount"); \ 87 __asm__("ldmfd sp!, {r0-r3, lr}"); \ [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/riscv/ |
| H A D | syscall.h | 16 register long a7 __asm__("a7") = number; \ 17 register long a0 __asm__("a0"); 19 register long a7 __asm__("a7") = number; \ 20 register long a0 __asm__("a0") = arg1; 21 #define REGISTER_DECL_2 REGISTER_DECL_1 register long a1 __asm__("a1") = arg2; 24 register long a2 __asm__("a2") = arg3; 27 register long a3 __asm__("a3") = arg4; 30 register long a4 __asm__("a4") = arg5; 33 register long a5 __asm__("a5") = arg6;
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/darwin/aarch64/ |
| H A D | syscall.h | 16 register long x16 __asm__("x16") = number; \ 17 register long x0 __asm__("x0"); 19 register long x16 __asm__("x16") = number; \ 20 register long x0 __asm__("x0") = arg1; 23 register long x1 __asm__("x1") = arg2; 26 register long x2 __asm__("x2") = arg3; 29 register long x3 __asm__("x3") = arg4; 32 register long x4 __asm__("x4") = arg5; 35 register long x5 __asm__("x5") = arg6;
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/aarch64/ |
| H A D | syscall.h | 16 register long x8 __asm__("x8") = number; \ 17 register long x0 __asm__("x0"); 19 register long x8 __asm__("x8") = number; \ 20 register long x0 __asm__("x0") = arg1; 21 #define REGISTER_DECL_2 REGISTER_DECL_1 register long x1 __asm__("x1") = arg2; 24 register long x2 __asm__("x2") = arg3; 27 register long x3 __asm__("x3") = arg4; 30 register long x4 __asm__("x4") = arg5; 33 register long x5 __asm__("x5") = arg6;
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | vm_reserv_populate.sh | 106 __asm__ __volatile__("" ::: "memory"); 108 __asm__ __volatile__("pause"); 109 __asm__ __volatile__("" ::: "memory"); 127 __asm__ __volatile__("" ::: "memory"); 129 __asm__ __volatile__("" ::: "memory"); 131 __asm__ __volatile__("" ::: "memory"); 134 __asm__ __volatile__("" ::: "memory"); 137 __asm__ __volatile__("" ::: "memory"); 139 __asm__ __volatile__("" ::: "memory"); 143 __asm__ __volatile__( [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | __clang_cuda_device_functions.h | 37 __DEVICE__ void __brkpt() { __asm__ __volatile__("brkpt;"); } in __brkpt() 41 __asm__ __volatile__("brkpt;"); in __brkpt() 512 #define __prof_trigger(__a) __asm__ __volatile__("pmevent \t%0;" ::"i"(__a)) 531 __DEVICE__ void __trap(void) { __asm__ __volatile__("trap;"); } in __trap() 1070 __asm__("vabsdiff2.s32.s32.s32 %0,%1,%2,%3;" in __vabs2() 1077 __asm__("vabsdiff4.s32.s32.s32 %0,%1,%2,%3;" in __vabs4() 1084 __asm__("vabsdiff2.s32.s32.s32 %0,%1,%2,%3;" in __vabsdiffs2() 1092 __asm__("vabsdiff4.s32.s32.s32 %0,%1,%2,%3;" in __vabsdiffs4() 1099 __asm__("vabsdiff2.u32.u32.u32 %0,%1,%2,%3;" in __vabsdiffu2() 1106 __asm__("vabsdiff4.u32.u32.u32 %0,%1,%2,%3;" in __vabsdiffu4() [all …]
|
| H A D | intrin.h | 243 __asm__ __volatile__("rep movsb" in __movsb() 248 __asm__ __volatile__("xchg {%%esi, %1|%1, esi}\n" in __movsb() 260 __asm__ __volatile__("rep movs{l|d}" in __movsd() 265 __asm__ __volatile__("xchg {%%esi, %1|%1, esi}\n" in __movsd() 277 __asm__ __volatile__("rep movsw" in __movsw() 282 __asm__ __volatile__("xchg {%%esi, %1|%1, esi}\n" in __movsw() 293 __asm__ __volatile__("rep stos{l|d}" in __stosd() 301 __asm__ __volatile__("rep stosw" in __stosw() 310 __asm__ __volatile__("rep movsq" in __movsq() 318 __asm__ __volatile__("rep stosq" : "+D"(__dst), "+c"(__n) : "a"(__x) in __stosq() [all …]
|
| /freebsd/sys/contrib/ck/include/gcc/ppc64/ |
| H A D | ck_pr.h | 57 __asm__ __volatile__("or 1, 1, 1;" in ck_pr_stall() 66 __asm__ __volatile__(I ::: "memory"); \ 96 __asm__ __volatile__(I "%U1%X1 %0, %1" \ 126 __asm__ __volatile__(I "%U0%X0 %1, %0" \ 157 __asm__ __volatile__("1:" in ck_pr_cas_64_value() 179 __asm__ __volatile__("1:" in ck_pr_cas_ptr_value() 201 __asm__ __volatile__("1:" in ck_pr_cas_64() 222 __asm__ __volatile__("1:" in ck_pr_cas_ptr() 243 __asm__ __volatile__("1:" \ 262 __asm__ __volatile__("1:" \ [all …]
|
| /freebsd/sys/contrib/ck/include/gcc/x86/ |
| H A D | ck_pr.h | 55 __asm__ __volatile__("pause" ::: "memory"); in ck_pr_stall() 65 __asm__ __volatile__("" ::: "memory"); \ 74 __asm__ __volatile__(I ::: "memory"); \ 115 __asm__ __volatile__(I " %0, %1" \ 142 __asm__ __volatile__(I " %1, %0" \ 167 __asm__ __volatile__(I " %1, %0" \ 195 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \ 228 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0" \ 240 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0; setz %1" \ 281 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \ [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/loongarch/ |
| H A D | fp_mode.c | 24 __asm__ __volatile__("movfcsr2gr %0, $fcsr0" : "=r" (fcsr)); in __fe_getround() 26 __asm__ __volatile__("movfcsr2gr %0, $r0" : "=r" (fcsr)); in __fe_getround() 49 __asm__ __volatile__("movfcsr2gr %0, $fcsr0" : "=r" (fcsr)); in __fe_raise_inexact() 50 __asm__ __volatile__( in __fe_raise_inexact() 53 __asm__ __volatile__("movfcsr2gr %0, $r0" : "=r" (fcsr)); in __fe_raise_inexact() 54 __asm__ __volatile__( in __fe_raise_inexact()
|
| /freebsd/sys/contrib/ck/include/gcc/x86_64/ |
| H A D | ck_pr.h | 67 __asm__ __volatile__("pause" ::: "memory"); in ck_pr_stall() 75 __asm__ __volatile__(I ::: "memory"); \ 128 __asm__ __volatile__("prefetchw (%0)" in ck_pr_rfo() 144 __asm__ __volatile__(I " %0, %1" \ 178 __asm__ __volatile__(I " %1, %0" \ 206 __asm__ __volatile__("movq %%rdx, %%rcx;" in ck_pr_load_64_2() 249 __asm__ __volatile__(I " %1, %0" \ 260 __asm__ __volatile__(I " %1, %0" \ 293 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %1, %0" \ 327 __asm__ __volatile__(CK_PR_LOCK_PREFIX I " %0" \ [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/arm/ |
| H A D | syscall.h | 36 register long r0 __asm__("r0"); 39 register long r0 __asm__("r0") = arg1; 42 register long r1 __asm__("r1") = arg2; 45 register long r2 __asm__("r2") = arg3; 48 register long r3 __asm__("r3") = arg4; 51 register long r4 __asm__("r4") = arg5; 54 register long r5 __asm__("r5") = arg6;
|
| /freebsd/sys/amd64/include/xen/ |
| H A D | hypercall.h | 60 __asm__ volatile ( \ 72 __asm__ volatile ( \ 84 __asm__ volatile ( \ 96 __asm__ volatile ( \ 110 register long __arg4 __asm__("r10") = (long)(a4); \ 111 __asm__ volatile ( \ 125 register long __arg4 __asm__("r10") = (long)(a4); \ 126 register long __arg5 __asm__("r8") = (long)(a5); \ 127 __asm__ volatile ( \ 142 register long __arg4 __asm__("r10") = (long)(a4); in privcmd_hypercall() [all …]
|
| /freebsd/sys/contrib/ck/include/gcc/sparcv9/ |
| H A D | ck_pr.h | 55 __asm__ __volatile__("membar #LoadLoad" ::: "memory"); in ck_pr_stall() 63 __asm__ __volatile__(I ::: "memory"); \ 93 __asm__ __volatile__(I " [%1], %0" \ 117 __asm__ __volatile__(I " %0, [%1]" \ 158 __asm__ __volatile__(CK_PR_INS_CASX " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" in ck_pr_cas_64_value() 172 __asm__ __volatile__(CK_PR_INS_CASX " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" in ck_pr_cas_64() 199 __asm__ __volatile__(CK_PR_INS_CAS " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" \ 210 __asm__ __volatile__(CK_PR_INS_CAS " [%1] " CK_PR_ASI_ATOMIC ", %2, %0" \ 229 __asm__ __volatile__(CK_PR_INS_SWAP " [%1] " CK_PR_ASI_ATOMIC ", %0" \
|
| /freebsd/sys/i386/linux/ |
| H A D | linux_vdso_gtod.c | 61 __asm__ __volatile__ in write() 76 __asm__ __volatile__ in __vdso_clock_gettime_fallback() 91 __asm__ __volatile__ in __vdso_clock_gettime64_fallback() 106 __asm__ __volatile__ in __vdso_gettimeofday_fallback() 121 __asm__ __volatile__ in __vdso_clock_getres_fallback() 136 __asm__ __volatile__ in __vdso_getcpu_fallback() 151 __asm__ __volatile__ in __vdso_time_fallback()
|
| /freebsd/sys/amd64/linux32/ |
| H A D | linux32_vdso_gtod.c | 61 __asm__ __volatile__ in write() 76 __asm__ __volatile__ in __vdso_clock_gettime_fallback() 91 __asm__ __volatile__ in __vdso_clock_gettime64_fallback() 106 __asm__ __volatile__ in __vdso_gettimeofday_fallback() 121 __asm__ __volatile__ in __vdso_clock_getres_fallback() 136 __asm__ __volatile__ in __vdso_getcpu_fallback() 151 __asm__ __volatile__ in __vdso_time_fallback()
|
| /freebsd/sys/contrib/ck/include/gcc/ppc/ |
| H A D | ck_pr.h | 58 __asm__ __volatile__("or 1, 1, 1;" in ck_pr_stall() 67 __asm__ __volatile__(I ::: "memory"); \ 101 __asm__ __volatile__(I "%U1%X1 %0, %1" \ in CK_PR_FENCE() 127 __asm__ __volatile__(I "%U0%X0 %1, %0" \ 154 __asm__ __volatile__("1:" \ 173 __asm__ __volatile__("1:" \ 202 __asm__ __volatile__("1:" \ 225 __asm__ __volatile__("1:" \ 259 __asm__ __volatile__("1:" \ 296 __asm__ __volatile__("1:" [all …]
|
| /freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/x86_64/ |
| H A D | syscall.h | 59 register long r10 __asm__("r10") = __arg4; in syscall_impl() 71 register long r10 __asm__("r10") = __arg4; in syscall_impl() 72 register long r8 __asm__("r8") = __arg5; in syscall_impl() 85 register long r10 __asm__("r10") = __arg4; in syscall_impl() 86 register long r8 __asm__("r8") = __arg5; in syscall_impl() 87 register long r9 __asm__("r9") = __arg6; in syscall_impl()
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | cpu.h | 62 __asm__( in ZSTD_cpuid() 71 __asm__( in ZSTD_cpuid() 80 __asm__( in ZSTD_cpuid() 96 __asm__( in ZSTD_cpuid() 105 __asm__( in ZSTD_cpuid() 113 __asm__( in ZSTD_cpuid() 124 __asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "ecx", "edx"); in ZSTD_cpuid() 127 __asm__("cpuid" : "=a"(f1a), "=c"(f1c), "=d"(f1d) : "a"(1) : "ebx"); in ZSTD_cpuid() 131 __asm__("cpuid" in ZSTD_cpuid()
|
| /freebsd/sys/contrib/zstd/lib/common/ |
| H A D | cpu.h | 61 __asm__( in ZSTD_cpuid() 70 __asm__( in ZSTD_cpuid() 79 __asm__( in ZSTD_cpuid() 95 __asm__( in ZSTD_cpuid() 104 __asm__( in ZSTD_cpuid() 112 __asm__( in ZSTD_cpuid() 123 __asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "ecx", "edx"); in ZSTD_cpuid() 126 __asm__("cpuid" : "=a"(f1a), "=c"(f1c), "=d"(f1d) : "a"(1) : "ebx"); in ZSTD_cpuid() 130 __asm__("cpuid" in ZSTD_cpuid()
|