1 /* Test the crc32b ACLE intrinsic.  */
2 
3 /* { dg-do assemble } */
4 /* { dg-require-effective-target arm_crc_ok } */
5 /* { dg-options "-save-temps -O0" } */
6 /* { dg-add-options arm_crc } */
7 
8 #include "arm_acle.h"
9 
test_crc32b(void)10 void test_crc32b (void)
11 {
12   uint32_t out_uint32_t;
13   uint32_t arg0_uint32_t;
14   uint8_t arg1_uint8_t;
15 
16   out_uint32_t = __crc32b (arg0_uint32_t, arg1_uint8_t);
17 }
18 
19 /* { dg-final { scan-assembler "crc32b\t...?, ...?, ...?\n" } } */
20