Skip to content

Commit

Permalink
internal/sm2ec: ppc64le, fix address issue
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Aug 28, 2024
1 parent a83f85f commit a32ca8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/sm2ec/p256_asm_ppc64le.s
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ GLOBL p256mul<>(SB), 8, $96
TEXT ·p256NegCond(SB), NOSPLIT, $0-16
MOVD val+0(FP), P1ptr
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
VSPLTISB $0, ZER
// SEL controls whether to store a or b
Expand Down

1 comment on commit a32ca8f

@emmansun
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.