summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/crc32-3.c
blob: e77d7d99d1f5e752ceda4122425a7d059d33e1b4 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { 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);
}