summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/crc32-3.c
blob: ac53b6579a0f54eb5fcdefd4e93ceebb5e8ae009 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2 -mcrc32 -std=gnu89" } */
/* { 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);
}