mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-25 04:03:30 -05:00
6e80780d17
- disable sdrangelbench on windows with MSVC - fix cpu flags test code for MSVC - add ico file
19 lines
367 B
C++
19 lines
367 B
C++
#include <signal.h>
|
|
#include <stdlib.h>
|
|
#include <emmintrin.h>
|
|
#include <smmintrin.h>
|
|
|
|
void signalHandler(int signum) {
|
|
exit(signum); // SIGILL = 4
|
|
}
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
signal(SIGILL, signalHandler);
|
|
__m128i x = _mm_setzero_si128();
|
|
__m128i a = _mm_setzero_si128();
|
|
__m128i b = _mm_setzero_si128();
|
|
x=_mm_blend_epi16(a,b,4);
|
|
return 0;
|
|
}
|