sm2ec: arm64 test

This commit is contained in:
Sun Yimin 2023-06-26 16:01:36 +08:00 committed by GitHub
parent dbbfa37399
commit b19dfa6d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -493,7 +493,7 @@ ordSqrLoop:
// First reduction step // First reduction step
MUL acc0, hlp1, hlp0 MUL acc0, hlp1, hlp0
MUL const0, hlp1, t0 MUL const0, hlp0, t0
ADDS t0, acc0, acc0 ADDS t0, acc0, acc0
UMULH const0, hlp0, t1 UMULH const0, hlp0, t1
@ -518,7 +518,7 @@ ordSqrLoop:
// Second reduction step // Second reduction step
MUL acc1, hlp1, hlp0 MUL acc1, hlp1, hlp0
MUL const0, hlp1, t0 MUL const0, hlp0, t0
ADDS t0, acc1, acc1 ADDS t0, acc1, acc1
UMULH const0, hlp0, t1 UMULH const0, hlp0, t1
@ -543,7 +543,7 @@ ordSqrLoop:
// Third reduction step // Third reduction step
MUL acc2, hlp1, hlp0 MUL acc2, hlp1, hlp0
MUL const0, hlp1, t0 MUL const0, hlp0, t0
ADDS t0, acc2, acc2 ADDS t0, acc2, acc2
UMULH const0, hlp0, t1 UMULH const0, hlp0, t1
@ -569,7 +569,7 @@ ordSqrLoop:
// Last reduction step // Last reduction step
MUL acc3, hlp1, hlp0 MUL acc3, hlp1, hlp0
MUL const0, hlp1, t0 MUL const0, hlp0, t0
ADDS t0, acc3, acc3 ADDS t0, acc3, acc3
UMULH const0, hlp0, t1 UMULH const0, hlp0, t1