From 107f2083e62fb82427e14c8f535a4b74be1a05c1 Mon Sep 17 00:00:00 2001 From: Pengfei Wang Date: Mon, 12 Aug 2019 01:29:46 +0000 Subject: [X86] Support -march=tigerlake Support -march=tigerlake for x86. Compare with Icelake Client, It include 4 more new features ,they are avx512vp2intersect, movdiri, movdir64b, shstk. Patch by Xiang Zhang (xiangzhangllvm) Differential Revision: https://reviews.llvm.org/D65840 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368543 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/x86-march.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Driver/x86-march.c') diff --git a/test/Driver/x86-march.c b/test/Driver/x86-march.c index ba900bb492..87fdf624a9 100644 --- a/test/Driver/x86-march.c +++ b/test/Driver/x86-march.c @@ -76,6 +76,10 @@ // RUN: | FileCheck %s -check-prefix=icelake-server // icelake-server: "-target-cpu" "icelake-server" // +// RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=tigerlake 2>&1 \ +// RUN: | FileCheck %s -check-prefix=tigerlake +// tigerlake: "-target-cpu" "tigerlake" +// // RUN: %clang -target x86_64-unknown-unknown -c -### %s -march=lakemont 2>&1 \ // RUN: | FileCheck %s -check-prefix=lakemont // lakemont: "-target-cpu" "lakemont" -- cgit v1.2.1