Skip to content

Commit

Permalink
FIxed copy lhs case with argop in opredop TPP
Browse files Browse the repository at this point in the history
  • Loading branch information
egeor committed May 5, 2021
1 parent 760e756 commit 481b0e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/generator_mateltwise_reduce_avx_avx512.c
Original file line number Diff line number Diff line change
Expand Up @@ -3025,8 +3025,8 @@ void libxsmm_generator_opreduce_vecs_index_avx512_microkernel( libxsmm_generated
unsigned int bcast_idx_instr = ( idx_tsize == 8 ) ? LIBXSMM_X86_INSTR_VPBROADCASTQ : LIBXSMM_X86_INSTR_VPBROADCASTD ;
unsigned int gpr_bcast_idx_instr = ( idx_tsize == 8 ) ? LIBXSMM_X86_INSTR_VPBROADCASTQ_GPR : LIBXSMM_X86_INSTR_VPBROADCASTD_GPR ;
const int rbp_offset_idx = -8;
const int rbp_offset_argop_ptr0 = -16;
const int rbp_offset_argop_ptr1 = -24;
int rbp_offset_argop_ptr0 = -16;
int rbp_offset_argop_ptr1 = -24;
char vname_argop_bcast = 'z';
unsigned int argop_mask = 3;
unsigned int argop_mask_aux = 4;
Expand Down Expand Up @@ -3204,6 +3204,11 @@ void libxsmm_generator_opreduce_vecs_index_avx512_microkernel( libxsmm_generated
if (((i_mateltwise_desc->flags & LIBXSMM_MELTW_FLAG_OPREDUCE_VECS_OP_COPY) > 0) && ((i_mateltwise_desc->flags & LIBXSMM_MELTW_FLAG_OPREDUCE_VECS_OPORDER_VECIN_VECIDX) > 0)) {
vecidx_ind_base_param_offset = 48;
vecidx_in_base_param_offset = 56;
if (record_argop_off_vec1 > 0) {
record_argop_off_vec0 = 1;
record_argop_off_vec1 = 0;
rbp_offset_argop_ptr0 = rbp_offset_argop_ptr1;
}
}

if (use_implicitly_indexed_vecidx == 0) {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
master-1.16.1-1454
master-1.16.1-1455

0 comments on commit 481b0e4

Please sign in to comment.