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 <pmmintrin.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
|
|
|
__m128d x = _mm_setzero_pd();
|
|
|
|
x=_mm_addsub_pd(x,x);
|
|
|
|
return 0;
|
|
|
|
}
|