Home
last modified time | relevance | path

Searched refs:__volatile__ (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfenv_inlines.h47 __asm__ __volatile__( in __fenv_getcwsw()
61 __asm__ __volatile__( in __fenv_setcwsw()
77 __asm__ __volatile__("stmxcsr %0" : "=m" (*value)); in __fenv_getmxcsr()
83 __asm__ __volatile__("ldmxcsr %0" : : "m" (*value)); in __fenv_setmxcsr()
91 __asm__ __volatile__("f2xm1" : "=t" (ret) : "0" (x) : "cc"); in f2xm1()
100 __asm__ __volatile__("fyl2x" in fyl2x()
117 __asm__ __volatile__("fptan" in fptan()
129 __asm__ __volatile__("fpatan" in fpatan()
139 __asm__ __volatile__("fxtract" : "+t" (x) : : "cc"); in fxtract()
146 __asm__ __volatile__("fprem1" : "+t" (div) : "u" (idend) : "cc"); in fprem1()
[all …]
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_inlines.h56 __asm__ __volatile__("movq %%fs:0, %0" : "=r" (__value)); in _curthread()
59 __asm__ __volatile__("movl %%gs:0, %0" : "=r" (__value)); in _curthread()
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()
[all …]
H A Dbase_inlines.h48 __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 Dlibm_inlines.h52 __asm__ __volatile__("fsqrt\n\t" : "=t" (ret) : "0" (a) : "cc"); in __inline_sqrt()
67 __asm__ __volatile__("fsqrt\n\t" : "=t" (ret) : "0" (a) : "cc"); in __inline_sqrtf()
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()
150 __asm__ __volatile__("frndint" : "+t" (d) : : "cc"); in ceil()
161 __asm__ __volatile__( in copysign()
175 __asm__ __volatile__("fabs\n\t" : "+t" (d) : : "cc"); in fabs()
[all …]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dlibm_inlines.h51 __asm__ __volatile__("sqrtss %1, %0\n\t" : "=x" (ret) : "x" (a)); in __inline_sqrtf()
60 __asm__ __volatile__("sqrtsd %1, %0\n\t" : "=x" (ret) : "x" (a)); in __inline_sqrt()
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()
[all …]
/illumos-gate/usr/src/uts/intel/asm/
H A Dcpu.h45 __asm__ __volatile__( in ht_pause()
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()
160 __asm__ __volatile__( in __set_fs()
169 __asm__ __volatile__( in __set_gs()
H A Dsunddi.h47 __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 Dmmu.h47 __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 Dhtable.h49 __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 Datomic.h84 __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 Dclock.h44 __asm__ __volatile__( in unlock_hres_lock()
59 __asm__ __volatile__( in __rdtsc_insn()
66 __asm__ __volatile__( in __rdtsc_insn()
H A Dcpuvar.h47 __asm__ __volatile__( in curcpup()
51 __asm__ __volatile__( in curcpup()
H A Dthread.h55 __asm__ __volatile__( in threadp()
59 __asm__ __volatile__( in threadp()
/illumos-gate/usr/src/lib/libm/sparc/src/
H A Dlibm_inlines.h48 __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 Dlibm_inlines.h50 __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/uts/sparc/asm/
H A Dcpu.h43 __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 Dthread.h47 __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 Dfpregs_xbv.c49 __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()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dio.h66 #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 Di386_timer.c72 __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
75 __asm__ __volatile__ ("rdtsc" : "=A" (val))
H A Dpci_io.c87 __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")
H A Dcpu.h194 __asm__ __volatile__("rdmsr" \
199 __asm__ __volatile__("wrmsr" \
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Daso382 __asm__ __volatile__ (
398 __asm__ __volatile__ (
425 __asm__ __volatile__ (
441 __asm__ __volatile__ (
468 __asm__ __volatile__ (
481 __asm__ __volatile__ (
501 __asm__ __volatile__ (
514 __asm__ __volatile__ (
538 __asm__ __volatile__ (
549 __asm__ __volatile__ ("isync" : : : "memory");
[all …]
/illumos-gate/usr/src/common/hdcrc/
H A Dhd_crc.h70 __asm__ __volatile__( in mm_crc32_u8()
89 __asm__ __volatile__( in mm_crc32_u64()
113 __asm__ __volatile__( in mm_crc32_u32()
/illumos-gate/usr/src/test/os-tests/tests/i386/
H A Dldt.c53 __asm__ __volatile__("mov %0, %%fs" : : "r" (sel)); in main()
60 __asm__ __volatile__("mov %0, %%fs" : : "r" (0)); in main()

12