@@ -5094,13 +5094,13 @@ void ggml_vec_dot_q3_K_q8_K(int n, float * restrict s, size_t bs, const void * r
50945094
50955095 const int8_t m32 = 32;
50965096 const int vector_length = svcntb()*8;
5097- const svuint8_t m3b_sv = svdup_n_u8(0X3 );
5097+ const svuint8_t m3b_sv = svdup_n_u8(0x3 );
50985098 const svint32_t vzero_sv = svdup_n_s32(0);
50995099
51005100 const svuint8_t m0_sv = svdup_n_u8(1);
5101- const svuint8_t m1_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 1);
5102- const svuint8_t m2_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 2);
5103- const svuint8_t m3_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 3);
5101+ const svuint8_t m1_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 1);
5102+ const svuint8_t m2_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 2);
5103+ const svuint8_t m3_sv = svlsl_n_u8_x(svptrue_b8(), m0_sv, 3);
51045104 svbool_t pred_s32 = svnot_b_z (svptrue_b32(), svptrue_pat_b32(SV_VL4));
51055105
51065106 float sum = 0;
@@ -5194,12 +5194,12 @@ void ggml_vec_dot_q3_K_q8_K(int n, float * restrict s, size_t bs, const void * r
51945194 sumi1_1 = svmla_s32_m(svptrue_b32(), sumi1_1, svdot_s32(vzero_sv, q3bytes_sv, q8bytes_1_sv_2), svdup_n_s32((int32_t)scale[3]));
51955195
51965196
5197- if (j== 0) {
5197+ if (j == 0) {
51985198 qhbits_sv_1 = svlsr_n_u8_x(svptrue_b8(), qhbits_sv_1, 4);
51995199 qhbits_sv_2 = svlsr_n_u8_x(svptrue_b8(), qhbits_sv_2, 4);
52005200 }
52015201
5202- scale += 4;
5202+ scale += 4;
52035203
52045204 }
52055205
@@ -5250,11 +5250,11 @@ void ggml_vec_dot_q3_K_q8_K(int n, float * restrict s, size_t bs, const void * r
52505250 sumi1_1 = svmla_s32_m(svptrue_pat_b32(SV_VL8), sumi1_1, svdot_s32(vzero_sv, q3bytes_sv, q8bytes_1_sv_2), scale_1);
52515251
52525252
5253- if (j== 0) {
5253+ if (j == 0) {
52545254 qhbits_sv = svlsr_n_u8_x(svptrue_pat_b8(SV_VL32), qhbits_sv, 4);
52555255 }
52565256
5257- scale += 4;
5257+ scale += 4;
52585258
52595259 }
52605260
0 commit comments