summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c b/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c
new file mode 100644
index 00000000000..96c26c21ef4
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/avx512f-vmovntpd-2.c
@@ -0,0 +1,19 @@
+/* { dg-do run } */
+/* { dg-options "-mavx512f -O2" } */
+/* { dg-require-effective-target avx512f } */
+
+#include "avx512f-check.h"
+
+void static
+avx512f_test (void)
+{
+ union512d s;
+ double res[8];
+
+ s.x = _mm512_set_pd (-39578.467285, 4294967295.1, -7856.342941, 0,
+ 85632.783567, 1234.9999, 47563.234215, -1.07);
+ _mm512_stream_pd (res, s.x);
+
+ if (check_union512d (s, res))
+ abort ();
+}