Changeset 142 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
- Timestamp:
- Aug 4, 2010, 10:09:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
r141 r142 770 770 can_continue = true; 771 771 772 Tcontext_t front_end_id = entry->front_end_id; 773 Tcontext_t context_id = entry->context_id ; 774 uint32_t num_thread = _param->_translate_num_context_to_num_thread [front_end_id][context_id]; 775 rob_state_t state = entry->state_old; 776 Ttype_t type = entry->type ; 777 bool retire_ok = false; 778 uint32_t packet_id = ((entry->ptr << _param->_shift_num_slot) | num_bank); 772 Tcontext_t front_end_id = entry->front_end_id; 773 Tcontext_t context_id = entry->context_id ; 774 uint32_t num_thread = _param->_translate_num_context_to_num_thread [front_end_id][context_id]; 775 rob_state_t state = entry->state_old; 776 Ttype_t type = entry->type ; 777 Toperation_t operation = entry->operation ; 778 bool retire_ok = false; 779 uint32_t packet_id = ((entry->ptr << _param->_shift_num_slot) | num_bank); 779 780 780 781 log_printf(TRACE,Commit_unit,FUNCTION," * front_end_id : %d",front_end_id ); … … 875 876 (*_stat_nb_inst_instruction [instruction]) ++; 876 877 (*_stat_nb_inst_type [type] ) ++; 878 879 //uint32_t index = (_stat_last_inst [num_thread] << SIZE_INSTRUCTION) | instruction; 880 uint32_t index = ((_stat_last_inst_type [num_thread] << (SIZE_TYPE+2*SIZE_OPERATION)) | 881 (_stat_last_inst_operation [num_thread] << (SIZE_TYPE+ SIZE_OPERATION)) | 882 ( type << ( SIZE_OPERATION)) | 883 ( operation )); 884 885 _stat_inst_fusion [num_thread][index] ++; 886 887 //_stat_last_inst [num_thread] = instruction; 888 _stat_last_inst_type [num_thread] = type ; 889 _stat_last_inst_operation [num_thread] = operation ; 877 890 } 878 891 else … … 893 906 << "{" << ((retire_ok)?"OK":"KO") << "} "; 894 907 895 if ((type == TYPE_MEMORY) and is_operation_memory_load( entry->operation))908 if ((type == TYPE_MEMORY) and is_operation_memory_load(operation)) 896 909 instruction_log_file [num_thread] << std::hex << entry->load_data << std::dec; 897 910
Note: See TracChangeset
for help on using the changeset viewer.