mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Align cast fixed for __mm128i gcc complained
This commit is contained in:
		@@ -343,7 +343,7 @@ namespace Optimization {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    static inline void  HtoS (__m128i h,__m128 &sa,__m128 &sb) {
 | 
					    static inline void  HtoS (__m128i h,__m128 &sa,__m128 &sb) {
 | 
				
			||||||
      sa = _mm_cvtph_ps(h); 
 | 
					      sa = _mm_cvtph_ps(h); 
 | 
				
			||||||
      h = (__m128)_mm_alignr_epi32((__m128i)h,(__m128i)h,2);
 | 
					      h =  (__m128i)_mm_alignr_epi32((__m128i)h,(__m128i)h,2);
 | 
				
			||||||
      sb = _mm_cvtph_ps(h);
 | 
					      sb = _mm_cvtph_ps(h);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    static inline __m128 DtoS (__m128d a,__m128d b) {
 | 
					    static inline __m128 DtoS (__m128d a,__m128d b) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user