/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_fletcher_sse.c | 93 __asm("movdqu %0, %%xmm0" :: "m" ((ctx)->sse[0])); \ 94 __asm("movdqu %0, %%xmm1" :: "m" ((ctx)->sse[1])); \ 95 __asm("movdqu %0, %%xmm2" :: "m" ((ctx)->sse[2])); \ 96 __asm("movdqu %0, %%xmm3" :: "m" ((ctx)->sse[3])); \ 101 __asm("movdqu %%xmm0, %0" : "=m" ((ctx)->sse[0])); \ 102 __asm("movdqu %%xmm1, %0" : "=m" ((ctx)->sse[1])); \ 103 __asm("movdqu %%xmm2, %0" : "=m" ((ctx)->sse[2])); \ 104 __asm("movdqu %%xmm3, %0" : "=m" ((ctx)->sse[3])); \ 115 __asm("pxor %xmm4, %xmm4"); in fletcher_4_sse2_native() 118 __asm("movdqu %0, %%xmm5" :: "m"(*ip)); in fletcher_4_sse2_native() [all …]
|
H A D | zfs_fletcher_avx512.c | 76 __asm("vmovdqu64 %0, %%zmm0" :: "m" ((ctx)->avx512[0])); \ 77 __asm("vmovdqu64 %0, %%zmm1" :: "m" ((ctx)->avx512[1])); \ 78 __asm("vmovdqu64 %0, %%zmm2" :: "m" ((ctx)->avx512[2])); \ 79 __asm("vmovdqu64 %0, %%zmm3" :: "m" ((ctx)->avx512[3])); \ 84 __asm("vmovdqu64 %%zmm0, %0" : "=m" ((ctx)->avx512[0])); \ 85 __asm("vmovdqu64 %%zmm1, %0" : "=m" ((ctx)->avx512[1])); \ 86 __asm("vmovdqu64 %%zmm2, %0" : "=m" ((ctx)->avx512[2])); \ 87 __asm("vmovdqu64 %%zmm3, %0" : "=m" ((ctx)->avx512[3])); \ 99 __asm("vpmovzxdq %0, %%zmm4"::"m" (*ip)); in fletcher_4_avx512f_native() 100 __asm("vpaddq %zmm4, %zmm0, %zmm0"); in fletcher_4_avx512f_native() [all …]
|
H A D | zfs_fletcher_intel.c | 90 __asm("vmovdqu %0, %%ymm0" :: "m" ((ctx)->avx[0])); \ 91 __asm("vmovdqu %0, %%ymm1" :: "m" ((ctx)->avx[1])); \ 92 __asm("vmovdqu %0, %%ymm2" :: "m" ((ctx)->avx[2])); \ 93 __asm("vmovdqu %0, %%ymm3" :: "m" ((ctx)->avx[3])); \ 98 __asm("vmovdqu %%ymm0, %0" : "=m" ((ctx)->avx[0])); \ 99 __asm("vmovdqu %%ymm1, %0" : "=m" ((ctx)->avx[1])); \ 100 __asm("vmovdqu %%ymm2, %0" : "=m" ((ctx)->avx[2])); \ 101 __asm("vmovdqu %%ymm3, %0" : "=m" ((ctx)->avx[3])); \ 113 __asm("vpmovzxdq %0, %%ymm4"::"m" (*ip)); in fletcher_4_avx2_native() 114 __asm("vpaddq %ymm4, %ymm0, %ymm0"); in fletcher_4_avx2_native() [all …]
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin.h | 213 #define ACPI_FLUSH_CPU_CACHE() __asm {WBINVD} 227 #define ACPI_ACQUIRE_GLOBAL_LOCK(FacsPtr, Acq) __asm \ 229 __asm mov eax, 0xFF \ 230 __asm mov ecx, FacsPtr \ 231 __asm or ecx, ecx \ 232 __asm jz exit_acq \ 233 __asm lea ecx, [ecx].GlobalLock \ 235 __asm acq10: \ 236 __asm mov eax, [ecx] \ 237 __asm mov edx, eax \ [all …]
|
H A D | acmsvc.h | 203 __asm mov edx, n_hi \ 204 __asm mov eax, n_lo \ 205 __asm div d32 \ 206 __asm mov q32, eax \ 207 __asm mov r32, edx \ 214 __asm mov edx, n_hi \ 215 __asm mov eax, n_lo \ 216 __asm mul m32 \ 217 __asm mov p32, eax \ 218 __asm mov c32, edx \ [all …]
|
H A D | acnetbsd.h | 178 #define asm __asm
|
H A D | achaiku.h | 194 #define ACPI_FLUSH_CPU_CACHE() __asm __volatile("wbinvd");
|
/illumos-gate/usr/src/boot/sys/amd64/include/ |
H A D | cpufunc.h | 63 __asm __volatile("int $3"); in breakpoint() 71 __asm __volatile("bsfl %1,%0" : "=r" (result) : "rm" (mask)); in bsfl() 80 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq() 89 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl() 98 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq() 106 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush() 113 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt() 120 __asm __volatile("clts"); in clts() 126 __asm __volatile("cli" : : : "memory"); in disable_intr() 132 __asm __volatile("cpuid" in do_cpuid() [all …]
|
/illumos-gate/usr/src/boot/sys/i386/include/ |
H A D | cpufunc.h | 60 __asm __volatile("int $3"); in breakpoint() 68 __asm("bsfl %1,%0" : "=r" (result) : "rm" (mask) : "cc"); in bsfl() 77 __asm("bsrl %1,%0" : "=r" (result) : "rm" (mask) : "cc"); in bsrl() 85 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush() 92 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt() 99 __asm __volatile("clts"); in clts() 106 __asm __volatile("cli" : : : "memory"); in disable_intr() 112 __asm __volatile("pushl %%ebx \n\t" in do_cpuid() 123 __asm __volatile("cpuid" in cpuid_count() 132 __asm __volatile("sti"); in enable_intr() [all …]
|
/illumos-gate/usr/src/compat/bhyve/amd64/machine/ |
H A D | cpufunc.h | 26 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq() 35 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl() 44 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq() 51 __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() 123 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr() [all …]
|
H A D | atomic.h | 26 __asm volatile("" : : : "memory"); in atomic_load_acq_short() 37 __asm volatile("" : : : "memory"); in atomic_load_acq_int() 48 __asm volatile("" : : : "memory"); in atomic_load_acq_long() 56 __asm volatile("" : : : "memory"); in atomic_store_rel_int() 63 __asm volatile("" : : : "memory"); in atomic_store_rel_long() 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() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz_math_avx2.c | 31 #define __asm __asm__ __volatile__ macro 73 __asm( \ 81 __asm( \ 95 __asm( \ 102 __asm( \ 117 __asm( \ 124 __asm( \ 137 __asm( \ 145 __asm( \ 159 __asm( \ [all …]
|
H A D | vdev_raidz_math_ssse3.c | 32 #define __asm __asm__ __volatile__ macro 74 __asm( \ 82 __asm( \ 96 __asm( \ 103 __asm( \ 118 __asm( \ 125 __asm( \ 138 __asm( \ 146 __asm( \ 160 __asm( \ [all …]
|
H A D | vdev_raidz_math_sse2.c | 33 #define __asm __asm__ __volatile__ macro 66 __asm( \ 74 __asm( \ 80 __asm("pxor 0x00(%[SRC]), %%" VR0(r) "\n" \ 90 __asm( \ 97 __asm( \ 102 __asm( \ 114 __asm( \ 121 __asm( \ 126 __asm( \ [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | llimits.h | 208 #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/intel/io/vmm/intel/ |
H A D | vmcs.c | 198 __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()
|
/illumos-gate/usr/src/boot/sys/x86/include/ |
H A D | endian.h | 103 __asm("bswap %0" : "+r" (_x)); in __bswap32_var() 115 __asm("bswap %0" : "+r" (_x)); in __bswap64_var()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | reserved.c | 65 static int (__asm); variable
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | Makefile | 42 -DHAVE_IPV6=1 -Dasm=__asm -DMDNSD_NOROOT \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | probe.win32 | 132 …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/tools/smatch/src/ |
H A D | ident-list.h | 50 IDENT(asm); IDENT_RESERVED(__asm); IDENT_RESERVED(__asm__);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 77 __asm __volatile ("inb %1,%0" :"=a" (data):"d" (port)); in inb() 84 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
|
H A D | graphics.c | 115 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | cdefs.h | 42 #define asm __asm
|
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/ |
H A D | trap.c | 404 __asm("ud2"); in command_fault()
|