Debian Codegraph @

gcc/testsuite/gcc.target/arm/acle/crc_hf_1.c

raw
1 /* Test that using an Armv8-a hard-float target doesn't
2 break CRC intrinsics. */
3
4 /* { dg-do compile } */
5 /* { dg-require-effective-target arm_arch_v8a_crc_hard_ok } */
6 /* { dg-add-options arm_arch_v8a_crc_hard }*/
7
8 #include <arm_acle.h>
9
10 uint32_t
11 foo (uint32_t a, uint32_t b)
12 {
13 return __crc32cw (a, b);
14 }