Skip to content

Commit 717f1f2

Browse files
committed
[ggml-quants] Limit neon to arm v8 where applicable
vqtbl1q_u8 is not part of arm v7 neon library
1 parent 1289408 commit 717f1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-quants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9452,7 +9452,7 @@ void ggml_vec_dot_iq3_s_q8_K (int n, float * GGML_RESTRICT s, size_t bs, const v
94529452

94539453
const int nb = n / QK_K;
94549454

9455-
#if defined(__ARM_NEON)
9455+
#if defined(__ARM_NEON) && (__ARM_ARCH >= 8)
94569456

94579457
static const uint8_t k_mask1[32] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
94589458
0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03

0 commit comments

Comments
 (0)