aboutsummaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-24 15:38:26 +0000
committerGitHub <noreply@github.com>2023-04-24 15:38:26 +0000
commit2ec83428de7a876ecbbe484e1de42b73b5a40e25 (patch)
tree3d61cc1577d09c2de126b521bb1e6b707800dd8c /ggml.c
parente4cf982e0d4fcfbb4b977a52dbeacd115da10c3b (diff)
Fix build for gcc 8 and test in CI (#1154)
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index f8f73af..6e46c0e 100644
--- a/ggml.c
+++ b/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 );