models/processor/zesto/ZPIPE-exec/exec-atom.cpp
void core_exec_atom_t::RS_fuse_insert(struct uop_t * const uop)
{
  /* fusion body shares same RS entry as fusion head */
  uop->alloc.RS_index = uop->decode.fusion_head->alloc.RS_index;
  RS_eff_num++;
  uop->decode.fusion_head->exec.uops_in_RS ++;
  if(uop->decode.fusion_next == NULL)
    uop->decode.fusion_head->alloc.full_fusion_allocated = true;

  #ifdef ZESTO_COUNTERS
  core->counters->RS.write++;
  #endif
}
/* add uops to an existing entry (where all uops in the same
   entry are assumed to be fused) */
add uops to an existing entry (where all uops in the same
entry are assumed to be fused)
add uops to an existing entry ( where all uops in the same entry are assumed to be fused )
void core_exec_atom_t::RS_fuse_insert(struct uop_t * const uop)
{
  uop->alloc.RS_index = uop->decode.fusion_head->alloc.RS_index;
  RS_eff_num++;
  uop->decode.fusion_head->exec.uops_in_RS ++;
  if(uop->decode.fusion_next == NULL)
    uop->decode.fusion_head->alloc.full_fusion_allocated = true;
  #ifdef ZESTO_COUNTERS
  core->counters->RS.write++;
  #endif
}
void core_exec_atom_t :: RS_fuse_insert ( struct uop_t * const uop ) { uop -> alloc . RS_index = uop -> decode . fusion_head -> alloc . RS_index ; RS_eff_num ++ ; uop -> decode . fusion_head -> exec . uops_in_RS ++ ; if ( uop -> decode . fusion_next == NULL ) uop -> decode . fusion_head -> alloc . full_fusion_allocated = true ; #ifdef ZESTO_COUNTERS core -> counters -> RS . write ++ ; #endif }
add uops to an existing entry (where all uops in the same
entry are assumed to be fused)
add uops to an existing entry ( where all uops in the same entry are assumed to be fused )
/* fusion body shares same RS entry as fusion head */