Skip to content

Commit

Permalink
internal/sm2ec: fix ppc64le 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Aug 29, 2024
1 parent 7b8431c commit 5ddd288
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/sm2ec/p256_asm_ppc64le.s
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,12 @@ sqrOrdLoop:
VOR T1, T1, X1
BR sqrOrdLoop

done:
XXPERMDI T0, T0, $2, T0
XXPERMDI T1, T1, $2, T1
STXVD2X T0, (R0)(res_ptr)
STXVD2X T1, (R16)(res_ptr)

RET

#undef res_ptr
Expand Down

1 comment on commit 5ddd288

@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.