Skip to content

Commit

Permalink
fix face_detect_int8 error (#6566)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingjing1 authored Jul 28, 2021
1 parent 92fc2f5 commit f69b126
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lite/backends/arm/math/conv3x3s1_depthwise_int8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,11 @@ namespace math {
"st1 {v14.8b}, [%[ptr_out1]], #8 \n"

#define MID_COMPUTE_S1 \
"movi v10.4s, #0x0\n" \
"movi v11.4s, #0x0\n" \
"movi v12.4s, #0x0\n" \
"movi v13.4s, #0x0\n" \
"movi v21.4s, #0x0\n" \
"cmp %[cnt], #1 \n" \
"blt 3f \n" \
"1: \n" \
Expand Down Expand Up @@ -335,8 +338,11 @@ namespace math {
"st1 {v18.8b}, [%[ptr_out1]], #8 \n"

#define RIGHT_COMPUTE_S1 \
"movi v12.4s, #0x0 \n" \
"movi v13.4s, #0x0 \n" \
"movi v10.4s, #0x0\n" \
"movi v11.4s, #0x0\n" \
"movi v12.4s, #0x0\n" \
"movi v13.4s, #0x0\n" \
"movi v21.4s, #0x0\n" \
"bne 1b \n" \
"3: \n" \
"ld1 {v20.16b}, [%[vmask]] \n" \
Expand Down

0 comments on commit f69b126

Please sign in to comment.