Same comments as previous patch: On 6 December 2013 17:36, Tejas Belagod <tbela...@arm.com> wrote:
> testsuite/ > * gcc.target/aarch64/sha1.c: New. Add _1 on the test case file name (see http://gcc.gnu.org/wiki/TestCaseWriting) > +static __inline uint32x4_t > +vsha1cq_u32 (uint32x4_t hash_abcd, uint32_t hash_e, uint32x4_t wk) > +{ > + return > + (uint32x4_t) __builtin_aarch64_crypto_sha1cv4si ((int32x4_t) hash_abcd, > + (int32_t) hash_e, > + (int32x4_t) wk); > +} James G fixed the infrastructure to allow properly typed builtins, see: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02005.html and http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02880.html > +/* { dg-final { scan-assembler "sha1c\\tq" } } */ Use scan-assembler-times 1 Cheers /Marcus