From ce3a03692e2ef459a1f29be8736286399b662763 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 15 Oct 2018 14:39:54 +0900 Subject: [PATCH] neg is ok on bls12 --- src/fp_generator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fp_generator.hpp b/src/fp_generator.hpp index 8c0fba7..84279e3 100644 --- a/src/fp_generator.hpp +++ b/src/fp_generator.hpp @@ -289,7 +289,6 @@ private: op.fp_add = getCurr(); op.fp_addA_ = getCurr(); gen_fp_add(); - if (op.N > 4) return; align(16); op.fp_shr1 = getCurr(); @@ -298,6 +297,7 @@ private: align(16); op.fp_negA_ = getCurr(); gen_fp_neg(); + if (op.N > 4) return; align(16); mulUnit_ = getCurr();