summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr50788.c
blob: 29a19634cc044ca250a7a3a2daf1eb2de45c9e4c (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -mavx -fpeel-loops -fstack-protector-all" } */

typedef long long __m256i __attribute__ ((__vector_size__ (32)));
typedef double __m256d __attribute__ ((__vector_size__ (32)));

__m256d foo (__m256d *__P, __m256i __M)
{
  return __builtin_ia32_maskloadpd256 ( __P, __M);
}