提交 ce89a79e 编写于 作者: Y yiicy 提交者: GitHub

fix ios demo build error, test=develop (#2579)

上级 8ca568b7
...@@ -167,7 +167,7 @@ void pooling_basic(const float* din, ...@@ -167,7 +167,7 @@ void pooling_basic(const float* din,
"ld1 {v2.4s-v3.4s}, [%[data_in_channel]], #32 \n" \ "ld1 {v2.4s-v3.4s}, [%[data_in_channel]], #32 \n" \
"fmax v6.4s, v4.4s, v5.4s \n" \ "fmax v6.4s, v4.4s, v5.4s \n" \
"subs %w[cnt], %w[cnt], #1 \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" "bne 1b \n"
#define GLOBAL_AVG \ #define GLOBAL_AVG \
"1: \n" \ "1: \n" \
...@@ -176,7 +176,7 @@ void pooling_basic(const float* din, ...@@ -176,7 +176,7 @@ void pooling_basic(const float* din,
"ld1 {v0.4s-v1.4s}, [%[data_in_channel]], #32 \n" \ "ld1 {v0.4s-v1.4s}, [%[data_in_channel]], #32 \n" \
"fadd %[vsum].4s, %[vsum].4s, v3.4s \n" \ "fadd %[vsum].4s, %[vsum].4s, v3.4s \n" \
"subs %w[cnt], %w[cnt], #1 \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" \ "ld1 {v2.4s-v3.4s}, [%[data_in_channel]], #32 \n" \
"bne 1b \n" "bne 1b \n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册