summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/crc32-4.c
blob: 65ef4aa1a9683c738f45b48c013c91e664b0760c (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2 -mno-sse4.2 -mno-crc32" } */
/* { 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);
}