aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/avx512f-rounding.c
blob: 254e3a418f1c1ea47d5991d4bbfd5f1522d23fac (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O0 -mavx512f" } */

#include <x86intrin.h>

int
test_rounding (__m128d x, int r)
{
  return _mm_cvt_roundsd_i32 (x, r); /* { dg-error "incorrect rounding operand." } */
}