aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/acle/crc_hf_1.c
blob: b9c036a2c5ca94c7733623c0f4efbbe120042b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test that using an Armv8-a hard-float target doesn't
   break CRC intrinsics.  */

/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8a_crc_hard_ok }  */
/* { dg-add-options arm_arch_v8a_crc_hard }*/

#include <arm_acle.h>

uint32_t
foo (uint32_t a, uint32_t b)
{
  return __crc32cw (a, b);
}