Lines Matching refs:dest_buf

5 // unsigned int WKdm_compress (WK_word* src_buf, WK_word* dest_buf, unsigned int num_input_words);
69 movl 12(%ebp), %esi // %esi = dest_buf
101 leal 16(%esi,%eax,4), %eax // dest_buf + [TAGS_AREA_OFFSET + (num_input_words / 16)]*4
102 movl %eax, -6256(%ebp) // next_full_patt = dest_buf + TAGS_AREA_OFFSET + (num_input_words / 16);
173 // SET_QPOS_AREA_START(dest_buf,next_full_patt);
175 subl 12(%ebp), %edi // next_full_patt - dest_buf
176 movl %edi, %eax // next_full_patt - dest_buf
178 movl %eax, -6240(%ebp) // save (next_full_patt - dest_buf) in words
179 movl 12(%ebp), %edx // dest_buf
180 movl %eax, 4(%edx) // dest_buf[1] = next_full_patt - dest_buf
187 movl %edx, %ebx // a copy of dest_buf
189 // boundary_tmp = WK_pack_2bits(tempTagsArray, (WK_word *) next_tag, dest_buf + HEADER_SIZE_IN_WORDS);
202 movl %eax, 16(%ebx) // save at *(dest_buf + HEADER_SIZE_IN_WORDS)
204 addl $4, %ebx // dest_buf += 4;
205 cmpl %ecx, next_tag // cmp next_tag vs dest_buf
206 ja L_WK_pack_2bits // if (next_tag > dest_buf) repeat L_WK_pack_2bits
248 subl 12(%ebp), %edi // boundary_tmp - dest_buf
249 movl %edi, %eax // boundary_tmp - dest_buf
252 movl %eax, -6240(%ebp) // save (next_full_patt - dest_buf) in words
255 // SET_LOW_BITS_AREA_START(dest_buf,boundary_tmp);
256 movl -6240(%ebp), %ecx // boundary_tmp - dest_buf
257 movl 12(%ebp), %edx // dest_buf
258 movl %ecx, 8(%edx) // dest_buf[2] = boundary_tmp - dest_buf
275 movl %eax, (%ebx) // pack w0,w1,w2 into 1 dest_buf word
276 addl $4, %ebx // dest_buf++
290 movl %eax, (%ebx) // write the final dest_buf word
291 addl $4, %ebx // dest_buf++
294 subl 12(%ebp), %eax // boundary_tmp - dest_buf
295 sarl $2, %eax // boundary_tmp - dest_buf in terms of words
296 movl 12(%ebp), %esi // dest_buf
297 movl %eax, 12(%esi) // SET_LOW_BITS_AREA_END(dest_buf,boundary_tmp);
298 sall $2, %eax // boundary_tmp - dest_buf in terms of bytes
352 #define dest_buf %r12
357 movq %rsi, %r12 // dest_buf
389 leaq 16(%rsi,%rdx,4), %rbx // dest_buf + [TAGS_AREA_OFFSET + (num_input_words / 16)]*4
437 // SET_QPOS_AREA_START(dest_buf,next_full_patt);
440 subq dest_buf, %rax // next_full_patt - dest_buf
442 movl %eax, %r13d // r13d = (next_full_patt - dest_buf)
443 movl %eax, 4(dest_buf) // dest_buf[1] = next_full_patt - dest_buf
449 // boundary_tmp = WK_pack_2bits(tempTagsArray, (WK_word *) next_tag, dest_buf + HEADER_SIZE_IN_WORDS);
451 movq dest_buf, %rdi // dest_buf
465 movl %eax, 16(%rdi) // save at *(dest_buf + HEADER_SIZE_IN_WORDS)
467 addq $4, %rdi // dest_buf += 4;
468 cmpq %rcx, next_tag // cmp next_tag vs dest_buf
469 ja L_pack_2bits // if (next_tag > dest_buf) repeat L_pack_2bits
506 // SET_LOW_BITS_AREA_START(dest_buf,boundary_tmp);
509 subq dest_buf, %rax // boundary_tmp - dest_buf
510 movq %rax, %r13 // boundary_tmp - dest_buf
511 shrq $2, %r13 // boundary_tmp - dest_buf in words
513 movl %r13d, 8(dest_buf) // dest_buf[2] = boundary_tmp - dest_buf
533 movl %eax, (%rdi) // pack w0,w1,w2 into 1 dest_buf word
534 addq $4, %rdi // dest_buf++
548 2: movl %eax, (%rdi) // write the final dest_buf word
549 addq $4, %rdi // dest_buf++
552 subq dest_buf, %rax // boundary_tmp - dest_buf
553 shrq $2, %rax // boundary_tmp - dest_buf in terms of words
554 movl %eax, 12(dest_buf) // SET_LOW_BITS_AREA_END(dest_buf,boundary_tmp)
555 shlq $2, %rax // boundary_tmp - dest_buf in terms of bytes