From 9804e80a2346c4d24f576f9f6f2d9e8682a27edf Mon Sep 17 00:00:00 2001 From: chenjiaoAngel Date: Mon, 20 Apr 2020 19:14:40 +0800 Subject: [PATCH] fix build error --- lite/backends/arm/math/gemm_prepacked_int8.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lite/backends/arm/math/gemm_prepacked_int8.cc b/lite/backends/arm/math/gemm_prepacked_int8.cc index ef162972c2..a4461061ef 100644 --- a/lite/backends/arm/math/gemm_prepacked_int8.cc +++ b/lite/backends/arm/math/gemm_prepacked_int8.cc @@ -484,9 +484,9 @@ inline void gemm_int8_kernel(const int8_t* a_ptr, #define GEMM_INT8_RELU \ /* do relu */ \ - "cmp %w[flag_act], #0\n" /* skip relu */ \ + "cmp %w[is_relu], #0\n" /* skip relu */ \ "beq 9f \n" /* no act end */ \ - "cmp %w[flag_act], #1\n" /* skip relu */ \ + "cmp %w[is_relu], #1\n" /* skip relu */ \ "beq 10f \n" /* other act */ \ "movi v0.4s, #0\n" /* for relu */ \ "fmax v16.4s, v16.4s, v0.4s\n" /* relu */ \ @@ -510,7 +510,7 @@ inline void gemm_int8_kernel(const int8_t* a_ptr, #define GEMM_INT8_RELU6 \ /* do relu6 */ \ "10: \n" \ - "cmp %w[flag_act], #2 \n" /* check relu6 */ \ + "cmp %w[is_relu], #2 \n" /* check relu6 */ \ "beq 11f \n" /* no act end */ \ "movi v0.4s, #0\n" /* for relu6 */ \ "fmax v16.4s, v16.4s, v0.4s\n" /* relu */ \ -- GitLab