2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / crypto-vsha256su0q_u32.c
blobcc4305d38b55f742e67439c65f7efa6861613754
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_crypto_ok } */
3 /* { dg-add-options arm_crypto } */
5 #include "arm_neon.h"
7 int
8 foo (void)
10 uint32x4_t a = {0xd, 0xe, 0xa, 0xd};
11 uint32x4_t b = {0, 1, 2, 3};
13 uint32x4_t res = vsha256su0q_u32 (a, b);
14 return res[0];
17 /* { dg-final { scan-assembler "sha256su0.32\tq\[0-9\]+, q\[0-9\]+" } } */