Skip to content

Commit

Permalink
fix ios demo build error, test=develop (#2579)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiicy committed Dec 9, 2019
1 parent 71aa1b4 commit 0c44ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lite/backends/arm/math/pooling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void pooling_basic(const float* din,
"ld1 {v2.4s-v3.4s}, [%[data_in_channel]], #32 \n" \
"fmax v6.4s, v4.4s, v5.4s \n" \
"subs %w[cnt], %w[cnt], #1 \n" \
"fmax %w[vmax].4s, %w[vmax].4s, v6.4s \n" \
"fmax %[vmax].4s, %[vmax].4s, v6.4s \n" \
"bne 1b \n"
#define GLOBAL_AVG \
"1: \n" \
Expand All @@ -176,7 +176,7 @@ void pooling_basic(const float* din,
"ld1 {v0.4s-v1.4s}, [%[data_in_channel]], #32 \n" \
"fadd %[vsum].4s, %[vsum].4s, v3.4s \n" \
"subs %w[cnt], %w[cnt], #1 \n" \
"fadd %w[vsum].4s, %w[vsum].4s, v4.4s \n" \
"fadd %[vsum].4s, %[vsum].4s, v4.4s \n" \
"ld1 {v2.4s-v3.4s}, [%[data_in_channel]], #32 \n" \
"bne 1b \n"

Expand Down

0 comments on commit 0c44ac9

Please sign in to comment.