From cae4690b89a23dc9c845f3c9688b466ee43761e9 Mon Sep 17 00:00:00 2001 From: zhangyang Date: Sat, 20 Oct 2018 11:45:41 +0800 Subject: [PATCH] recover gemm_int8 --- src/operators/math/gemm_int8.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operators/math/gemm_int8.cpp b/src/operators/math/gemm_int8.cpp index aacf24d058..bd5286dbcb 100644 --- a/src/operators/math/gemm_int8.cpp +++ b/src/operators/math/gemm_int8.cpp @@ -652,7 +652,7 @@ void Gemm::WriteBasic(int32_t mc, int32_t nc, int32_t *c, int32_t *C, int32_t *C0, *c0; c_ptr = c; C_ptr = C; - /*if (nc1 > 0) { + if (nc1 > 0) { asm volatile( "subs %[mc], %[mc], #1 \n\t" "blt end_mc_%= \n\t" @@ -684,7 +684,7 @@ void Gemm::WriteBasic(int32_t mc, int32_t nc, int32_t *c, int32_t *C, : [C_ptr] "r"(C_ptr), [c_ptr] "r"(c_ptr), [mc] "r"(m), [nc1] "r"(nc1), [step] "r"(step), [step1] "r"(step1) : "memory", "r5", "r6", "q0", "q1", "q2", "q3"); - }*/ + } if (_nc1 != 0) { for (int32_t i = 0; i < mc; i++) { -- GitLab