mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
internal/sm2ec: ppc64le, fix address issue
This commit is contained in:
parent
a83f85f561
commit
a32ca8fa14
@ -128,9 +128,9 @@ GLOBL p256mul<>(SB), 8, $96
|
|||||||
TEXT ·p256NegCond(SB), NOSPLIT, $0-16
|
TEXT ·p256NegCond(SB), NOSPLIT, $0-16
|
||||||
MOVD val+0(FP), P1ptr
|
MOVD val+0(FP), P1ptr
|
||||||
MOVD $16, R16
|
MOVD $16, R16
|
||||||
MOVD $48, R17
|
MOVD $40, R17
|
||||||
|
|
||||||
// cond is R1 + 16 (cond offset) + 32
|
// cond is R1 + 8 (cond offset) + 32
|
||||||
LXVDSX (R1)(R17), SEL
|
LXVDSX (R1)(R17), SEL
|
||||||
VSPLTISB $0, ZER
|
VSPLTISB $0, ZER
|
||||||
// SEL controls whether to store a or b
|
// SEL controls whether to store a or b
|
||||||
|
Loading…
x
Reference in New Issue
Block a user