sm9/bn256: arm64 ww-mm test

This commit is contained in:
Sun Yimin 2023-06-26 17:28:02 +08:00 committed by GitHub
parent 84f203d4ad
commit e25a8c6be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0
// First reduction step
MUL acc0, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc0, acc0
UMULH const0, hlp0, t1
@ -214,7 +214,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0
// Second reduction step
MUL acc1, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc1, acc1
UMULH const0, hlp0, t1
@ -261,7 +261,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0
// Third reduction step
MUL acc2, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc2, acc2
UMULH const0, hlp0, t1
@ -308,7 +308,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0
// Last reduction step
MUL acc3, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc3, acc3
UMULH const0, hlp0, t1
@ -429,7 +429,7 @@ ordSqrLoop:
// First reduction step
MUL acc0, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc0, acc0
UMULH const0, hlp0, t1
@ -454,7 +454,7 @@ ordSqrLoop:
// Second reduction step
MUL acc1, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc1, acc1
UMULH const0, hlp0, t1
@ -479,7 +479,7 @@ ordSqrLoop:
// Third reduction step
MUL acc2, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc2, acc2
UMULH const0, hlp0, t1
@ -505,7 +505,7 @@ ordSqrLoop:
// Last reduction step
MUL acc3, hlp1, hlp0
MUL const0, hlp1, t0
MUL const0, hlp0, t0
ADDS t0, acc3, acc3
UMULH const0, hlp0, t1