|
gem5 [DEVELOP-FOR-25.0]
|
History data is kept for each thread. More...
#include <multiperspective_perceptron.hh>
Public Member Functions | |
| ThreadData (int num_filter, int n_local_histories, int local_history_length, int assoc, const std::vector< std::vector< int > > &blurrypath_bits, int path_length, int ghist_length, int block_size, const std::vector< std::vector< std::vector< bool > > > &acyclic_bits, const std::vector< int > &modhist_indices, const std::vector< int > &modhist_lengths, const std::vector< int > &modpath_indices, const std::vector< int > &modpath_lengths, const std::vector< int > &table_sizes, int n_sign_bits) | |
| void | updateAcyclic (bool hashed_taken, unsigned int hpc) |
| void | insertRecency (unsigned int pc, int assoc) |
Public Attributes | |
| std::vector< FilterEntry > | filterTable |
| std::vector< std::vector< bool > > | acyclic_histories |
| std::vector< std::vector< unsigned int > > | acyclic2_histories |
| std::vector< std::vector< unsigned int > > | blurrypath_histories |
| std::vector< unsigned int > | ghist_words |
| std::vector< std::vector< unsigned short int > > | modpath_histories |
| std::vector< std::vector< bool > > | mod_histories |
| std::vector< unsigned short int > | path_history |
| std::vector< unsigned int > | imli_counter |
| LocalHistories | localHistories |
| std::vector< unsigned int short > | recency_stack |
| bool | last_ghist_bit |
| int | occupancy |
| std::vector< int > | mpreds |
| std::vector< std::vector< short int > > | tables |
| std::vector< std::vector< std::array< bool, 2 > > > | sign_bits |
History data is kept for each thread.
Definition at line 313 of file multiperspective_perceptron.hh.
| gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::ThreadData | ( | int | num_filter, |
| int | n_local_histories, | ||
| int | local_history_length, | ||
| int | assoc, | ||
| const std::vector< std::vector< int > > & | blurrypath_bits, | ||
| int | path_length, | ||
| int | ghist_length, | ||
| int | block_size, | ||
| const std::vector< std::vector< std::vector< bool > > > & | acyclic_bits, | ||
| const std::vector< int > & | modhist_indices, | ||
| const std::vector< int > & | modhist_lengths, | ||
| const std::vector< int > & | modpath_indices, | ||
| const std::vector< int > & | modpath_lengths, | ||
| const std::vector< int > & | table_sizes, | ||
| int | n_sign_bits ) |
Definition at line 69 of file multiperspective_perceptron.cc.
References acyclic2_histories, gem5::branch_prediction::MultiperspectivePerceptron::acyclic_bits, acyclic_histories, gem5::branch_prediction::MultiperspectivePerceptron::assoc, gem5::branch_prediction::MultiperspectivePerceptron::blurrypath_bits, blurrypath_histories, filterTable, gem5::branch_prediction::MultiperspectivePerceptron::ghist_length, ghist_words, gem5::ArmISA::i, imli_counter, gem5::MipsISA::k, last_ghist_bit, localHistories, mod_histories, gem5::branch_prediction::MultiperspectivePerceptron::modhist_indices, gem5::branch_prediction::MultiperspectivePerceptron::modhist_lengths, modpath_histories, gem5::branch_prediction::MultiperspectivePerceptron::modpath_indices, gem5::branch_prediction::MultiperspectivePerceptron::modpath_lengths, mpreds, gem5::branch_prediction::MultiperspectivePerceptron::n_sign_bits, occupancy, path_history, gem5::branch_prediction::MultiperspectivePerceptron::path_length, recency_stack, sign_bits, gem5::branch_prediction::MultiperspectivePerceptron::table_sizes, and tables.
|
inline |
Definition at line 348 of file multiperspective_perceptron.hh.
References gem5::branch_prediction::MultiperspectivePerceptron::assoc, gem5::ArmISA::b, gem5::ArmISA::i, gem5::MipsISA::pc, and recency_stack.
|
inline |
Definition at line 330 of file multiperspective_perceptron.hh.
References acyclic2_histories, acyclic_histories, and gem5::ArmISA::i.
| std::vector<std::vector<unsigned int> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::acyclic2_histories |
Definition at line 328 of file multiperspective_perceptron.hh.
Referenced by ThreadData(), and updateAcyclic().
| std::vector<std::vector<bool> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::acyclic_histories |
Definition at line 327 of file multiperspective_perceptron.hh.
Referenced by ThreadData(), and updateAcyclic().
| std::vector<std::vector<unsigned int> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::blurrypath_histories |
Definition at line 339 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<FilterEntry> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::filterTable |
Definition at line 326 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<unsigned int> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::ghist_words |
Definition at line 340 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<unsigned int> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::imli_counter |
Definition at line 344 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| bool gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::last_ghist_bit |
Definition at line 367 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| LocalHistories gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::localHistories |
Definition at line 345 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<std::vector<bool> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::mod_histories |
Definition at line 342 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<std::vector<unsigned short int> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::modpath_histories |
Definition at line 341 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<int> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::mpreds |
Definition at line 370 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| int gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::occupancy |
Definition at line 368 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<unsigned short int> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::path_history |
Definition at line 343 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<unsigned int short> gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::recency_stack |
Definition at line 346 of file multiperspective_perceptron.hh.
Referenced by insertRecency(), and ThreadData().
| std::vector<std::vector<std::array<bool, 2> > > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::sign_bits |
Definition at line 372 of file multiperspective_perceptron.hh.
Referenced by ThreadData().
| std::vector<std::vector<short int> > gem5::branch_prediction::MultiperspectivePerceptron::ThreadData::tables |
Definition at line 371 of file multiperspective_perceptron.hh.
Referenced by ThreadData().