Changeset 128 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction
- Timestamp:
- Jun 26, 2009, 10:43:23 AM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Meta_Predictor_Glue/src/Parameters.cpp
r111 r128 80 80 { 81 81 log_begin(Meta_Predictor_Glue,FUNCTION); 82 83 DELETE1(_predictor_history_mask ,_nb_predictor); 84 DELETE1(_predictor_history_shift_msb,_nb_predictor); 85 DELETE1(_predictor_history_shift ,_nb_predictor); 86 82 87 log_end(Meta_Predictor_Glue,FUNCTION); 83 88 }; … … 88 93 { 89 94 log_begin(Meta_Predictor_Glue,FUNCTION); 90 91 DELETE1(_predictor_history_mask ,_nb_predictor);92 DELETE1(_predictor_history_shift,_nb_predictor);93 94 95 log_end(Meta_Predictor_Glue,FUNCTION); 95 96 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_deallocation.cpp
r112 r128 45 45 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 46 47 DELETE0(_component_glue); 48 DELETE1(_component_two_level_branch_predictor,_param->_nb_predictor); 47 delete _component_glue; 48 for (uint32_t i=0; i<_param->_nb_predictor; ++i) 49 delete _component_two_level_branch_predictor [i]; 50 delete [] _component_two_level_branch_predictor; 49 51 50 52 delete _component; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Meta_Predictor_statistics_allocation.cpp
r110 r128 28 28 "Meta_Predictor", 29 29 param_statistics); 30 31 for (uint32_t i=0; i<_param->_nb_predictor; ++i) 32 _stat->add_stat(_component_two_level_branch_predictor [i]->_stat); 33 _stat->add_stat(_component_glue ->_stat); 30 34 31 35 log_end(Meta_Predictor,FUNCTION); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters.cpp
r112 r128 122 122 log_begin(Meta_Predictor,FUNCTION); 123 123 124 DELETE1(_param_two_level_branch_predictor, _nb_predictor); 124 delete _param_glue; 125 for (uint32_t i=0; i<_nb_predictor; ++i) 126 delete _param_two_level_branch_predictor [i]; 127 delete [] _param_two_level_branch_predictor; 125 128 126 129 DELETE1(_predictor_size_history , _nb_predictor); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/src/Direction_statistics_allocation.cpp
r81 r128 28 28 param_statistics); 29 29 30 _stat->add_stat(_component_glue->_stat); 30 if (_param->_have_component_meta_predictor) 31 _stat->add_stat(_component_meta_predictor->_stat); 32 _stat->add_stat(_component_glue ->_stat); 31 33 32 34 log_printf(FUNC,Direction,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.