mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it
This commit is contained in:
		
							parent
							
								
									438dba40c1
								
							
						
					
					
						commit
						535947a0e1
					
				@ -24,19 +24,6 @@ template<> struct CompileTimeAssert<true> {};
 | 
			
		||||
 | 
			
		||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
 | 
			
		||||
 | 
			
		||||
#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
 | 
			
		||||
#include <emmintrin.h>
 | 
			
		||||
static __inline __m128i __attribute__((__always_inline__))
 | 
			
		||||
_mm_shuffle_epi8(__m128i a, __m128i mask)
 | 
			
		||||
{
 | 
			
		||||
    __m128i result;
 | 
			
		||||
    __asm__("pshufb %1, %0"
 | 
			
		||||
        : "=x" (result)
 | 
			
		||||
        : "xm" (mask), "0" (a));
 | 
			
		||||
    return result;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef _WIN32
 | 
			
		||||
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user