Skip to content

Commit

Permalink
internal/subtle: s390x, not use VLM/VSTM first, should be address mod…
Browse files Browse the repository at this point in the history
…e issue
  • Loading branch information
emmansun authored Aug 28, 2024
1 parent 45584cc commit b690001
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/subtle/xor_s390x.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ loop_64:
tail:
CMPBEQ R4, $0, done
CMPBLT R4, $32, less_than32
VLM 0(R2)(R5*1), V0, V1
//VL 16(R2)(R5*1), V1
VLM 0(R3)(R5*1), V2, V3
//VL 16(R3)(R5*1), V3
VL 0(R2)(R5*1), V0
VL 16(R2)(R5*1), V1
VL 0(R3)(R5*1), V2
VL 16(R3)(R5*1), V3
VX V0, V2, V2
VX V1, V3, V3
VSTM V2, V3, 0(R1)(R5*1)
//VST V3, 16(R1)(R5*1)
VST V2, 0(R1)(R5*1)
VST V3, 16(R1)(R5*1)
LAY 32(R5), R5
SUB $32, R4

Expand Down

1 comment on commit b690001

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