Skip to content

Commit 3a0faf3

Browse files
authored
Fix arm64 vet issues (#964)
1 parent 8bd3916 commit 3a0faf3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

s2/decode_arm64.s

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
//
6161
// The d variable is implicitly R_DST - R_DBASE, and len(dst)-d is R_DEND - R_DST.
6262
// The s variable is implicitly R_SRC - R_SBASE, and len(src)-s is R_SEND - R_SRC.
63-
TEXT ·s2Decode(SB), NOSPLIT, $56-64
63+
TEXT ·s2Decode(SB), NOSPLIT, $56-56
6464
// Initialize R_SRC, R_DST and R_DBASE-R_SEND.
6565
MOVD dst_base+0(FP), R_DBASE
6666
MOVD dst_len+8(FP), R_DLEN

zstd/internal/xxhash/xxhash_arm64.s

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ finalize:
162162
MOVD h, ret+24(FP)
163163
RET
164164

165-
// func writeBlocks(d *Digest, b []byte) int
165+
// func writeBlocks(s *Digest, b []byte) int
166166
TEXT ·writeBlocks(SB), NOSPLIT|NOFRAME, $0-40
167167
LDP ·primes+0(SB), (prime1, prime2)
168168

169169
// Load state. Assume v[1-4] are stored contiguously.
170-
MOVD d+0(FP), digest
170+
MOVD s+0(FP), digest
171171
LDP 0(digest), (v1, v2)
172172
LDP 16(digest), (v3, v4)
173173

0 commit comments

Comments
 (0)