mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set
Checked on x86_64-linux-gnu.
This commit is contained in:
parent
053fe27343
commit
cbc2c56bab
@ -75,7 +75,7 @@ ifeq ($(subdir)$(config-cflags-mprefer-vector-width),mathyes)
|
|||||||
CFLAGS-branred.c = -mprefer-vector-width=128
|
CFLAGS-branred.c = -mprefer-vector-width=128
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),benchtests)
|
ifeq ($(subdir)$(build-mathvec),benchtestsyes)
|
||||||
double-vlen4-arch-ext-cflags = -mavx
|
double-vlen4-arch-ext-cflags = -mavx
|
||||||
double-vlen4-arch-ext2-cflags = -mavx2
|
double-vlen4-arch-ext2-cflags = -mavx2
|
||||||
double-vlen8-arch-ext-cflags = -mavx512f
|
double-vlen8-arch-ext-cflags = -mavx512f
|
||||||
|
Loading…
Reference in New Issue
Block a user