Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/x86_64/
H A Dlz4_decode_x86_64.s65 #define match_distance %r13 // match distance macro
232 movzw (src),match_distance
234 test match_distance,match_distance
237 sub match_distance,copy_src // copy_src = match copy source
250 cmp $16,match_distance
261 shl $5,match_distance
263 vmovdqa (%rax,match_distance),%xmm2 // pattern address is match_permtable + 32 * match_distance
268 movdqa (%rax,match_distance),%xmm2 // pattern address is match_permtable + 32 * match_distance
294 cmp $16,match_distance
309 mov match_distance,%rbx
[all …]
/xnu-12377.1.9/osfmk/vm/
H A Dlz4.c257 ptrdiff_t match_distance = 0; in lz4_encode_2gb() local
286 match_distance = (match_begin - c0); in lz4_encode_2gb()
287 if (w0 == m0 && match_distance < 0x10000 && match_distance > 0) { in lz4_encode_2gb()
293 match_distance = (match_begin - c1); in lz4_encode_2gb()
294 if (w1 == m1 && match_distance < 0x10000 && match_distance > 0) { in lz4_encode_2gb()
300 match_distance = (match_begin - c2); in lz4_encode_2gb()
301 if (w2 == m2 && match_distance < 0x10000 && match_distance > 0) { in lz4_encode_2gb()
307 match_distance = (match_begin - c3); in lz4_encode_2gb()
308 if (w3 == m3 && match_distance < 0x10000 && match_distance > 0) { in lz4_encode_2gb()
361 const uint8_t * ref_end = match_end - match_distance; in lz4_encode_2gb()
[all …]
/xnu-12377.1.9/osfmk/arm64/
H A Dlz4_decode_arm64.s68 #define match_distance x11 macro
197 cbz match_distance,L_fail // distance == 0 is invalid
198 sub copy_src,dst,match_distance // copy_src is the match copy source
213 cmp match_distance,#15
224 add aux1,match_permtable,match_distance,lsl #5 // index in table
242 cmp match_distance,#31
244 cmp match_distance,#15
251 add aux1,match_permtable,match_distance,lsl #5 // index in table
255 ldrb w_aux1,[match_disttable,match_distance] // valid pattern length in aux1