We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8124cbb commit 1c6cd9bCopy full SHA for 1c6cd9b
src/gpgpu-sim/shader.cc
@@ -891,9 +891,9 @@ void shader_core_ctx::decode() {
891
// decode 1 or 2 instructions and place them into ibuffer
892
address_type pc = m_inst_fetch_buffer.m_pc;
893
const warp_inst_t *pI1 = get_next_inst(m_inst_fetch_buffer.m_warp_id, pc);
894
- m_warp[m_inst_fetch_buffer.m_warp_id]->ibuffer_fill(0, pI1);
895
- m_warp[m_inst_fetch_buffer.m_warp_id]->inc_inst_in_pipeline();
896
- if (pI1) {
+ if (pI1) {
+ m_warp[m_inst_fetch_buffer.m_warp_id]->ibuffer_fill(0, pI1);
+ m_warp[m_inst_fetch_buffer.m_warp_id]->inc_inst_in_pipeline();
897
m_stats->m_num_decoded_insn[m_sid]++;
898
if ((pI1->oprnd_type == INT_OP) ||
899
(pI1->oprnd_type == UN_OP)) { // these counters get added up in mcPat
0 commit comments