mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-08-21 05:26:34 -04:00
- disable sdrangelbench on windows with MSVC - fix cpu flags test code for MSVC - add ico file
16 lines
257 B
C++
16 lines
257 B
C++
#include <signal.h>
|
|
#include <stdlib.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;
|
|
}
|