Skip to content

Commit f69b126

Browse files
authored
fix face_detect_int8 error (#6566)
1 parent 92fc2f5 commit f69b126

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lite/backends/arm/math/conv3x3s1_depthwise_int8.cc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,11 @@ namespace math {
151151
"st1 {v14.8b}, [%[ptr_out1]], #8 \n"
152152

153153
#define MID_COMPUTE_S1 \
154+
"movi v10.4s, #0x0\n" \
155+
"movi v11.4s, #0x0\n" \
154156
"movi v12.4s, #0x0\n" \
155157
"movi v13.4s, #0x0\n" \
158+
"movi v21.4s, #0x0\n" \
156159
"cmp %[cnt], #1 \n" \
157160
"blt 3f \n" \
158161
"1: \n" \
@@ -335,8 +338,11 @@ namespace math {
335338
"st1 {v18.8b}, [%[ptr_out1]], #8 \n"
336339

337340
#define RIGHT_COMPUTE_S1 \
338-
"movi v12.4s, #0x0 \n" \
339-
"movi v13.4s, #0x0 \n" \
341+
"movi v10.4s, #0x0\n" \
342+
"movi v11.4s, #0x0\n" \
343+
"movi v12.4s, #0x0\n" \
344+
"movi v13.4s, #0x0\n" \
345+
"movi v21.4s, #0x0\n" \
340346
"bne 1b \n" \
341347
"3: \n" \
342348
"ld1 {v20.16b}, [%[vmask]] \n" \

0 commit comments

Comments
 (0)