mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
sm2ec: arm64 test
This commit is contained in:
parent
dbbfa37399
commit
b19dfa6d58
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user