Skip to content

Commit 59759ba

Browse files
committed
src: cpu: rnn: remove unused variables in jit_uni_gru_cell_postgemm_1
It caused "label is not found" error in Xbyak after enabling AutoGrow mode by default in jit_generator
1 parent 4dee389 commit 59759ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cpu/rnn/jit_uni_gru_cell_postgemm_1.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ struct jit_uni_gru_cell_postgemm_part1_fwd: public jit_uni_rnn_postgemm
6666
// Labels declaration
6767
Label vector_loop_start_label, vector_loop_end_label;
6868
Label rem_loop_start_label, rem_loop_end_label;
69-
Label table_label;
7069

7170
// Register map
7271
Reg64 loop_cnt(r11); // loop counter
73-
Reg64 table_reg(rbx); // table is used for data scale and shifts
7472

7573
// We skip vmm0 as it can be used by the injector for masks on sse4.2
7674
Vmm G0(1), G1(2), tmp1_vmm(3);
@@ -92,9 +90,6 @@ struct jit_uni_gru_cell_postgemm_part1_fwd: public jit_uni_rnn_postgemm
9290
return ptr[addr_bias_reg + i * rnn_.dic * bias_dt_size];
9391
};
9492

95-
// initialize registers with addresses and constants
96-
mov(table_reg, table_label);
97-
9893
// both sigmoid and tanh use the same table so load address just once in rax
9994
sigmoid_injector_->load_table_addr();
10095

0 commit comments

Comments
 (0)