Changeset 134 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_transition.cpp
- Timestamp:
- Jul 15, 2009, 10:41:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_transition.cpp
r128 r134 149 149 { 150 150 #if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true) 151 if (reg_UPDATE_PREDICTION_TABLE [i][bottom]._retire_ok) 152 { 153 uint32_t num_thread = _param->_translate_num_context_to_num_thread [i]; 154 branchement_log_file [num_thread] 155 << std::hex 156 << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_src << " " 157 << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_dest << " " 158 << std::dec 159 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._good_take << " - " 160 << "[" << simulation_cycle() << "] " << " " 161 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._miss_prediction << " " 162 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._ifetch_prediction << " " 163 << "(" << toString(reg_UPDATE_PREDICTION_TABLE [i][bottom]._condition) << ")" 164 << std::endl; 165 } 151 if (log_file_generate) 152 if (reg_UPDATE_PREDICTION_TABLE [i][bottom]._retire_ok) 153 { 154 uint32_t num_thread = _param->_translate_num_context_to_num_thread [i]; 155 branchement_log_file [num_thread] 156 << std::hex 157 << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_src << " " 158 << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_dest << " " 159 << std::dec 160 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._good_take << " - " 161 << "[" << simulation_cycle() << "] " << " " 162 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._miss_prediction << " " 163 << reg_UPDATE_PREDICTION_TABLE [i][bottom]._ifetch_prediction << " " 164 << "(" << toString(reg_UPDATE_PREDICTION_TABLE [i][bottom]._condition) << ")" 165 << std::endl; 166 } 166 167 #endif 167 168
Note: See TracChangeset
for help on using the changeset viewer.