Home
last modified time | relevance | path

Searched refs:__asm (Results 1 – 25 of 29) sorted by path

12

/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dtrap.c404 __asm("ud2"); in command_fault()
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h63 __asm __volatile("int $3"); in breakpoint()
120 __asm __volatile("clts"); in clts()
132 __asm __volatile("cpuid" in do_cpuid()
140 __asm __volatile("cpuid" in cpuid_count()
148 __asm __volatile("sti"); in enable_intr()
201 __asm __volatile("hlt"); in halt()
225 __asm __volatile("cld; rep; insb" in insb()
252 __asm __volatile("invd"); in invd()
339 __asm __volatile("pause"); in ia32_pause()
399 __asm __volatile("wbinvd"); in wbinvd()
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h60 __asm __volatile("int $3"); in breakpoint()
99 __asm __volatile("clts"); in clts()
123 __asm __volatile("cpuid" in cpuid_count()
132 __asm __volatile("sti"); in enable_intr()
139 __asm __volatile("monitor" in cpu_monitor()
209 __asm __volatile("hlt"); in halt()
233 __asm __volatile("cld; rep; insb" in insb()
242 __asm __volatile("cld; rep; insw" in insw()
260 __asm __volatile("invd"); in invd()
317 __asm __volatile("pause"); in ia32_pause()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dcdefs.h108 #define __compiler_membar() __asm __volatile(" " : : : "memory")
/illumos-gate/usr/src/boot/sys/x86/include/
H A Dendian.h103 __asm("bswap %0" : "+r" (_x)); in __bswap32_var()
115 __asm("bswap %0" : "+r" (_x)); in __bswap64_var()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DMakefile42 -DHAVE_IPV6=1 -Dasm=__asm -DMDNSD_NOROOT \
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher_avx512.c100 __asm("vpaddq %zmm4, %zmm0, %zmm0"); in fletcher_4_avx512f_native()
120 __asm("vpsllq $8, %zmm8, %zmm9"); in fletcher_4_avx512f_byteswap()
121 __asm("vpsllq $16, %zmm8, %zmm10"); in fletcher_4_avx512f_byteswap()
122 __asm("vpsllq $24, %zmm8, %zmm11"); in fletcher_4_avx512f_byteswap()
127 __asm("vpsrlq $24, %zmm5, %zmm6"); in fletcher_4_avx512f_byteswap()
129 __asm("vpsrlq $8, %zmm5, %zmm7"); in fletcher_4_avx512f_byteswap()
131 __asm("vpord %zmm6, %zmm7, %zmm4"); in fletcher_4_avx512f_byteswap()
132 __asm("vpsllq $8, %zmm5, %zmm6"); in fletcher_4_avx512f_byteswap()
134 __asm("vpord %zmm6, %zmm4, %zmm4"); in fletcher_4_avx512f_byteswap()
135 __asm("vpsllq $24, %zmm5, %zmm5"); in fletcher_4_avx512f_byteswap()
[all …]
H A Dzfs_fletcher_intel.c114 __asm("vpaddq %ymm4, %ymm0, %ymm0"); in fletcher_4_avx2_native()
115 __asm("vpaddq %ymm0, %ymm1, %ymm1"); in fletcher_4_avx2_native()
116 __asm("vpaddq %ymm1, %ymm2, %ymm2"); in fletcher_4_avx2_native()
117 __asm("vpaddq %ymm2, %ymm3, %ymm3"); in fletcher_4_avx2_native()
121 __asm("vzeroupper"); in fletcher_4_avx2_native()
142 __asm("vpshufb %ymm5, %ymm4, %ymm4"); in fletcher_4_avx2_byteswap()
144 __asm("vpaddq %ymm4, %ymm0, %ymm0"); in fletcher_4_avx2_byteswap()
145 __asm("vpaddq %ymm0, %ymm1, %ymm1"); in fletcher_4_avx2_byteswap()
146 __asm("vpaddq %ymm1, %ymm2, %ymm2"); in fletcher_4_avx2_byteswap()
147 __asm("vpaddq %ymm2, %ymm3, %ymm3"); in fletcher_4_avx2_byteswap()
[all …]
H A Dzfs_fletcher_sse.c115 __asm("pxor %xmm4, %xmm4"); in fletcher_4_sse2_native()
122 __asm("paddq %xmm5, %xmm0"); in fletcher_4_sse2_native()
123 __asm("paddq %xmm0, %xmm1"); in fletcher_4_sse2_native()
124 __asm("paddq %xmm1, %xmm2"); in fletcher_4_sse2_native()
125 __asm("paddq %xmm2, %xmm3"); in fletcher_4_sse2_native()
126 __asm("paddq %xmm6, %xmm0"); in fletcher_4_sse2_native()
127 __asm("paddq %xmm0, %xmm1"); in fletcher_4_sse2_native()
128 __asm("paddq %xmm1, %xmm2"); in fletcher_4_sse2_native()
129 __asm("paddq %xmm2, %xmm3"); in fletcher_4_sse2_native()
150 __asm("paddq %xmm5, %xmm0"); in fletcher_4_sse2_byteswap()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Datomic.h26 __asm volatile("" : : : "memory"); in atomic_load_acq_short()
79 __asm __volatile( in atomic_cmpset_int()
97 __asm __volatile( in atomic_cmpset_long()
115 __asm __volatile( in atomic_testandset_int()
135 __asm __volatile( in atomic_fetchadd_int()
149 __asm volatile( in atomic_set_int()
159 __asm volatile( in atomic_clear_int()
169 __asm volatile( in atomic_subtract_int()
179 __asm volatile( in atomic_set_long()
199 __asm __volatile( in atomic_swap_int()
[all …]
H A Dcpufunc.h51 __asm __volatile("clts"); in clts()
57 __asm __volatile("cpuid" in do_cpuid()
65 __asm __volatile("cpuid" in cpuid_count()
73 __asm __volatile("cli"); in disable_intr()
79 __asm __volatile("sti"); in enable_intr()
111 __asm __volatile("pushfq; popq %0" : "=r" (rf)); in read_rflags()
148 __asm __volatile("movq %%cr0,%0" : "=r" (data)); in rcr0()
157 __asm __volatile("movq %%cr3,%0" : "=r" (data)); in rcr3()
172 __asm __volatile("movq %%cr4,%0" : "=r" (data)); in rcr4()
205 __asm __volatile("movq %%dr0,%0" : "=r" (data)); in rdr0()
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dcdefs.h42 #define asm __asm
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dprobe.win32132 …reserved="#pragma pp:reserved __asm=GROUP __based=GROUP __cdecl __declspec=GROUP __except __export…
144 …reserved="#pragma pp:reserved _Bool _Complex _Imaginary asm=GROUP _asm=GROUP __asm=GROUP const enu…
151 …reserved="#pragma pp:reserved __asm=GROUP __based=GROUP __cdecl __declspec=GROUP __except __export…
175 …GROUP __attribute=GROUP __attribute__=GROUP __extension__=GROUP asm=GROUP __asm=GROUP __asm__=GROU…
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c115 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
H A Dsmp-imps.c77 __asm __volatile ("inb %1,%0" :"=a" (data):"d" (port)); in inb()
84 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
/illumos-gate/usr/src/tools/smatch/src/
H A Dident-list.h50 IDENT(asm); IDENT_RESERVED(__asm); IDENT_RESERVED(__asm__);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dreserved.c65 static int (__asm); variable
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dllimits.h208 #define lua_number2int(i,n) __asm {__asm fld n __asm fistp i}
211 {__int64 l; __asm {__asm fld n __asm fistp l} i = (unsigned int)l;}
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_avx2.c73 __asm( \
81 __asm( \
95 __asm( \
102 __asm( \
117 __asm( \
124 __asm( \
137 __asm( \
145 __asm( \
159 __asm( \
167 __asm( \
[all …]
H A Dvdev_raidz_math_sse2.c66 __asm( \
74 __asm( \
90 __asm( \
97 __asm( \
102 __asm( \
114 __asm( \
121 __asm( \
126 __asm( \
138 __asm( \
146 __asm( \
[all …]
H A Dvdev_raidz_math_ssse3.c74 __asm( \
82 __asm( \
96 __asm( \
103 __asm( \
118 __asm( \
125 __asm( \
138 __asm( \
146 __asm( \
160 __asm( \
168 __asm( \
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm.c1809 __asm __volatile("clgi"); in disable_gintr()
1815 __asm __volatile("stgi"); in enable_gintr()
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmcs.c198 __asm __volatile("vmclear %[addr];" in vmcs_clear()
228 __asm __volatile("vmclear %[addr];" in vmcs_initialize()
252 __asm __volatile("vmptrld %[addr];" in vmcs_load()
269 __asm __volatile("vmread %[enc], %[val];" in vmcs_read()
287 __asm __volatile("vmwrite %[val], %[enc];" in vmcs_write()
H A Dvmx.c928 __asm __volatile("invvpid %[desc], %[type];" in invvpid()
1008 __asm __volatile("invept %[desc], %[type];" in invept()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_instruction_emul.c646 __asm __volatile("sub %2,%1; pushfq; popq %0" : \
683 __asm __volatile("add %2,%1; pushfq; popq %0" : \
720 __asm __volatile("imul %2,%1; pushfq; popq %0" : \
754 __asm __volatile("and %2,%1; pushfq; popq %0" : \

12