1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_crypto_ok } */
3 /* { dg-add-options arm_crypto } */
4 
5 #include "arm_neon.h"
6 
7 int
foo(void)8 foo (void)
9 {
10   uint32x4_t a = {0xd, 0xe, 0xa, 0xd};
11   uint32x4_t b = {0, 1, 2, 3};
12 
13   uint32x4_t res = vsha256su0q_u32 (a, b);
14   return res[0];
15 }
16 
17 /* { dg-final { scan-assembler "sha256su0.32\tq\[0-9\]+, q\[0-9\]+" } } */
18