| /f-stack/freebsd/i386/include/ |
| H A D | cpufunc.h | 62 __asm __volatile("int $3"); in breakpoint() 101 __asm __volatile("clts"); in clts() 115 __asm __volatile("cpuid" in do_cpuid() 123 __asm __volatile("cpuid" in cpuid_count() 131 __asm __volatile( in do_cpuid() 143 __asm __volatile( in cpuid_count() 157 __asm __volatile("sti"); in enable_intr() 164 __asm __volatile("monitor" in cpu_monitor() 241 __asm __volatile("hlt"); in halt() 292 __asm __volatile("invd"); in invd() [all …]
|
| H A D | ieeefp.h | 113 #define __fldcw(addr) __asm __volatile("fldcw %0" : : "m" (*(addr))) 114 #define __fldenv(addr) __asm __volatile("fldenv %0" : : "m" (*(addr))) 115 #define __fnclex() __asm __volatile("fnclex") 116 #define __fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr))) 117 #define __fnstenv(addr) __asm __volatile("fnstenv %0" : "=m" (*(addr))) 118 #define __fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr))) 119 #define __ldmxcsr(addr) __asm __volatile("ldmxcsr %0" : : "m" (*(addr))) 120 #define __stmxcsr(addr) __asm __volatile("stmxcsr %0" : "=m" (*(addr)))
|
| H A D | pcpu.h | 122 __asm __volatile("movl %%fs:%1,%0; addl %2,%0" \ 141 __asm __volatile("mov %%fs:%1,%0" \ 165 __asm __volatile("add %1,%%fs:%0" \ 181 __asm __volatile("incb %%fs:%0" \ 185 __asm __volatile("incw %%fs:%0" \ 189 __asm __volatile("incl %%fs:%0" \ 208 __asm __volatile("mov %1,%%fs:%0" \ 219 __asm __volatile("movl %%fs:%1,%0" \
|
| H A D | atomic.h | 242 __asm __volatile( in atomic_fetchadd_int() 257 __asm __volatile( in atomic_testandset_int() 274 __asm __volatile( in atomic_testandclear_int() 386 __asm __volatile( in atomic_cmpset_64_i386() 427 __asm __volatile( in atomic_load_acq_64_i386() 446 __asm __volatile( in atomic_store_rel_64_i386() 465 __asm __volatile( in atomic_swap_64_i386() 486 __asm __volatile( in atomic_cmpset_64_i586() 504 __asm __volatile( in atomic_fcmpset_64_i586() 522 __asm __volatile( in atomic_load_acq_64_i586() [all …]
|
| /f-stack/freebsd/amd64/include/ |
| H A D | cpufunc.h | 65 __asm __volatile("int $3"); in breakpoint() 101 __asm __volatile("clts"); in clts() 113 __asm __volatile("cpuid" in do_cpuid() 121 __asm __volatile("cpuid" in cpuid_count() 129 __asm __volatile("sti"); in enable_intr() 172 __asm __volatile("hlt"); in halt() 196 __asm __volatile("rep; insb" in insb() 223 __asm __volatile("invd"); in invd() 310 __asm __volatile("pause"); in ia32_pause() 388 __asm __volatile("wbinvd"); in wbinvd() [all …]
|
| H A D | pcpu.h | 152 __asm __volatile("mov %%gs:%1,%0" \ 176 __asm __volatile("add %1,%%gs:%0" \ 193 __asm __volatile("incb %%gs:%0" \ 197 __asm __volatile("incw %%gs:%0" \ 201 __asm __volatile("incl %%gs:%0" \ 205 __asm __volatile("incq %%gs:%0" \ 224 __asm __volatile("mov %1,%%gs:%0" \ 235 __asm __volatile("movq %%gs:%1,%0" \ 265 __asm __volatile("movl\t%1,%%gs:(%0)" \ 269 __asm __volatile("movq\t%1,%%gs:(%0)" \ [all …]
|
| H A D | atomic.h | 164 __asm __volatile(MPLOCKED OP \ 201 __asm __volatile( \ 218 __asm __volatile( \ 243 __asm __volatile( in atomic_fetchadd_int() 261 __asm __volatile( in atomic_fetchadd_long() 276 __asm __volatile( in atomic_testandset_int() 292 __asm __volatile( in atomic_testandset_long() 308 __asm __volatile( in atomic_testandclear_int() 324 __asm __volatile( in atomic_testandclear_long() 475 __asm __volatile( in atomic_swap_int() [all …]
|
| H A D | ieeefp.h | 131 #define __fldcw(addr) __asm __volatile("fldcw %0" : : "m" (*(addr))) 132 #define __fldenv(addr) __asm __volatile("fldenv %0" : : "m" (*(addr))) 133 #define __fnclex() __asm __volatile("fnclex") 134 #define __fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr))) 135 #define __fnstenv(addr) __asm __volatile("fnstenv %0" : "=m" (*(addr))) 136 #define __fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr))) 137 #define __ldmxcsr(addr) __asm __volatile("ldmxcsr %0" : : "m" (*(addr))) 138 #define __stmxcsr(addr) __asm __volatile("stmxcsr %0" : "=m" (*(addr)))
|
| H A D | pmc_mdep.h | 122 __asm __volatile("movq %%rbp,%0" : "=r" ((TF)->tf_rbp)); \ 123 __asm __volatile("movq %%rsp,%0" : "=r" ((TF)->tf_rsp)); \ 124 __asm __volatile("call 1f \n\t1: pop %0" : "=r"((TF)->tf_rip)); \
|
| /f-stack/freebsd/mips/include/ |
| H A D | atomic.h | 98 __asm __volatile ( in atomic_set_32() 115 __asm __volatile ( in atomic_clear_32() 130 __asm __volatile ( in atomic_add_32() 145 __asm __volatile ( in atomic_subtract_32() 160 __asm __volatile ( in atomic_readandclear_32() 177 __asm __volatile ( in atomic_readandset_32() 195 __asm __volatile ( in atomic_set_64() 213 __asm __volatile ( in atomic_clear_64() 229 __asm __volatile ( in atomic_add_64() 245 __asm __volatile ( in atomic_subtract_64() [all …]
|
| H A D | cache_r4k.h | 71 __asm __volatile( \ 87 __asm __volatile( \ 106 __asm __volatile( \ 125 __asm __volatile( \ 145 __asm __volatile( \ 177 __asm __volatile( \ 209 __asm __volatile( \ 241 __asm __volatile( \ 273 __asm __volatile( \ 305 __asm __volatile( \ [all …]
|
| H A D | cpufunc.h | 77 __asm __volatile (".set noreorder\n\t" in mips_barrier() 94 __asm __volatile (__XSTRING(COP0_SYNC)); in mips_cp0_sync() 101 __asm __volatile (".set noreorder\n\t" in mips_wbflush() 106 __asm __volatile ("sync" : : : "memory"); in mips_wbflush() 114 __asm __volatile ("break"); in breakpoint() 129 __asm __volatile ("dmfc0 %[v0], $"__XSTRING(r)";" \ 137 __asm __volatile ("dmtc0 %[a0], $"__XSTRING(r)";" \ 194 __asm __volatile ("mfc0 %[v0], $"__XSTRING(r)";" \ 202 __asm __volatile ("mtc0 %[a0], $"__XSTRING(r)";" \ 216 __asm __volatile ("mfc0 %[v0], $"__XSTRING(r)", "__XSTRING(s)";" \ [all …]
|
| /f-stack/freebsd/arm/include/ |
| H A D | atomic-v6.h | 97 __asm __volatile( in atomic_add_32() 114 __asm __volatile( in atomic_add_64() 146 __asm __volatile( in ATOMIC_ACQ_REL_LONG() 163 __asm __volatile( in atomic_clear_64() 575 __asm __volatile( in atomic_fetchadd_32() 593 __asm __volatile( in atomic_fetchadd_64() 638 __asm __volatile( in atomic_load_64() 672 __asm __volatile( in atomic_readandclear_32() 690 __asm __volatile( in atomic_readandclear_64() 719 __asm __volatile( in atomic_set_32() [all …]
|
| H A D | pcpu.h | 88 __asm __volatile("mrc p15, 0, %0, c0, c0, 5" : "=r" (id)); \ 98 __asm __volatile("mrc p15, 0, %0, c13, c0, 4" : "=r" (ret)); in get_curthread() 106 __asm __volatile("mcr p15, 0, %0, c13, c0, 4" : : "r" (td)); in set_curthread() 115 __asm __volatile("mrc p15, 0, %0, c13, c0, 2" : "=r" (tls)); in get_tls() 128 __asm __volatile( in set_tls()
|
| /f-stack/freebsd/arm64/include/ |
| H A D | iodev.h | 38 __asm __volatile("ldrb %w0, [%1]" : "=&r" (val) : "r"(a)); \ 45 __asm __volatile("ldrh %w0, [%1]" : "=&r" (val) : "r"(a)); \ 52 __asm __volatile("ldr %w0, [%1]" : "=&r" (val) : "r"(a)); \ 57 __asm __volatile("strb %w0, [%1]" :: "r" (v), "r"(a)) 60 __asm __volatile("strh %w0, [%1]" :: "r" (v), "r"(a)) 63 __asm __volatile("str %w0, [%1]" :: "r" (v), "r"(a))
|
| H A D | cpufunc.h | 107 __asm __volatile( in dbg_disable() 119 __asm __volatile("msr daifclr, #8"); in dbg_enable() 128 __asm __volatile( in intr_disable() 147 __asm __volatile("msr daifclr, #2"); in intr_enable() 178 __asm __volatile("clrex" : : : "memory"); in clrex() 185 __asm __volatile( in set_ttbr0() 196 __asm __volatile( in invalidate_icache() 206 __asm __volatile( in invalidate_local_icache()
|
| H A D | atomic.h | 85 __asm __volatile( \ 101 __asm __volatile( \ 155 __asm __volatile( \ 177 __asm __volatile( \ 207 __asm __volatile( \ 229 __asm __volatile( \ 279 __asm __volatile( \ 296 __asm __volatile( \ 333 __asm __volatile( \ 349 __asm __volatile( \ [all …]
|
| H A D | endian.h | 67 __asm __volatile("rev %0, %1\n" in __bswap64() 78 __asm __volatile("rev32 %x0, %x1\n" in __bswap32_var() 89 __asm __volatile("rev16 %w0, %w1\n" in __bswap16_var()
|
| /f-stack/freebsd/amd64/vmm/intel/ |
| H A D | vmx_cpufunc.h | 65 __asm __volatile("vmxon %[addr];" in vmxon() 82 __asm __volatile("vmclear %[addr];" in vmclear() 94 __asm __volatile("vmxoff"); in vmxoff() 101 __asm __volatile("vmptrst %[addr]" :: [addr]"m" (*addr) : "memory"); in vmptrst() 111 __asm __volatile("vmptrld %[addr];" in vmptrld() 124 __asm __volatile("vmwrite %[val], %[reg];" in vmwrite() 138 __asm __volatile("vmread %[r], %[addr];" in vmread() 188 __asm __volatile("invvpid %[desc], %[type];" in invvpid() 211 __asm __volatile("invept %[desc], %[type];" in invept()
|
| /f-stack/freebsd/mips/malta/ |
| H A D | malta_mp.c | 71 __asm __volatile( in evpe() 84 __asm __volatile( in ehb() 92 __asm __volatile( \ 105 __asm __volatile( \ 118 __asm __volatile( \ 129 __asm __volatile( \
|
| /f-stack/freebsd/arm/arm/ |
| H A D | vfp.c | 77 __asm __volatile(" .fpu vfpv2\n .fpu vfpv3\n" \ 82 __asm __volatile(" .fpu vfpv2\n .fpu vfpv3\n" \ 91 __asm __volatile("mrc p15, 0, %0, c1, c0, 2" : "=r" (val) : : "cc"); in get_coprocessorACR() 98 __asm __volatile("mcr p15, 0, %0, c1, c0, 2\n\t" in set_coprocessorACR() 253 __asm __volatile( in vfp_restore() 289 __asm __volatile( in vfp_store()
|
| H A D | cpufunc.c | 165 __asm __volatile("mrc p15, 1, %0, c0, c0, 1" in get_cachetype_cp15() 172 __asm __volatile("mcr p15, 2, %0, c0, c0, 0" in get_cachetype_cp15() 174 __asm __volatile("mrc p15, 1, %0, c0, c0, 0" in get_cachetype_cp15() 182 __asm __volatile("mcr p15, 2, %0, c0, c0, 0" in get_cachetype_cp15() 184 __asm __volatile("mrc p15, 1, %0, c0, c0, 0" in get_cachetype_cp15()
|
| /f-stack/freebsd/contrib/ck/include/gcc/arm/ |
| H A D | ck_pr.h | 58 #define CK_ISB __asm __volatile("isb" : : "r" (0) : "memory") 59 #define CK_DMB __asm __volatile("dmb" : : "r" (0) : "memory") 60 #define CK_DSB __asm __volatile("dsb" : : "r" (0) : "memory") 63 #define CK_DMB_ST __asm __volatile(".word 0xf57ff05e" : : "r" (0) : "memory") 65 #define CK_DMB_ST __asm __volatile("dmb st" : : "r" (0) : "memory") 70 __asm __volatile("mcr p15, 0, %0, c7, c5, 4" : : "r" (0) : "memory") 72 __asm __volatile("mcr p15, 0, %0, c7, c10, 4" : : "r" (0) : "memory") 74 __asm __volatile("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory") 143 __asm __volatile("ldrexd %0, [%1]" \ 192 __asm __volatile("1: \n" \
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | fpu.c | 74 #define fldcw(cw) __asm __volatile("fldcw %0" : : "m" (cw)) 75 #define fnclex() __asm __volatile("fnclex") 76 #define fninit() __asm __volatile("fninit") 77 #define fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr))) 78 #define fnstsw(addr) __asm __volatile("fnstsw %0" : "=am" (*(addr))) 80 #define fxsave(addr) __asm __volatile("fxsave %0" : "=m" (*(addr))) 81 #define ldmxcsr(csr) __asm __volatile("ldmxcsr %0" : : "m" (csr)) 91 __asm __volatile("xrstor %0" : : "m" (*addr), "a" (low), "d" (hi)); in xrstor32() 101 __asm __volatile("xrstor64 %0" : : "m" (*addr), "a" (low), "d" (hi)); in xrstor64() 111 __asm __volatile("xsave %0" : "=m" (*addr) : "a" (low), "d" (hi) : in xsave32() [all …]
|
| /f-stack/freebsd/x86/include/ |
| H A D | bus.h | 289 __asm __volatile(" \n\ in bus_space_read_multi_1() 309 __asm __volatile(" \n\ in bus_space_read_multi_2() 329 __asm __volatile(" \n\ in bus_space_read_multi_4() 372 __asm __volatile(" \n\ in bus_space_read_region_1() 384 __asm __volatile(" \n\ in bus_space_read_region_1() 402 __asm __volatile(" \n\ in bus_space_read_region_2() 414 __asm __volatile(" \n\ in bus_space_read_region_2() 432 __asm __volatile(" \n\ in bus_space_read_region_4() 444 __asm __volatile(" \n\ in bus_space_read_region_4() 558 __asm __volatile(" \n\ in bus_space_write_multi_1() [all …]
|