Fix build for gcc 8 and test in CI (#1154)
This commit is contained in:
parent
e4cf982e0d
commit
2ec83428de
2 changed files with 6 additions and 6 deletions
2
ggml.c
2
ggml.c
|
@ -436,7 +436,7 @@ static const size_t CACHE_LINE_SIZE_F32 = CACHE_LINE_SIZE/sizeof(float);
|
|||
static inline __m128i bytes_from_nibbles_16(const uint8_t * rsi)
|
||||
{
|
||||
// Load 8 bytes from memory
|
||||
__m128i tmp = _mm_loadu_si64( ( const __m128i* )rsi );
|
||||
__m128i tmp = _mm_loadl_epi64( ( const __m128i* )rsi );
|
||||
|
||||
// Expand bytes into uint16_t values
|
||||
__m128i bytes = _mm_cvtepu8_epi16( tmp );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue