Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / gcc.target / arm / crypto-vsha1cq_u32.c
blob4dc9dee6617efba4788d0b2273bd84511b28a34f
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 uint32_t hash = 0xdeadbeef;
11 uint32x4_t a = {0, 1, 2, 3};
12 uint32x4_t b = {3, 2, 1, 0};
14 uint32x4_t res = vsha1cq_u32 (a, hash, b);
15 return res[0];
18 /* { dg-final { scan-assembler "sha1c.32\tq\[0-9\]+, q\[0-9\]+" } } */