Skip to content

Commit 88618ab

Browse files
committed
ggml : fix Q8_0 dot product bug (ARM)
1 parent 6496b79 commit 88618ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ggml.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,10 +3094,6 @@ static void ggml_vec_dot_q8_0_q8_0(const int n, float * restrict s, const void *
30943094
sumv0 = vmlaq_n_f32(sumv0, vcvtq_f32_s32(vaddq_s32(
30953095
vdotq_s32(vdupq_n_s32(0), v0_0, v1_0),
30963096
vdotq_s32(vdupq_n_s32(0), v0_1, v1_1))), x0->d*y0->d);
3097-
3098-
sumv1 = vmlaq_n_f32(sumv1, vcvtq_f32_s32(vaddq_s32(
3099-
vdotq_s32(vdupq_n_s32(0), v0_0, v1_1),
3100-
vdotq_s32(vdupq_n_s32(0), v0_1, v1_0))), x0->d*y0->d);
31013097
#else
31023098
const int16x8_t p0l = vmull_s8(vget_low_s8 (v0_0), vget_low_s8 (v1_0));
31033099
const int16x8_t p0h = vmull_s8(vget_high_s8(v0_0), vget_high_s8(v1_0));

0 commit comments

Comments
 (0)