fix label name

pull/314/head
Darien Raymond 8 years ago
parent a53808c83b
commit 1186b0e733
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -7,7 +7,7 @@ TEXT ·xorfwd(SB),NOSPLIT,$0
MOVQ x+0(FP), DI
ADDQ $4, DI // x[i+4]
SUBQ $4, CX
loop:
xorfwdloop:
MOVL (SI), AX
XORL AX, (DI)
ADDQ $4, SI
@ -15,10 +15,10 @@ loop:
SUBQ $4, CX
CMPL CX, $0
JE done
JE xorfwddone
JMP loop
done:
JMP xorfwdloop
xorfwddone:
RET
// func xorbkd(x []byte)
@ -31,7 +31,7 @@ TEXT ·xorbkd(SB),NOSPLIT,$0
ADDQ CX, DI // x[-4]
SUBQ $4, DI
SUBQ $4, CX
loop:
xorbkdloop:
MOVL (SI), AX
XORL AX, (DI)
SUBQ $4, SI
@ -39,9 +39,9 @@ loop:
SUBQ $4, CX
CMPL CX, $0
JE done
JE xorbkddone
JMP loop
JMP xorbkdloop
done:
xorbkddone:
RET

Loading…
Cancel
Save