1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 23:06:14 -04:00

fix asm compiler warning

This commit is contained in:
Darien Raymond 2017-08-22 14:21:16 +02:00
parent f35c5080d5
commit 4059a965ff

View File

@ -3,7 +3,7 @@
// func xorfwd(x []byte)
TEXT ·xorfwd(SB),NOSPLIT,$0
MOVQ x+0(FP), SI // x[i]
MOVL x+8(FP), CX // x.len
MOVL x_len+8(FP), CX // x.len
MOVQ x+0(FP), DI
ADDQ $4, DI // x[i+4]
SUBQ $4, CX
@ -24,7 +24,7 @@ xorfwddone:
// func xorbkd(x []byte)
TEXT ·xorbkd(SB),NOSPLIT,$0
MOVQ x+0(FP), SI
MOVL x+8(FP), CX // x.len
MOVL x_len+8(FP), CX // x.len
MOVQ x+0(FP), DI
ADDQ CX, SI // x[-8]
SUBQ $8, SI