/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_fletcher_intel.c | 53 memset(ctx->avx, 0, 4 * sizeof (zfs_fletcher_avx_t)); in fletcher_4_avx2_init() 61 A = ctx->avx[0].v[0] + ctx->avx[0].v[1] + in fletcher_4_avx2_fini() 62 ctx->avx[0].v[2] + ctx->avx[0].v[3]; in fletcher_4_avx2_fini() 63 B = 0 - ctx->avx[0].v[1] - 2 * ctx->avx[0].v[2] - 3 * ctx->avx[0].v[3] + in fletcher_4_avx2_fini() 64 4 * ctx->avx[1].v[0] + 4 * ctx->avx[1].v[1] + 4 * ctx->avx[1].v[2] + in fletcher_4_avx2_fini() 65 4 * ctx->avx[1].v[3]; in fletcher_4_avx2_fini() 67 C = ctx->avx[0].v[2] + 3 * ctx->avx[0].v[3] - 6 * ctx->avx[1].v[0] - in fletcher_4_avx2_fini() 68 10 * ctx->avx[1].v[1] - 14 * ctx->avx[1].v[2] - in fletcher_4_avx2_fini() 69 18 * ctx->avx[1].v[3] + 16 * ctx->avx[2].v[0] + in fletcher_4_avx2_fini() 70 16 * ctx->avx[2].v[1] + 16 * ctx->avx[2].v[2] + in fletcher_4_avx2_fini() [all …]
|
/freebsd/share/mk/ |
H A D | bsd.cpu.mk | 143 MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 146 MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 148 MACHINE_CPU = xop avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 150 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 152 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 154 MACHINE_CPU = avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 181 MACHINE_CPU = avx512 avx2 avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586 f16c 185 MACHINE_CPU = avx2 avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586 f16c 187 MACHINE_CPU = avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586 f16c 189 MACHINE_CPU = avx sse42 sse41 ssse3 sse3 sse2 sse i686 mmx i586 [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | BuiltinsX86.def | 401 TARGET_BUILTIN(__builtin_ia32_vgf2p8affineinvqb_v32qi, "V32cV32cV32cIc", "ncV:256:", "avx,gfni") 404 TARGET_BUILTIN(__builtin_ia32_vgf2p8affineqb_v32qi, "V32cV32cV32cIc", "ncV:256:", "avx,gfni") 407 TARGET_BUILTIN(__builtin_ia32_vgf2p8mulb_v32qi, "V32cV32cV32c", "ncV:256:", "avx,gfni") 418 TARGET_BUILTIN(__builtin_ia32_addsubpd256, "V4dV4dV4d", "ncV:256:", "avx") 419 TARGET_BUILTIN(__builtin_ia32_addsubps256, "V8fV8fV8f", "ncV:256:", "avx") 420 TARGET_BUILTIN(__builtin_ia32_haddpd256, "V4dV4dV4d", "ncV:256:", "avx") 421 TARGET_BUILTIN(__builtin_ia32_hsubps256, "V8fV8fV8f", "ncV:256:", "avx") 422 TARGET_BUILTIN(__builtin_ia32_hsubpd256, "V4dV4dV4d", "ncV:256:", "avx") 423 TARGET_BUILTIN(__builtin_ia32_haddps256, "V8fV8fV8f", "ncV:256:", "avx") 424 TARGET_BUILTIN(__builtin_ia32_maxpd256, "V4dV4dV4d", "ncV:256:", "avx") [all …]
|
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | aesni-sha256-x86_64.pl | 61 $avx = ($1>=2.19) + ($1>=2.22); 64 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 66 $avx = ($1>=2.09) + ($1>=2.10); 69 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 71 $avx = ($1>=10) + ($1>=12); 74 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 75 $avx = ($2>=3.0) + ($2>3.0); 78 $shaext=$avx; ### set to zero if compiling for 1.0.1 79 $avx=1 if (!$shaext && $avx); 130 if ($avx) { [all …]
|
H A D | aesni-mb-x86_64.pl | 62 $avx=0; 66 $avx = ($1>=2.19) + ($1>=2.22); 69 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 71 $avx = ($1>=2.09) + ($1>=2.10); 74 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 76 $avx = ($1>=10) + ($1>=11); 79 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 80 $avx = ($2>=3.0) + ($2>3.0); 119 $code.=<<___ if ($avx); 401 $code.=<<___ if ($avx); [all …]
|
H A D | aesni-sha1-x86_64.pl | 103 $avx=1 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1` 106 $avx=1 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 109 $avx=1 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 112 $avx=1 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+… 147 $code.=<<___ if ($avx); 852 $code.=<<___ if ($avx); 1054 if ($avx) { 2047 $code.=<<___ if ($avx); 2065 $code.=<<___ if ($avx);
|
/freebsd/sys/modules/blake2/ |
H A D | Makefile | 34 SRCS_IN += blake2b-avx.c 39 SRCS_IN += blake2s-avx.c 53 CFLAGS.blake2b-avx.c += -DSUFFIX=_avx -msse2 -mssse3 -msse4.1 -mavx 54 CFLAGS.blake2s-avx.c += -DSUFFIX=_avx -msse2 -mssse3 -msse4.1 -mavx
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha256-mb-x86_64.pl | 59 $avx=0; 63 $avx = ($1>=2.19) + ($1>=2.22); 66 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 68 $avx = ($1>=2.09) + ($1>=2.10); 71 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 73 $avx = ($1>=10) + ($1>=11); 76 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 77 $avx = ($2>=3.0) + ($2>3.0); 260 $code.=<<___ if ($avx); 800 if ($avx) {{{ [all …]
|
H A D | sha1-mb-x86_64.pl | 58 $avx=0; 62 $avx = ($1>=2.19) + ($1>=2.22); 65 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 67 $avx = ($1>=2.09) + ($1>=2.10); 70 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 72 $avx = ($1>=10) + ($1>=11); 75 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 76 $avx = ($2>=3.0) + ($2>3.0); 379 $code.=<<___ if ($avx); 799 if ($avx) {{{ [all …]
|
H A D | sha512-x86_64.pl | 126 $avx = ($1>=2.19) + ($1>=2.22); 129 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 131 $avx = ($1>=2.09) + ($1>=2.10); 134 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 136 $avx = ($1>=10) + ($1>=11); 139 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 140 $avx = ($2>=3.0) + ($2>3.0); 144 $avx=1 if (!$shaext && $avx); 278 $code.=<<___ if ($SZ==4 || $avx); 288 $code.=<<___ if ($avx && $SZ==8); [all …]
|
H A D | sha1-x86_64.pl | 110 $avx = ($1>=2.19) + ($1>=2.22); 113 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 115 $avx = ($1>=2.09) + ($1>=2.10); 118 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 120 $avx = ($1>=10) + ($1>=11); 123 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 124 $avx = ($2>=3.0) + ($2>3.0); 128 $avx=1 if (!$shaext && $avx); 275 $code.=<<___ if ($avx>1); 280 $code.=<<___ if ($avx); [all …]
|
H A D | sha256-586.pl | 80 $xmm=$avx=0; 85 $avx = ($1>=2.19) + ($1>=2.22); 88 if ($xmm && !$avx && $ARGV[0] eq "win32n" && 90 $avx = ($1>=2.03) + ($1>=2.10); 93 if ($xmm && !$avx && $ARGV[0] eq "win32" && 95 $avx = ($1>=10) + ($1>=11); 98 if ($xmm && !$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|based on LLVM) ([0-9]+\.[0-9]+)… 99 $avx = ($2>=3.0) + ($2>3.0); 233 &je (&label("AVX")) if ($avx); 980 if ($avx) { [all …]
|
/freebsd/crypto/openssl/crypto/modes/asm/ |
H A D | aesni-gcm-x86_64.pl | 57 $avx = ($1>=2.20) + ($1>=2.22); 60 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 62 $avx = ($1>=2.09) + ($1>=2.10); 65 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 67 $avx = ($1>=10) + ($1>=11); 70 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 71 $avx = ($2>=3.0) + ($2>3.0); 78 if ($avx>1) {{{
|
H A D | ghash-x86_64.pl | 107 $avx = ($1>=2.20) + ($1>=2.22); 110 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 112 $avx = ($1>=2.09) + ($1>=2.10); 115 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 117 $avx = ($1>=10) + ($1>=11); 120 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 121 $avx = ($2>=3.0) + ($2>3.0); 1031 if ($avx) { 1189 if ($avx) { 1782 $code.=<<___ if ($avx);
|
/freebsd/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-x86_64.pl | 80 $avx = ($1>=2.19) + ($1>=2.22) + ($1>=2.25) + ($1>=2.26); 83 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 85 $avx = ($1>=2.09) + ($1>=2.10) + 2 * ($1>=2.12); 86 $avx += 2 if ($1==2.11 && $2>=8); 89 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 91 $avx = ($1>=10) + ($1>=12); 94 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 95 $avx = ($2>=3.0) + ($2>3.0); 185 $code.=<<___ if ($avx); 193 $code.=<<___ if ($avx>1); [all …]
|
H A D | poly1305-x86.pl | 54 $sse2=$avx=0; 65 $avx = ($1>=2.19) + ($1>=2.22); 68 if (!$avx && $ARGV[0] eq "win32n" && 70 $avx = ($1>=2.09) + ($1>=2.10); 73 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|based on LLVM) ([0-9]+\.[0-9]+)/) { 74 $avx = ($2>=3.0) + ($2>3.0); 119 if ($avx>1) { 1231 if ($avx>1) {
|
/freebsd/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-x86_64.pl | 75 $avx = ($1>=2.19) + ($1>=2.22) + ($1>=2.25); 78 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 80 $avx = ($1>=2.09) + ($1>=2.10) + ($1>=2.12); 81 $avx += 1 if ($1==2.11 && $2>=8); 84 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 86 $avx = ($1>=10) + ($1>=11); 89 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|.*based on LLVM) ([0-9]+\.[0-9]+)/) { 90 $avx = ($2>=3.0) + ($2>3.0); 262 $code.=<<___ if ($avx>2); 487 $code.=<<___ if ($avx); [all …]
|
/freebsd/sys/contrib/openzfs/include/ |
H A D | zfs_fletcher.h | 103 zfs_fletcher_avx_t avx[4]; member
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | rsaz-avx2.pl | 54 $avx = ($1>=2.19) + ($1>=2.22); 58 if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) && 60 $avx = ($1>=2.09) + ($1>=2.10); 64 if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 66 $avx = ($1>=10) + ($1>=11); 70 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:clang|LLVM) version|based on LLVM) ([0-9]+)\.([0-9]+)/) { 72 $avx = ($ver>=3.0) + ($ver>=3.01); 80 if ($avx>1) {{{
|
/freebsd/sys/conf/ |
H A D | kern.mk | 130 CFLAGS.clang+= -mno-aes -mno-avx 192 CFLAGS.clang+= -mno-aes -mno-avx
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | cpu.h | 145 C(avx, 28)
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | cpu.h | 143 C(avx, 28)
|
/freebsd/crypto/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-x86_64.pl | 61 $avx = ($1>=2.19) + ($1>=2.22); 67 $avx = ($1>=2.09) + ($1>=2.10); 73 $avx = ($1>=10) + ($1>=11); 79 $avx = ($ver>=3.0) + ($ver>=3.01); 2597 $code.=<<___ if ($avx>1); 2717 $code.=<<___ if ($avx>1); 2798 if ($avx>1) { 2903 if ($avx>1) { 4534 $code.=<<___ if ($avx>1); 4655 $code.=<<___ if ($avx>1);
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | simd.h | 215 CPUID_FEATURE_CHECK(avx, AVX);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | X86TargetParser.def | 150 X86_FEATURE_COMPAT(AVX, "avx", 12)
|