From 6d8a7d98300e25212c6ccc969c1e9e0a4b46d739 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 15 Mar 2021 15:14:37 +0900 Subject: [PATCH] enable montRedNF --- src/low_func_llvm.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/low_func_llvm.hpp b/src/low_func_llvm.hpp index c305ed1..e5567fe 100644 --- a/src/low_func_llvm.hpp +++ b/src/low_func_llvm.hpp @@ -25,7 +25,6 @@ template<>const void3u MulPreCore::f = &mcl_fpDbl_mulPre ## n ## suf; \ template<>const void2u SqrPreCore::f = &mcl_fpDbl_sqrPre ## n ## suf; #endif -// QQQ : set mcl_fp_montRedNF after updating asm #define MCL_DEF_LLVM_FUNC2(n, tag, suf) \ template<>const u3u AddPre::f = &mcl_fp_addPre ## n ## suf; \ template<>const u3u SubPre::f = &mcl_fp_subPre ## n ## suf; \ @@ -39,7 +38,7 @@ template<>const void4u Sub::f = &mcl_fp_subNF ## n ## suf; \ template<>const void4u Mont::f = &mcl_fp_mont ## n ## suf; \ template<>const void4u Mont::f = &mcl_fp_montNF ## n ## suf; \ template<>const void3u MontRed::f = &mcl_fp_montRed ## n ## suf; \ -template<>const void3u MontRed::f = &mcl_fp_montRed ## n ## suf; \ +template<>const void3u MontRed::f = &mcl_fp_montRedNF ## n ## suf; \ template<>const void4u DblAdd::f = &mcl_fpDbl_add ## n ## suf; \ template<>const void4u DblSub::f = &mcl_fpDbl_sub ## n ## suf; \