Skip to content

Commit 616556c

Browse files
committed
replacing the macro to please go vet
1 parent 28c498b commit 616556c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

base64/decode_arm64.s

+12-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ loop:
130130
ADVANCE_LOOP(loop) // Store results and continue
131131

132132
done:
133-
RETURN()
133+
// RETURN() replacing the macro to please go vet.
134+
SUB R0, R3;
135+
SUB R1, R4;
136+
MOVD R3, ret+56(FP);
137+
MOVD R4, ret1+64(FP);
138+
RET
134139

135140

136141
// func decodeStdARM64(dst []byte, src []byte, lut *int8) (int, int)
@@ -145,7 +150,12 @@ loop:
145150
ADVANCE_LOOP(loop) // Store results and continue
146151

147152
done:
148-
RETURN()
153+
// RETURN() replacing the macro to please go vet.
154+
SUB R0, R3;
155+
SUB R1, R4;
156+
MOVD R3, ret+56(FP);
157+
MOVD R4, ret1+64(FP);
158+
RET
149159

150160

151161
DATA ·mask_lut+0x00(SB)/1, $0xa8

0 commit comments

Comments
 (0)