Skip to content

Commit

Permalink
AVX512 add rodata
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 de0bdaa commit 6a3238b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions hash/hashvectorized.s
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#include "textflag.h"

// Data section for the shuffle constant lookup table
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
GLOBL LCPI0_0(SB), RODATA, $64
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 6a3238b

Please sign in to comment.