summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm-avx512.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm-avx512.c')
-rw-r--r--clang/test/CodeGen/ms-inline-asm-avx512.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm-avx512.c b/clang/test/CodeGen/ms-inline-asm-avx512.c
new file mode 100644
index 00000000000..4f401e286a3
--- /dev/null
+++ b/clang/test/CodeGen/ms-inline-asm-avx512.c
@@ -0,0 +1,11 @@
+// REQUIRES: x86-registered-target
+// RUN: %clang_cc1 %s -triple x86_64-pc-windows-msvc -target-cpu knl -fasm-blocks -emit-llvm -o - | FileCheck %s
+
+void t1() {
+// CHECK: @t1
+// CHECK: call void asm sideeffect inteldialect "vaddpd zmm8, zmm27, zmm6", "~{zmm8},~{dirflag},~{fpsr},~{flags}"()
+// CHECK: ret void
+ __asm {
+ vaddpd zmm8, zmm27, zmm6
+ }
+}
OpenPOWER on IntegriCloud