aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/avx512f-vmovntps-2.c
blob: 9f4c7cb5ab2f2291f9e1aeec1847f0b75d0b31b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do run } */
/* { dg-options "-mavx512f -O2" } */
/* { dg-require-effective-target avx512f } */

#include "avx512f-check.h"

void static
avx512f_test (void)
{
  union512 s;
  float res[16];

  s.x = _mm512_set_ps (-39578.467285, 4294967295.1, -7856.342941, 0,
		       85632.783567, 1234.9999, 47563.234215, -1.07,
		       3453.65743, -1234.9999, 67.234, -1,
		       0.336624, 34534543, 4345.234234, -1.07234234);

  _mm512_stream_ps (res, s.x);

  if (check_union512 (s, res))
    abort ();
}