Ignore:
Timestamp:
Mar 9, 2007, 7:16:58 PM (17 years ago)
Author:
rosiere
Message:

Ajout du composant Meta_Predictor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Meta_Predictor_Glue/src/Meta_Predictor_Glue_deallocation.cpp

    r4 r5  
    8484        if (_param._have_meta_predictor)
    8585        {
     86        delete  in_BRANCH_COMPLETE_VAL                               [i];
     87        delete out_BRANCH_COMPLETE_PREDICTOR_2_VAL                   [i];
     88
    8689        delete  in_BRANCH_COMPLETE_PREDICTOR_0_ACK                   [i];
    8790        delete  in_BRANCH_COMPLETE_PREDICTOR_1_ACK                   [i];
     
    106109        delete out_BRANCH_COMPLETE_PREDICTOR_2_PHT_HISTORY           [i];
    107110        delete  in_BRANCH_COMPLETE_HISTORY                           [i];
     111        if (_param._have_meta_predictor)
     112          {
     113        delete  in_BRANCH_COMPLETE_DIRECTION                         [i];
     114        delete out_BRANCH_COMPLETE_PREDICTOR_2_DIRECTION             [i];
     115          }
    108116      }
    109117
    110118    if (_param._have_meta_predictor)
    111119    {
     120    delete  in_BRANCH_COMPLETE_VAL                     ;
     121    delete out_BRANCH_COMPLETE_PREDICTOR_2_VAL         ;
     122
    112123    delete  in_BRANCH_COMPLETE_PREDICTOR_0_ACK         ;
    113124    delete  in_BRANCH_COMPLETE_PREDICTOR_1_ACK         ;
     
    131142    delete out_BRANCH_COMPLETE_PREDICTOR_2_PHT_HISTORY ;
    132143    delete  in_BRANCH_COMPLETE_HISTORY                 ;
    133 
     144    if (_param._have_meta_predictor)
     145      {
     146    delete  in_BRANCH_COMPLETE_DIRECTION               ;
     147    delete out_BRANCH_COMPLETE_PREDICTOR_2_DIRECTION   ;
     148      }
    134149    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    135150
Note: See TracChangeset for help on using the changeset viewer.