Skip to content

Commit 7027018

Browse files
committed
test-suite: divide avx512 tests to instruction set subdirectories
Summary: This patch separates current avx512 tests to avx512f, avx512bw and other instruction set directories. This allows to specify tests sets on specific avx512 hardware, for example, knl. Reviewers: RKSimon, MatzeB, craig.topper Reviewed By: RKSimon Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D55603 llvm-svn: 349039
1 parent a4755f4 commit 7027018

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+23
-18
lines changed

SingleSource/UnitTests/Vector/AVX512/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

SingleSource/UnitTests/Vector/AVX512/Makefile

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
list(APPEND LDFLAGS -lm)
2+
list(APPEND CFLAGS "-march=${X86CPU_ARCH}")
3+
list(APPEND CFLAGS -fms-extensions)
4+
llvm_singlesource(PREFIX "Vector-AVX512F-")
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SingleSource/UnitTests/Vector/AVX512F/Makefile
2+
3+
DIRS =
4+
LEVEL = ../../../..
5+
CFLAGS += -fms-extensions -march=native -mavx512f
6+
LDFLAGS += -lm
7+
8+
include $(LEVEL)/SingleSource/Makefile.singlesrc
9+
10+
TARGET_FLAGS += -march=native -mavx512f
11+
LCCFLAGS += -march=native -mavx512f

0 commit comments

Comments
 (0)