From edf3db15b69035563ce3dca77abc7c67898bff56 Mon Sep 17 00:00:00 2001 From: emmansun Date: Thu, 22 Jun 2023 14:58:29 +0800 Subject: [PATCH] sm9/bn256: did not save code change --- sm9/bn256/gfp_arm64.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm9/bn256/gfp_arm64.s b/sm9/bn256/gfp_arm64.s index f652d62..dbf26ba 100644 --- a/sm9/bn256/gfp_arm64.s +++ b/sm9/bn256/gfp_arm64.s @@ -562,8 +562,8 @@ TEXT ·gfpFromMont(SB),NOSPLIT,$0 LDP ·p2+0x00(SB), (const0, const1) LDP ·p2+0x10(SB), (const2, const3) - LDP 0*16(a_ptr), (x0, x1) - LDP 1*16(a_ptr), (x2, x3) + LDP 0*16(a_ptr), (acc0, acc1) + LDP 1*16(a_ptr), (acc2, acc3) // Only reduce, no multiplications are needed // First reduction step MUL acc0, hlp1, hlp0