Skip to content

Commit

Permalink
internal/sm2ec: ppc64le, fix SEL
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Aug 28, 2024
1 parent e8424e9 commit a83f85f
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 @@ -151,8 +151,8 @@ TEXT ·p256NegCond(SB), NOSPLIT, $0-16
VSUBUQM PL, Y1L, T1L // subtract part2 giving result
VSUBEUQM PH, Y1H, CAR1, T1H // subtract part1 using carry from part2

VSEL Y1H, T1H, SEL, Y1H
VSEL Y1L, T1L, SEL, Y1L
VSEL T1H, Y1H, SEL, Y1H
VSEL T1L, Y1L, SEL, Y1L

XXPERMDI Y1H, Y1H, $2, Y1H
XXPERMDI Y1L, Y1L, $2, Y1L
Expand Down

1 comment on commit a83f85f

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