2019-04-23 07:43:07 +00:00
|
|
|
#include <signal.h>
|
2019-05-24 06:32:40 +00:00
|
|
|
#include <stdlib.h>
|
2019-04-15 19:43:48 +00:00
|
|
|
#include <emmintrin.h>
|
|
|
|
#include <smmintrin.h>
|
2019-04-23 07:43:07 +00:00
|
|
|
|
|
|
|
void signalHandler(int signum) {
|
|
|
|
exit(signum); // SIGILL = 4
|
|
|
|
}
|
|
|
|
|
2019-04-15 19:43:48 +00:00
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
2019-04-23 07:43:07 +00:00
|
|
|
signal(SIGILL, signalHandler);
|
2019-04-15 19:43:48 +00:00
|
|
|
__m128i x = _mm_setzero_si128();
|
|
|
|
__m128i a = _mm_setzero_si128();
|
|
|
|
__m128i b = _mm_setzero_si128();
|
|
|
|
x=_mm_blend_epi16(a,b,4);
|
|
|
|
return 0;
|
|
|
|
}
|