H.J. Lu
ef8adeb041
x86: Add MathVec_Prefer_No_AVX512 to cpu-features [BZ #21967 ]
...
AVX512 functions in mathvec are used on machines with AVX512. An AVX2
wrapper is also provided and it can be used when the AVX512 version
isn't profitable. MathVec_Prefer_No_AVX512 is addded to cpu-features.
If glibc.tune.hwcaps=MathVec_Prefer_No_AVX512 is set in GLIBC_TUNABLES
environment variable, the AVX2 wrapper will be used.
Tested on x86-64 machines with and without AVX512. Also verified
glibc.tune.hwcaps=MathVec_Prefer_No_AVX512 on AVX512 machine.
[BZ #21967 ]
* sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
New.
(index_arch_MathVec_Prefer_No_AVX512): Likewise.
* sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
Handle MathVec_Prefer_No_AVX512.
* sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
(IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
is set.
2017-09-12 07:54:47 -07:00
..
2014-07-17 14:31:12 +00:00
2017-09-12 07:54:47 -07:00
2017-09-06 14:35:23 -03:00
2017-04-04 18:03:35 -03:00
2017-04-04 18:03:35 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-06 09:41:56 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-28 11:31:50 +00:00
2017-06-28 11:31:50 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-31 16:59:37 +02:00
2017-06-14 10:47:25 +09:30
2017-04-10 12:01:45 -07:00
2017-07-06 04:43:20 -07:00
2017-07-06 04:43:20 -07:00
2017-08-31 16:59:37 +02:00
2017-01-01 00:14:16 +00:00
2017-03-21 11:00:12 -07:00
2017-03-21 11:00:12 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-26 22:02:24 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-05-30 10:50:21 -07:00
2017-08-10 16:54:57 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-11 08:18:32 -07:00
2017-06-09 05:13:31 -07:00
2017-01-01 00:14:16 +00:00
2016-06-09 04:38:34 -07:00
2017-01-01 00:14:16 +00:00
2016-06-08 13:58:08 -07:00
2017-01-01 00:14:16 +00:00
2017-08-04 12:27:18 -07:00
2017-03-15 16:10:05 -07:00
2016-06-08 13:58:08 -07:00
2017-06-05 07:41:26 -07:00
2017-01-01 00:14:16 +00:00
2017-08-04 10:56:51 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-20 06:13:38 -07:00
2017-01-01 00:14:16 +00:00
2017-07-06 04:43:20 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-06-20 19:50:16 -07:00
2017-01-01 00:14:16 +00:00
2017-08-02 10:27:34 -07:00
2017-06-20 20:30:06 -04:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-15 08:59:05 -07:00
2017-06-05 07:58:23 -07:00
2017-06-20 20:30:06 -04:00
2017-06-15 08:59:05 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-07-06 04:43:20 -07:00
2017-08-31 16:59:37 +02:00
2017-07-06 04:43:20 -07:00
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-11-05 15:24:08 +05:30
2015-07-15 15:10:23 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-01-01 00:14:16 +00:00
2017-02-16 17:33:18 -05:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2015-08-19 05:37:01 -07:00
2015-08-19 05:37:01 -07:00
2017-02-09 12:19:58 -08:00
2017-02-09 12:19:58 -08:00
2017-01-01 00:14:16 +00:00
2017-09-11 08:18:32 -07:00
2017-09-11 08:18:32 -07:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-05 11:09:59 -07:00
2017-06-05 11:09:59 -07:00
2016-06-09 04:38:34 -07:00