mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04:00 
			
		
		
		
	- disable sdrangelbench on windows with MSVC - fix cpu flags test code for MSVC - add ico file
		
			
				
	
	
		
			16 lines
		
	
	
		
			275 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			275 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <signal.h>
 | |
| #include <stdlib.h>
 | |
| #include <immintrin.h>
 | |
| 
 | |
| void signalHandler(int signum) {
 | |
|     exit(signum); // SIGILL = 4
 | |
| }
 | |
| 
 | |
| int main(int argc, char* argv[])
 | |
| {
 | |
|     signal(SIGILL, signalHandler);
 | |
| 	__m256d x = _mm256_setzero_pd();
 | |
| 	x=_mm256_addsub_pd(x,x);
 | |
| 	return 0;
 | |
| }
 |