File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ static const size_t CACHE_LINE_SIZE_F32 = CACHE_LINE_SIZE/sizeof(float);
364
364
#if __AVX2__
365
365
// Unpack 32 4-bit fields into 32 bytes
366
366
// The output vector contains 32 bytes, each one in [ 0 .. 15 ] interval
367
- inline __m256i bytesFromNibbles ( const uint8_t * rsi )
367
+ static inline __m256i bytesFromNibbles ( const uint8_t * rsi )
368
368
{
369
369
// Load 16 bytes from memory
370
370
__m128i tmp = _mm_loadu_si128 ( ( const __m128i * )rsi );
@@ -381,7 +381,7 @@ inline __m256i bytesFromNibbles( const uint8_t* rsi )
381
381
return bytes ;
382
382
}
383
383
384
- inline __m128i packNibbles ( __m256i bytes )
384
+ static inline __m128i packNibbles ( __m256i bytes )
385
385
{
386
386
// Move bits within 16-bit lanes from 0000_abcd_0000_efgh into 0000_0000_abcd_efgh
387
387
const __m256i lowByte = _mm256_set1_epi16 ( 0xFF );
You can’t perform that action at this time.
0 commit comments