1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 08:21:16 -05:00
sdrangel/cmake/test/test_x86_sse42.cxx

15 lines
237 B
C++

#include <signal.h>
#include <nmmintrin.h>
void signalHandler(int signum) {
exit(signum); // SIGILL = 4
}
int main(int argc, char* argv[])
{
signal(SIGILL, signalHandler);
unsigned int x=32;
x=_mm_crc32_u8(x,4);
return 0;
}