Skip to content

Commit

Permalink
sm9/bn256: ppc64x conditional move fix #256
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Oct 6, 2024
1 parent 9740519 commit fcdfc40
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sm9/bn256/select_ppc64x.s
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ TEXT ·gfp12Copy(SB),NOSPLIT,$0
LXVD2X (b_ptr)(R6), V5 \
LXVD2X (b_ptr)(R7), V6 \
LXVD2X (b_ptr)(R8), V7 \
VSEL V4, V0, SEL, V0 \
VSEL V5, V1, SEL, V1 \
VSEL V6, V2, SEL, V2 \
VSEL V7, V3, SEL, V3 \
VSEL V0, V4, SEL, V0 \
VSEL V1, V5, SEL, V1 \
VSEL V2, V6, SEL, V2 \
VSEL V3, V7, SEL, V3 \
STXVD2X V0, (res_ptr)(R0) \
STXVD2X V1, (res_ptr)(R6) \
STXVD2X V2, (res_ptr)(R7) \
Expand All @@ -166,10 +166,10 @@ TEXT ·gfp12Copy(SB),NOSPLIT,$0
LXVD2X (b_ptr)(R7), V5 \
LXVD2X (b_ptr)(R8), V6 \
LXVD2X (b_ptr)(R9), V7 \
VSEL V4, V0, SEL, V0 \
VSEL V5, V1, SEL, V1 \
VSEL V6, V2, SEL, V2 \
VSEL V7, V3, SEL, V3 \
VSEL V0, V4, SEL, V0 \
VSEL V1, V5, SEL, V1 \
VSEL V2, V6, SEL, V2 \
VSEL V3, V7, SEL, V3 \
STXVD2X V0, (res_ptr)(R6) \
STXVD2X V1, (res_ptr)(R7) \
STXVD2X V2, (res_ptr)(R8) \
Expand Down

0 comments on commit fcdfc40

Please sign in to comment.