Skip to content

Commit 4e29b77

Browse files
committed
[FORK][FIX] jit_uni_dw_conv_kernel_f32: fixed register conflict
1 parent f82148b commit 4e29b77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cpu/x64/jit_uni_dw_conv_kernel_f32.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,8 @@ void jit_uni_dw_conv_bwd_data_kernel_f32<isa>::apply_postprocess(int ur_ch_block
844844
const auto &p = attr_.post_ops_;
845845
std::size_t post_ops_data_offset = 0;
846846
int depthwise_inj_idx = 0;
847+
base_post_ops_data_offset += reg64_size;
848+
push(reg_d_weights);
847849
for (int i = 0; i < p.len(); i++) {
848850
auto& post_op = p.entry_[i];
849851
if (post_op.is_depthwise()) {
@@ -864,6 +866,8 @@ void jit_uni_dw_conv_bwd_data_kernel_f32<isa>::apply_postprocess(int ur_ch_block
864866
depthwise_inj_idx++;
865867
}
866868
}
869+
pop(reg_d_weights);
870+
base_post_ops_data_offset -= reg64_size;
867871
}
868872

869873
template <cpu_isa_t isa>

0 commit comments

Comments
 (0)