aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/crc32-3.c
blob: 7518a45269c7e5e6d671b3819bb50258168dc85d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2 -mcrc32" } */
/* { dg-final { scan-assembler "__builtin_ia32_crc32di" } } */

unsigned long long
crc32d (unsigned long long x, unsigned long long y)
{
  return __builtin_ia32_crc32di (x, y);
}