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
		
			
				
	
	
		
			17 lines
		
	
	
		
			312 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			312 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <stdint.h>
 | |
| #include <stdlib.h>
 | |
| #include <signal.h>
 | |
| #include <immintrin.h>
 | |
| 
 | |
| void signalHandler(int signum) {
 | |
|     exit(signum); // SIGILL = 4
 | |
| }
 | |
| 
 | |
| int main(int argc, char* argv[])
 | |
| {
 | |
|     signal(SIGILL, signalHandler);
 | |
|     uint64_t x[8] = {0};
 | |
|     __m512i y = _mm512_loadu_si512((__m512i*)x);
 | |
|     return 0;
 | |
| }
 |