Home
last modified time | relevance | path

Searched refs:hc4 (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/lib/lz4/
Dlz4hc_compress.c50 static inline int lz4hc_init(struct lz4hc_data *hc4, const u8 *base) in lz4hc_init() argument
52 memset((void *)hc4->hashtable, 0, sizeof(hc4->hashtable)); in lz4hc_init()
53 memset(hc4->chaintable, 0xFF, sizeof(hc4->chaintable)); in lz4hc_init()
56 hc4->nexttoupdate = base + 1; in lz4hc_init()
58 hc4->nexttoupdate = base; in lz4hc_init()
60 hc4->base = base; in lz4hc_init()
65 static inline void lz4hc_insert(struct lz4hc_data *hc4, const u8 *ip) in lz4hc_insert() argument
67 u16 *chaintable = hc4->chaintable; in lz4hc_insert()
68 HTYPE *hashtable = hc4->hashtable; in lz4hc_insert()
70 const BYTE * const base = hc4->base; in lz4hc_insert()
[all …]
/linux-4.4.14/arch/x86/crypto/
Dpoly1305-avx2-x86_64.S54 #define hc4 %ymm4 macro
205 # hc4 = [(m[60-63] >> 8) | (1<<24), (m[44-47] >> 8) | (1<<24),
209 vpunpcklqdq t1,hc4,hc4
213 vperm2i128 $0x20,t1,hc4,hc4
214 vpsrld $8,hc4,hc4
215 vpor ORMASK(%rip),hc4,hc4
217 vpaddd t1,hc4,hc4
230 # t1 += [ hc4[3] * s1, hc4[2] * v1, hc4[1] * x1, hc4[0] * z1 ]
231 vpmuludq hc4,svxz1,t2
251 # t1 += [ hc4[3] * s2, hc4[2] * v2, hc4[1] * x2, hc4[0] * z2 ]
[all …]
Dpoly1305-sse2-x86_64.S289 #define hc4 %xmm6 macro
387 # hc4 = [ (m[28-31] >> 8) | (1<<24), h4 + (m[12-15] >> 8) | (1<<24) ]
388 movd 0x0c(m),hc4
390 punpcklqdq t1,hc4
391 psrld $8,hc4
392 por ORMASK(%rip),hc4
394 paddd t1,hc4
411 # t1 += [ hc4[1] * s1, hc4[0] * v1 ]
413 pmuludq hc4,t2
436 # t1 += [ hc4[1] * s2, hc4[0] * v2 ]
[all …]