Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
- 1.17.x
- 1.18.x
os:
- [self-hosted, linux, arm64, segment]
- ubuntu-latest

runs-on: ${{ matrix.os }}
Expand Down
14 changes: 12 additions & 2 deletions base64/decode_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ loop:
ADVANCE_LOOP(loop) // Store results and continue

done:
RETURN()
// RETURN() replacing the macro to please go vet.
SUB R0, R3;
SUB R1, R4;
MOVD R3, ret+56(FP);
MOVD R4, ret1+64(FP);
RET


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

done:
RETURN()
// RETURN() replacing the macro to please go vet.
SUB R0, R3;
SUB R1, R4;
MOVD R3, ret+56(FP);
MOVD R4, ret1+64(FP);
RET


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