Merge from trunk
[official-gcc.git] / gcc / testsuite / gcc.target / arm / acle / crc32h.c
blobc21a4ae3e31cdacece560ed2484723d9f738910b
1 /* Test the crc32h ACLE intrinsic. */
3 /* { dg-do assemble } */
4 /* { dg-require-effective-target arm_crc_ok } */
5 /* { dg-options "-save-temps -O0" } */
6 /* { dg-add-options arm_crc } */
8 #include "arm_acle.h"
10 void test_crc32h (void)
12 uint32_t out_uint32_t;
13 uint32_t arg0_uint32_t;
14 uint16_t arg1_uint16_t;
16 out_uint32_t = __crc32h (arg0_uint32_t, arg1_uint16_t);
19 /* { dg-final { scan-assembler "crc32h\t...?, ...?, ...?\n" } } */
20 /* { dg-final { cleanup-saved-temps } } */