/haiku/src/libs/compat/freebsd_network/compat/machine/x86_64/ |
H A D | cpufunc.h | 59 __asm __volatile("int $3"); in breakpoint() 67 __asm __volatile("bsfl %1,%0" : "=r" (result) : "rm" (mask)); in bsfl() 76 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq() 85 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl() 94 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq() 102 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush() 109 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt() 116 __asm __volatile("clts"); in clts() 122 __asm __volatile("cli" : : : "memory"); in disable_intr() 128 __asm __volatile("cpuid" in do_cpuid() [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/machine/x86/ |
H A D | cpufunc.h | 56 __asm __volatile("int $3"); in breakpoint() 81 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush() 88 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt() 95 __asm __volatile("clts"); in clts() 102 __asm __volatile("cli" : : : "memory"); in disable_intr() 108 __asm __volatile("cpuid" in do_cpuid() 116 __asm __volatile("cpuid" in cpuid_count() 125 __asm __volatile("sti"); in enable_intr() 132 __asm __volatile("monitor" in cpu_monitor() 140 __asm __volatile("mwait" : : "a" (hints), "c" (extensions)); in cpu_mwait() [all …]
|
H A D | bus.h | 281 __asm __volatile(" \n\ in bus_space_read_multi_1() 302 __asm __volatile(" \n\ in bus_space_read_multi_2() 323 __asm __volatile(" \n\ in bus_space_read_multi_4() 368 __asm __volatile(" \n\ in bus_space_read_region_1() 381 __asm __volatile(" \n\ in bus_space_read_region_1() 400 __asm __volatile(" \n\ in bus_space_read_region_2() 413 __asm __volatile(" \n\ in bus_space_read_region_2() 432 __asm __volatile(" \n\ in bus_space_read_region_4() 445 __asm __volatile(" \n\ in bus_space_read_region_4() 560 __asm __volatile(" \n\ in bus_space_write_multi_1() [all …]
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | fpu_arith.h | 72 __asm __volatile("addx %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 74 __asm __volatile("addcc %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 76 __asm __volatile("addxcc %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 78 __asm __volatile("subx %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 80 __asm __volatile("subcc %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 82 __asm __volatile("subxcc %1,%2,%0" : "=r"(r) : "r"(x), "r"(y)) 84 #define FPU_GET_CARRY(r) __asm __volatile("addx %%g0,%%g0,%0" : "=r"(r)) 85 #define FPU_SET_CARRY(v) __asm __volatile("addcc %0,-1,%%g0" : : "r"(v))
|
H A D | softfloat.c | 44 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 55 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 65 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 72 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 82 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 89 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 107 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 117 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 127 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); in _Qp_sqrt() 135 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); in _Qp_sqrt()
|
H A D | instr.h | 165 { u_long t; ( __asm __volatile("sllx %1, %2, %0; srax %0, %2, %0" :
|
/haiku/headers/posix/arch/x86_64/ |
H A D | fenv.h | 80 #define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw)) 81 #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env)) 82 #define __fldenvx(__env) __asm __volatile("fldenv %0" : : "m" (__env) \ 85 #define __fnclex() __asm __volatile("fnclex") 86 #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=m" (*(__env))) 87 #define __fnstcw(__cw) __asm __volatile("fnstcw %0" : "=m" (*(__cw))) 88 #define __fnstsw(__sw) __asm __volatile("fnstsw %0" : "=am" (*(__sw))) 89 #define __fwait() __asm __volatile("fwait") 90 #define __ldmxcsr(__csr) __asm __volatile("ldmxcsr %0" : : "m" (__csr)) 91 #define __stmxcsr(__csr) __asm __volatile("stmxcsr %0" : "=m" (*(__csr)))
|
/haiku/headers/posix/arch/x86/ |
H A D | fenv.h | 101 #define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw)) 102 #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env)) 103 #define __fldenvx(__env) __asm __volatile("fldenv %0" : : "m" (__env) \ 106 #define __fnclex() __asm __volatile("fnclex") 107 #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=m" (*(__env))) 108 #define __fnstcw(__cw) __asm __volatile("fnstcw %0" : "=m" (*(__cw))) 109 #define __fnstsw(__sw) __asm __volatile("fnstsw %0" : "=m" (*(__sw))) 110 #define __fwait() __asm __volatile("fwait") 111 #define __ldmxcsr(__csr) __asm __volatile("ldmxcsr %0" : : "m" (__csr)) 112 #define __stmxcsr(__csr) __asm __volatile("stmxcsr %0" : "=m" (*(__csr)))
|
/haiku/headers/posix/arch/riscv64/ |
H A D | fenv.h | 87 #define __rfs(__fcsr) __asm __volatile("csrr %0, fcsr" : "=r" (__fcsr)) 88 #define __wfs(__fcsr) __asm __volatile("csrw fcsr, %0" :: "r" (__fcsr)) 108 __asm __volatile("csrc fflags, %0" :: "r"(__excepts)); in feclearexcept() 130 __asm __volatile("csrc fflags, %0" :: "r"(__excepts)); in fesetexceptflag() 131 __asm __volatile("csrs fflags, %0" :: "r"(__fcsr & __excepts)); in fesetexceptflag() 140 __asm __volatile("csrs fflags, %0" :: "r"(__excepts)); in feraiseexcept()
|
/haiku/headers/posix/arch/arm64/ |
H A D | fenv.h | 76 #define __mrs_fpcr(__r) __asm __volatile("mrs %0, fpcr" : "=r" (__r)) 77 #define __msr_fpcr(__r) __asm __volatile("msr fpcr, %0" : : "r" (__r)) 79 #define __mrs_fpsr(__r) __asm __volatile("mrs %0, fpsr" : "=r" (__r)) 80 #define __msr_fpsr(__r) __asm __volatile("msr fpsr, %0" : : "r" (__r))
|
/haiku/src/system/libroot/posix/arch/x86/ |
H A D | fenv.c | 52 #define getfl(x) __asm __volatile("pushfl\n\tpopl %0" : "=mr" (*(x))) 53 #define setfl(x) __asm __volatile("pushl %0\n\tpopfl" : : "g" (x)) 54 #define cpuid_dx(x) __asm __volatile("pushl %%ebx\n\tmovl $1, %%eax\n\t" \
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | cdefs.h | 92 #define __compiler_membar() __asm __volatile(" " : : : "memory") 313 #define __volatile volatile macro 328 #define __volatile macro
|
/haiku/headers/posix/arch/arm/ |
H A D | fenv.h | 66 #define __rfs(__fpsr) __asm __volatile("rfs %0" : "=r" (*(__fpsr))) 67 #define __wfs(__fpsr) __asm __volatile("wfs %0" : : "r" (__fpsr))
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | aarch64.h | 31 __asm __volatile("at " #operand ", %0" : : "r"((uint64_t)address)) 34 __asm __volatile("brk " #id)
|
/haiku/headers/posix/arch/sparc64/ |
H A D | fenv.h | 78 #define __ldxfsr(__r) __asm __volatile("ldx %0, %%fsr" : : "m" (__r)) 79 #define __stxfsr(__r) __asm __volatile("stx %%fsr, %0" : "=m" (*(__r)))
|
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/platform/ |
H A D | achaiku.h | 196 #define ACPI_FLUSH_CPU_CACHE() __asm __volatile("wbinvd");
|
/haiku/headers/posix/arch/ppc/ |
H A D | fenv.h | 88 #define __mffs(__env) __asm __volatile("mffs %0" : "=f" (*(__env))) 89 #define __mtfsf(__env) __asm __volatile("mtfsf 255,%0" : : "f" (__env))
|
/haiku/src/system/libroot/posix/musl/arch/x86_64/ |
H A D | atomic_arch.h | 56 __asm__ __volatile( in a_and_64()
|
/haiku/headers/private/kernel/arch/arm64/ |
H A D | arch_cpu.h | 108 __asm __volatile( \
|
H A D | arm_registers.h | 41 __asm __volatile("mrs %0, " __ARMREG_STRING(reg) : "=&r" (val)); \ 45 __asm __volatile("msr " __ARMREG_STRING(reg) ", %0" : : "r"((uint64_t)val))
|
/haiku/src/system/libroot/posix/glibc/include/misc/sys/ |
H A D | cdefs.h | 63 # define __volatile volatile macro
|