/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fenv_inlines.h | 47 __asm__ __volatile__( in __fenv_getcwsw() 61 __asm__ __volatile__( in __fenv_setcwsw() 218 __asm__ __volatile__( in sse_cmpeqss() 229 __asm__ __volatile__( in sse_cmpltss() 240 __asm__ __volatile__( in sse_cmpless() 251 __asm__ __volatile__( in sse_cmpunordss() 262 __asm__ __volatile__( in sse_minss() 272 __asm__ __volatile__( in sse_maxss() 282 __asm__ __volatile__( in sse_addss() 292 __asm__ __volatile__( in sse_subss() [all …]
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_inlines.h | 72 __asm__ __volatile__( in __curthread() 110 __asm__ __volatile__( in gethrtime() 117 __asm__ __volatile__( in gethrtime() 124 __asm__ __volatile__( in gethrtime() 132 __asm__ __volatile__( in gethrtime() 147 __asm__ __volatile__( in set_lock_byte() 152 __asm__ __volatile__( in set_lock_byte() 166 __asm__ __volatile__( in atomic_swap_32() 172 __asm__ __volatile__( in atomic_swap_32() 194 __asm__ __volatile__( in atomic_cas_32() [all …]
|
H A D | base_inlines.h | 48 __asm__ __volatile__( in __mul_set() 68 __asm__ __volatile__( in __div_set() 86 __asm__ __volatile__( in __dabs() 108 __asm__ __volatile__( in __get_ieee_flags() 125 __asm__ __volatile__( in __set_ieee_flags()
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | libm_inlines.h | 74 __asm__ __volatile__( in __inline_rint() 99 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); in __swapRP() 104 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); in __swapRP() 121 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); in __swap87RD() 126 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); in __swap87RD() 161 __asm__ __volatile__( in copysign() 198 __asm__ __volatile__( in finite() 229 __asm__ __volatile__( in isnan() 249 __asm__ __volatile__( in isnanf() 272 __asm__ __volatile__( in scalbn() [all …]
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | cpu.h | 45 __asm__ __volatile__( in ht_pause() 60 __asm__( in prefetch_read_many() 72 __asm__( in prefetch_read_once() 84 __asm__( in prefetch_write_many() 96 __asm__( in prefetch_write_once() 109 __asm__ __volatile__( in cli() 116 __asm__ __volatile__( in sti() 129 __asm__ __volatile__( in i86_halt() 142 __asm__ __volatile__( in __set_ds() 151 __asm__ __volatile__( in __set_es() [all …]
|
H A D | byteorder.h | 52 __asm__("xchgb %h0, %b0" : "+Q" (value)); in htons() 54 __asm__("xchgb %h0, %b0" : "+q" (value)); in htons() 63 __asm__("xchgb %h0, %b0" : "+Q" (value)); in ntohs() 65 __asm__("xchgb %h0, %b0" : "+q" (value)); in ntohs() 73 __asm__("bswap %0" : "+r" (value)); in htonl() 80 __asm__("bswap %0" : "+r" (value)); in ntohl() 88 __asm__("bswapq %0" : "+r" (value)); in htonll() 95 __asm__("bswapq %0" : "+r" (value)); in ntohll()
|
H A D | sunddi.h | 47 __asm__ __volatile__( in inb() 60 __asm__ __volatile__( in inw() 73 __asm__ __volatile__( in inl() 85 __asm__ __volatile__( in outb() 96 __asm__ __volatile__( in outw() 107 __asm__ __volatile__( in outl() 118 __asm__ __volatile__("nop"); in sync_instruction_memory()
|
H A D | mmu.h | 47 __asm__ __volatile__( in getcr3() 56 __asm__ __volatile__( in setcr3() 67 __asm__ __volatile__( in getcr4() 76 __asm__ __volatile__( in setcr4() 96 __asm__ __volatile__( in invpcid_insn() 108 __asm__ __volatile__( in mmu_invlpg()
|
H A D | htable.h | 49 __asm__ __volatile__( in atomic_orb() 59 __asm__ __volatile__( in atomic_andb() 69 __asm__ __volatile__( in atomic_inc16() 79 __asm__ __volatile__( in atomic_dec16()
|
H A D | clock.h | 44 __asm__ __volatile__( in unlock_hres_lock() 59 __asm__ __volatile__( in __rdtsc_insn() 66 __asm__ __volatile__( in __rdtsc_insn()
|
H A D | atomic.h | 84 __asm__ __volatile__( \ 115 __asm__ __volatile__( \ 141 __asm__ __volatile__( in atomic_add_ptr() 173 __asm__ __volatile__( \ 203 __asm__ __volatile__( in atomic_cas_ptr() 216 __asm__ __volatile__( \ 243 __asm__ __volatile__( in atomic_swap_ptr()
|
H A D | bitmap.h | 54 __asm__( in highbit() 70 __asm__( in lowbit() 85 __asm__ __volatile__( in atomic_btr32()
|
/illumos-gate/usr/src/lib/libm/amd64/src/ |
H A D | libm_inlines.h | 51 __asm__ __volatile__("sqrtss %1, %0\n\t" : "=x" (ret) : "x" (a)); in __inline_sqrtf() 82 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); in __swapRP() 87 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); in __swapRP() 104 __asm__ __volatile__("fstcw %0\n\t" : "=m" (cw)); in __swap87RD() 109 __asm__ __volatile__("fldcw %0\n\t" : : "m" (cw)); in __swap87RD() 118 __asm__ __volatile__( in abs() 133 __asm__ __volatile__( in copysign() 149 __asm__ __volatile__( in fabs() 161 __asm__ __volatile__( in fabsf() 175 __asm__ __volatile__( in finite() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | cpu.h | 113 __asm__("cpuid" in cpuid() 128 __asm__("cpuid" in cpuid_eax() 138 __asm__("cpuid" in cpuid_ebx() 148 __asm__("cpuid" in cpuid_ecx() 158 __asm__("cpuid" in cpuid_edx() 194 __asm__ __volatile__("rdmsr" \ 199 __asm__ __volatile__("wrmsr" \ 206 __asm__( \ 212 __asm__("movl %0,%%cr0": :"r" (x)); 216 __asm__( \ [all …]
|
H A D | pci_io.c | 87 __asm__ __volatile__("pushfl ; popl %0":"=g" (x): /* no input */ :"memory") 89 #define cli() __asm__ __volatile__ ("cli": : :"memory") 92 __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"g" (x):"memory") 116 __asm__( in bios32_service() 152 __asm__( in pcibios_read_config_byte() 179 __asm__( in pcibios_read_config_word() 206 __asm__( in pcibios_read_config_dword() 233 __asm__( in pcibios_write_config_byte() 260 __asm__( in pcibios_write_config_word() 287 __asm__( in pcibios_write_config_dword() [all …]
|
H A D | io.h | 66 #define __SLOW_DOWN_IO __asm__ __volatile__("jmp 1f\n1:\tjmp 1f\n1:") 68 #define __SLOW_DOWN_IO __asm__ __volatile__("outb %al,$0x80") 112 #define mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory") 127 __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1" 141 __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0" 153 { __asm__ __volatile__ ("cld ; rep ; ins" #s \ 160 { __asm__ __volatile__ ("cld ; rep ; outs" #s \
|
H A D | i386_timer.c | 72 __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 75 __asm__ __volatile__ ("rdtsc" : "=A" (val)) 106 __asm__("subl %2,%0\n\t" in calibrate_tsc() 147 __asm__("divl %1" in currticks()
|
/illumos-gate/usr/src/common/crypto/edonr/ |
H A D | edonr_byteorder.h | 86 __asm__("ldbrx %0,0,%1" : "=r"(d64) : "r"(s64)) 88 __asm__ volatile("stdbrx %1,0,%0" : : "r"(d64), "r"(s64)) 102 __asm__ volatile("addi %0,%3,4;stwbrx %1,0,%3;stwbrx %2,0,%0" \ 110 __asm__("addi %0,%3,4;lwbrx %1,0,%3;lwbrx %2,0,%0" \ 124 __asm__("lwbrx %0,0,%1" : "=r"(d32) : "r"(s32)) 126 __asm__ volatile("stwbrx %1,0,%0" : : "r"(d32), "r"(s32)) 142 __asm__("ldxa [%1]0x88,%0" : "=r"(d64) : "r"(s64)) 144 __asm__ volatile("stxa %0,[%1]0x88" : : "r"(s64), "r"(d64)) 150 __asm__("add %3,4,%0\n\tlda [%3]0x88,%1\n\tlda [%0]0x88,%2" \ 163 __asm__("lda [%1]0x88,%0" : "=r"(d32) : "r"(s32)) [all …]
|
/illumos-gate/usr/src/lib/libm/sparc/src/ |
H A D | libm_inlines.h | 48 __asm__ __volatile__("fsqrtd %1,%0\n\t" : "=e" (ret) : "e" (d)); in __inline_sqrt() 57 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f)); in __inline_sqrtf() 68 __asm__ __volatile__( in fp_classf() 121 __asm__ __volatile__( in fp_class() 179 __asm__ __volatile__( in __swapEX() 217 __asm__ __volatile__( in __swapRD() 245 __asm__ __volatile__( in __swapTE() 284 __asm__ __volatile__("fabsd %1,%0\n\t" : "=e" (ret) : "e" (d)); in fabs() 293 __asm__ __volatile__("fabss %1,%0\n\t" : "=f" (ret) : "f" (f)); in fabsf()
|
/illumos-gate/usr/src/lib/libm/sparcv9/src/ |
H A D | libm_inlines.h | 50 __asm__ __volatile__( in fp_classf() 100 __asm__ __volatile__( in fp_class() 150 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f)); in __inline_sqrtf() 159 __asm__ __volatile__("fsqrtd %1,%0\n\t" : "=f" (ret) : "f" (d)); in __inline_sqrt() 170 __asm__ __volatile__( in __swapEX() 208 __asm__ __volatile__( in __swapRD() 237 __asm__ __volatile__( in __swapTE() 277 __asm__ __volatile__("fabsd %1,%0\n\t" : "=e" (ret) : "e" (d)); in fabs() 286 __asm__ __volatile__("fabss %1,%0\n\t" : "=f" (ret) : "f" (f)); in fabsf()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | cdefs.h | 565 __asm__(".weak " #alias); \ 566 __asm__(".equ " #alias ", " #sym) 569 __asm__(".asciz \"" msg "\""); \ 570 __asm__(".previous") 577 __asm__(".weak alias"); \ 578 __asm__(".equ alias, sym") 580 __asm__(".section .gnu.warning.sym"); \ 581 __asm__(".asciz \"msg\""); \ 582 __asm__(".previous") 584 __asm__(".symver impl, sym@verid") [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/i386/ |
H A D | badseg_exec.c | 35 __asm__ volatile("movw %0, %%ds" : : "r" (selector)); in badds() 40 __asm__ volatile("movw %0, %%es" : : "r" (selector)); in bades() 45 __asm__ volatile("movw %0, %%fs" : : "r" (selector)); in badfs() 50 __asm__ volatile("movw %0, %%gs" : : "r" (selector)); in badgs() 55 __asm__ volatile("movw %0, %%ss" : : "r" (selector)); in badss()
|
/illumos-gate/usr/src/uts/sparc/asm/ |
H A D | cpu.h | 43 __asm__ __volatile__( in prefetch_read_many() 56 __asm__ __volatile__( in prefetch_read_once() 69 __asm__ __volatile__( in prefetch_write_many() 82 __asm__ __volatile__( in prefetch_write_once()
|
H A D | thread.h | 47 __asm__ __volatile__( in threadp() 63 __asm__ __volatile__( in caller() 78 __asm__ __volatile__( in callee()
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | fpregs_xbv.c | 49 __asm__ __volatile__ ("movdqu %0, %%xmm0" : : "m" (u)); in main() 50 __asm__ __volatile__ ("fldl %0" : : "m" (u)); in main() 66 __asm__ __volatile__ ("fninit" : : :); in main() 67 __asm__ __volatile__ ("vzeroall" : : :); in main()
|