fetch2.hh (13652:45d94ac03a27) | fetch2.hh (13966:3189413c5894) |
---|---|
1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 159 unchanged lines hidden (view full) --- 168 /** Stats */ 169 Stats::Scalar intInstructions; 170 Stats::Scalar fpInstructions; 171 Stats::Scalar vecInstructions; 172 Stats::Scalar loadInstructions; 173 Stats::Scalar storeInstructions; 174 Stats::Scalar amoInstructions; 175 | 1/* 2 * Copyright (c) 2013-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 159 unchanged lines hidden (view full) --- 168 /** Stats */ 169 Stats::Scalar intInstructions; 170 Stats::Scalar fpInstructions; 171 Stats::Scalar vecInstructions; 172 Stats::Scalar loadInstructions; 173 Stats::Scalar storeInstructions; 174 Stats::Scalar amoInstructions; 175 |
176 public: 177 /** Dump the whole contents of the input buffer. Useful after a 178 * prediction changes control flow */ 179 void dumpAllInput(ThreadID tid); 180 | |
181 protected: 182 /** Get a piece of data to work on from the inputBuffer, or 0 if there 183 * is no data. */ 184 const ForwardLineData *getInput(ThreadID tid); 185 186 /** Pop an element off the input buffer, if there are any */ 187 void popInput(ThreadID tid); 188 | 176 protected: 177 /** Get a piece of data to work on from the inputBuffer, or 0 if there 178 * is no data. */ 179 const ForwardLineData *getInput(ThreadID tid); 180 181 /** Pop an element off the input buffer, if there are any */ 182 void popInput(ThreadID tid); 183 |
184 /** Dump the whole contents of the input buffer. Useful after a 185 * prediction changes control flow */ 186 void dumpAllInput(ThreadID tid); 187 |
|
189 /** Update local branch prediction structures from feedback from 190 * Execute. */ 191 void updateBranchPrediction(const BranchData &branch); 192 193 /** Predicts branches for the given instruction. Updates the 194 * instruction's predicted... fields and also the branch which 195 * carries the prediction to Fetch1 */ 196 void predictBranch(MinorDynInstPtr inst, BranchData &branch); --- 32 unchanged lines hidden --- | 188 /** Update local branch prediction structures from feedback from 189 * Execute. */ 190 void updateBranchPrediction(const BranchData &branch); 191 192 /** Predicts branches for the given instruction. Updates the 193 * instruction's predicted... fields and also the branch which 194 * carries the prediction to Fetch1 */ 195 void predictBranch(MinorDynInstPtr inst, BranchData &branch); --- 32 unchanged lines hidden --- |