1
0
mirror of https://github.com/fumiama/unibase2n.git synced 2026-06-23 04:30:37 +08:00

protect flags

This commit is contained in:
源文雨
2023-04-10 10:45:45 +08:00
parent 02876e7774
commit d4c1be32e2
2 changed files with 15 additions and 5 deletions

View File

@@ -5,13 +5,14 @@
// dec128blk1(mask uint128be, in, out []byte)
// len(in)>0, len(in)%16==0, len(out)==len(in)/16
TEXT ·dec128blk1(SB), NOSPLIT, $0-64
TEXT ·dec128blk1(SB), NOSPLIT, $8-64
MOVQ ·mask+0(FP), DX
BSWAPQ DX
MOVQ ·in+16(FP), SI
MOVQ ·in+24(FP), CX
SHRQ $4, CX
MOVQ ·in+40(FP), DI
PUSHFQ
// go forward
CLD
lop:
@@ -53,4 +54,5 @@ lop:
STOSB
LOOP lop
POPFQ
RET