fix error

This commit is contained in:
Emman 2021-12-23 11:22:56 +08:00
parent b8dc2f97c6
commit a0a32b3330
2 changed files with 5 additions and 4 deletions

View File

@ -8,6 +8,7 @@ go:
jobs: jobs:
include: include:
- arch: ppc64le - arch: ppc64le
go: 1.17.x
- arch: arm64-graviton2 - arch: arm64-graviton2
virt: vm virt: vm
os: linux os: linux

View File

@ -1231,17 +1231,17 @@ TEXT ·p256PointAddAffineAsm(SB),0,$264-96
MOVD in2+48(FP), b_ptr MOVD in2+48(FP), b_ptr
MOVD sign+72(FP), hlp0 MOVD sign+72(FP), hlp0
MOVD sel+80(FP), hlp1 MOVD sel+80(FP), hlp1
MOVD zero+88(FP), t2 MOVD zero+88(FP), x2
MOVD $1, t0 MOVD $1, t0
CMP $0, t2 CMP $0, x2
CSEL EQ, ZR, t0, t2 CSEL EQ, ZR, t0, x2
CMP $0, hlp1 CMP $0, hlp1
CSEL EQ, ZR, t0, hlp1 CSEL EQ, ZR, t0, hlp1
LDP p256p<>+0x00(SB), (const0, const1) LDP p256p<>+0x00(SB), (const0, const1)
LDP p256p<>+0x10(SB), (const2, const3) LDP p256p<>+0x10(SB), (const2, const3)
EOR t2<<1, hlp1 EOR x2<<1, hlp1
// Negate y2in based on sign // Negate y2in based on sign
LDP 2*16(b_ptr), (y0, y1) LDP 2*16(b_ptr), (y0, y1)