gcc/testsuite/gcc.target/i386/crc32-6.c
raw| 1 | /* PR target/101549 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -msse4 -mno-crc32" } */ |
| 4 | |
| 5 | #include <immintrin.h> |
| 6 | |
| 7 | unsigned int |
| 8 | test_mm_crc32_u8 (unsigned int CRC, unsigned char V) |
| 9 | { |
| 10 | return _mm_crc32_u8 (CRC, V); |
| 11 | } |
| 12 | |
| 13 | /* { dg-error "target specific option mismatch" "" { target *-*-* } 0 } */ |