Skip to content

Commit

Permalink
AVX table
Browse files Browse the repository at this point in the history
  • Loading branch information
neurlang authored and Your Name committed Oct 18, 2024
1 parent a85984a commit de0bdaa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hash/hashvectorized.s
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
#include "textflag.h"

// Data section for the shuffle constant lookup table
DATA ·LCPI0_0+0(SB)/64, ZCONSTANT64 $0x0, $0x1, $0x2, $0x3, $0x4, $0x5, $0x6, $0x7
DATA ·LCPI0_0+0(SB)/8, $0x0
DATA ·LCPI0_0+8(SB)/8, $0x1
DATA ·LCPI0_0+16(SB)/8, $0x2
DATA ·LCPI0_0+24(SB)/8, $0x3
DATA ·LCPI0_0+32(SB)/8, $0x4
DATA ·LCPI0_0+40(SB)/8, $0x5
DATA ·LCPI0_0+48(SB)/8, $0x6
DATA ·LCPI0_0+56(SB)/8, $0x7

// func hashVectorizedAVX512(out *uint32, n *uint32, s *uint32, max uint32, length uint32)
TEXT ·hashVectorizedAVX512(SB), NOSPLIT, $0-40
Expand Down

0 comments on commit de0bdaa

Please sign in to comment.