Searched refs:ghist_words (Results 1 - 2 of 2) sorted by relevance

/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron.hh314 std::vector<unsigned int> ghist_words; member in struct:MultiperspectivePerceptron::ThreadData
493 return hash(mpp.threadData[tid]->ghist_words, mpp.blockSize, p1,
497 static unsigned int hash(const std::vector<unsigned int> &ghist_words, argument
509 // the 0th bit of ghist_words[a/block_size] is the most recent bit.
515 x += ghist_words[a / block_size] >> (a-am);
518 x += ghist_words[i / block_size];
522 unsigned int y = ghist_words[bm / block_size] & ((1<<(b - bm))-1);
797 std::vector<unsigned int> &ghist_words = variable
798 mpp.threadData[tid]->ghist_words;
807 w = ghist_words[
988 std::vector<unsigned int> &ghist_words = variable
[all...]
H A Dmultiperspective_perceptron.cc65 ghist_words(ghist_length/block_size+1, 0),
548 std::vector<unsigned int> &ghist_words = threadData[tid]->ghist_words; local
554 bool ab_new = (ghist_words[i] >> (blockSize - 1)) & 1;
555 ghist_words[i] <<= 1;
556 ghist_words[i] |= ab;
557 ghist_words[i] &= (1 << blockSize) - 1;
718 assert(threadData[tid]->ghist_words.size() > 0);
720 unsigned int a = threadData[tid]->ghist_words[i];
726 threadData[tid]->ghist_words[
[all...]

Completed in 11 milliseconds