mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-27 03:18:16 +03:00
c06e6fb656
* update go-structr and go-mutexes with memory usage improvements * bump to go-structr v0.8.4
19 lines
449 B
ArmAsm
19 lines
449 B
ArmAsm
// Code generated by command: go run asm.go -out match.s -stubs match_amd64.go. DO NOT EDIT.
|
|
|
|
//go:build amd64
|
|
|
|
#include "textflag.h"
|
|
|
|
// func MatchMetadata(metadata *[16]int8, hash int8) uint16
|
|
// Requires: SSE2, SSSE3
|
|
TEXT ·MatchMetadata(SB), NOSPLIT, $0-18
|
|
MOVQ metadata+0(FP), AX
|
|
MOVBLSX hash+8(FP), CX
|
|
MOVD CX, X0
|
|
PXOR X1, X1
|
|
PSHUFB X1, X0
|
|
MOVOU (AX), X1
|
|
PCMPEQB X1, X0
|
|
PMOVMSKB X0, AX
|
|
MOVW AX, ret+16(FP)
|
|
RET
|