Skip to content

Commit

Permalink
arm64: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bwesterb committed Jul 24, 2024
1 parent 32aafe0 commit 5c7939b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions and_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
package and

//go:noescape
func andNEON(dst, a, b *byte, len uint64)
func andNEON(dst, a, b *byte, l uint64)

//go:noescape
func orNEON(dst, a, b *byte, len uint64)
func orNEON(dst, a, b *byte, l uint64)

//go:noescape
func popcntNEON(a *byte, len uint64) uint64
func popcntNEON(a *byte, l uint64) uint64

func and(dst, a, b []byte) {
l := uint64(len(a)) >> 8
Expand Down
2 changes: 1 addition & 1 deletion and_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "textflag.h"

// func andNEON(dst *byte, a *byte, b *byte, l uint64)
TEXT ·andNEON(SB), NOSPLIT|NOFRAME, $0
TEXT ·andNEON(SB), NOSPLIT, $0-32
MOVD dst+0(FP), R0
MOVD a+8(FP), R1
MOVD b+16(FP), R2
Expand Down

0 comments on commit 5c7939b

Please sign in to comment.