summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sha1nexte-1.c
blob: 40edc780ffe97bdc8d05c0ccad7aced492fffaf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2 -msha" } */
/* { dg-final { scan-assembler "sha1nexte\[ \\t\]+\[^\n\]*%xmm\[0-9\]" } } */

#include <immintrin.h>

volatile __m128i x;

void extern
sha_test (void)
{
  x = _mm_sha1nexte_epu32 (x, x);
}