summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/crc32-6.c
blob: 7f2b42df3a2fcb20976d37339c3e620586a9b7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/101549 */
/* { dg-do compile } */
/* { dg-options "-O2 -msse4 -mno-crc32" } */

#include <immintrin.h>

unsigned int
test_mm_crc32_u8 (unsigned int CRC, unsigned char V)
{
  return _mm_crc32_u8 (CRC, V);
}

/* { dg-error "target specific option mismatch" "" { target *-*-* } 0  } */