mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-04 05:30:32 -05:00 
			
		
		
		
	- disable sdrangelbench on windows with MSVC - fix cpu flags test code for MSVC - add ico file
		
			
				
	
	
		
			17 lines
		
	
	
		
			292 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			292 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include <signal.h>
 | 
						|
#include <stdlib.h>
 | 
						|
#include <emmintrin.h>
 | 
						|
#include <pmmintrin.h>
 | 
						|
 | 
						|
void signalHandler(int signum) {
 | 
						|
    exit(signum); // SIGILL = 4
 | 
						|
}
 | 
						|
 | 
						|
int main(int argc, char* argv[])
 | 
						|
{
 | 
						|
    signal(SIGILL, signalHandler);
 | 
						|
	__m128d x = _mm_setzero_pd();
 | 
						|
	x=_mm_addsub_pd(x,x);
 | 
						|
	return 0;
 | 
						|
}
 |