Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
ser-3bit getwei
Browse files Browse the repository at this point in the history
  • Loading branch information
zhewang1-intc committed Jan 24, 2024
1 parent 86771a5 commit b322d68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions bestla/bestla/kernel_jit.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ class DecompresssS3 {
mov(reg_bit2ptr, ptr[parambase + OFFSET(bit2ptr)]);
mov(reg_dst, ptr[parambase + OFFSET(dstptr)]);
L("loop_label");
imul(reg_tmp, reg_iter, 32);
kmovq(bit1_mask1, ptr[reg_bit1ptr + reg_tmp]);
kmovq(bit1_mask2, ptr[reg_bit1ptr + reg_tmp + 8]);
kmovq(bit1_mask3, ptr[reg_bit1ptr + reg_tmp + 16]);
kmovq(bit1_mask4, ptr[reg_bit1ptr + reg_tmp + 24]);
imul(reg_tmp, reg_iter, 96);
kmovq(bit1_mask1, ptr[reg_bit2ptr + reg_tmp+64]);
kmovq(bit1_mask2, ptr[reg_bit2ptr + reg_tmp + 72]);
kmovq(bit1_mask3, ptr[reg_bit2ptr + reg_tmp + 80]);
kmovq(bit1_mask4, ptr[reg_bit2ptr + reg_tmp + 88]);
Xbyak::Zmm bit2_data_zmm = zmm0;
imul(reg_tmp, reg_iter, 64);
// imul(reg_tmp, reg_iter, 64);
vmovups(bit2_data_zmm, ptr[reg_bit2ptr + reg_tmp]);
vextractf32x8(ymm2, bit2_data_zmm, 0x0);
vextractf32x8(ymm3, bit2_data_zmm, 0x1);
Expand Down
2 changes: 1 addition & 1 deletion bestla/bestla/ut/bestla_prologue_b.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class UT_BlockQunatize_S3 {
// }
}
};
static UT_BlockQunatize_S3 sUT_BlockQunatize_S3;
// static UT_BlockQunatize_S3 sUT_BlockQunatize_S3;
#ifdef BTLA_UT_PROLOGUE_B
static UT_BlockQunatize_S3 sUT_BlockQunatize_S3;
#endif
Expand Down

0 comments on commit b322d68

Please sign in to comment.