未验证 提交 339f912d 编写于 作者: H HappyAngel 提交者: GitHub

fix format. test=develop

上级 516b5845
......@@ -2026,7 +2026,6 @@ inline void gemm_sdot_int8_kernel(const int8_t* a_ptr,
"vadd.f32 q3, q11, q3\n" /* r21, add offset */ \
"vadd.f32 q4, q12, q4\n" /* r30, add offset */ \
"vadd.f32 q5, q13, q5\n" /* r31, add offset */ \
/*"vld1.32 {d12-d13}, [%[vmax]]\n"*/ /* set q4 = -127 \n"*/ \
"vmov.f32 q6, #-127.0\n" \
"vcge.f32 q7, q8, q6\n" /* @ q8 >= -127 \n */ \
"vcge.f32 q10, q9, q6\n" /* @ q8 >= -127 \n */ \
......@@ -2131,7 +2130,6 @@ inline void gemm_int8_kernel(const int8_t* a_ptr,
int is_relu,
int k,
int rem) {
//float vmax[4] = {-127.0, -127.0, -127.0, -127.0};
asm volatile(GEMM_INT8_KERNEL GEMM_INT8_INT8_OUT
: [a_ptr] "+r"(a_ptr),
[b_ptr] "+r"(b_ptr),
......@@ -2144,7 +2142,6 @@ inline void gemm_int8_kernel(const int8_t* a_ptr,
[alpha] "r"(alpha),
[bias] "r"(bias),
[rem] "r"(rem),
// [vmax] "r"(vmax),
[scale] "r"(scale)
: "q0",
"q1",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册