summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr80425-2.c
blob: e6b15ef9a9e4d5011ffcc411b0bfd231d793a44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O2 -mavx512f -mtune=intel" } */

#include <x86intrin.h>

extern int a;

__m512i
f1 (__m512i x)
{
  return _mm512_srai_epi32 (x, a);
}

/* { dg-final { scan-assembler-times "movd\[ \\t\]+\[^\n\]*%xmm" 1 } } */