Skip to content

Commit

Permalink
Fix arm64 vet issues
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed May 30, 2024
1 parent 8bd3916 commit 8e2c1d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion s2/decode_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
//
// The d variable is implicitly R_DST - R_DBASE, and len(dst)-d is R_DEND - R_DST.
// The s variable is implicitly R_SRC - R_SBASE, and len(src)-s is R_SEND - R_SRC.
TEXT ·s2Decode(SB), NOSPLIT, $56-64
TEXT ·s2Decode(SB), NOSPLIT, $56-56
// Initialize R_SRC, R_DST and R_DBASE-R_SEND.
MOVD dst_base+0(FP), R_DBASE
MOVD dst_len+8(FP), R_DLEN
Expand Down
4 changes: 2 additions & 2 deletions zstd/internal/xxhash/xxhash_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ finalize:
MOVD h, ret+24(FP)
RET

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

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

Expand Down

0 comments on commit 8e2c1d1

Please sign in to comment.