Searched refs:index (Results 51 - 75 of 275) sorted by relevance

1234567891011

/gem5/src/cpu/
H A Dtiming_expr.hh116 unsigned int index; member in class:TimingExprSrcReg
120 index(params->index)
157 unsigned int index; member in class:TimingExprRef
161 index(params->index)
H A Dtranslation.hh114 finish(const Fault &fault, int index) argument
117 faults[index] = fault;
212 * index variable determines this but is simply passed on to the state class.
223 int index; member in class:DataTranslation
227 : xc(_xc), state(_state), index(0)
233 : xc(_xc), state(_state), index(_index)
257 if (state->finish(fault, index)) {
H A Dtiming_expr.cc61 return context.inst->srcRegIdx(index).index();
81 if (!context.resultAvailable[index]) {
82 context.results[index] = context.let->defns[index]->eval(context);
83 context.resultAvailable[index] = true;
86 return context.results[index];
/gem5/src/arch/arm/
H A Dintregs.hh329 INTREG_USR(unsigned index) argument
331 assert(index < NUM_ARCH_INTREGS);
332 return IntRegUsrMap[index];
347 INTREG_HYP(unsigned index)
349 assert(index < NUM_ARCH_INTREGS);
350 return IntRegHypMap[index];
365 INTREG_SVC(unsigned index)
367 assert(index < NUM_ARCH_INTREGS);
368 return IntRegSvcMap[index];
383 INTREG_MON(unsigned index)
[all...]
/gem5/src/mem/cache/prefetch/
H A Dsbooe.cc59 entries[index].valid = true;
60 entries[index].line = addr + stride;
61 entries[index].expectedArrivalTick = tick;
63 index++;
65 if (index == entries.size()) {
66 index = 0;
H A Dindirect_memory.cc78 // Check if the entry tracking misses has already set its second index
105 // it is an index (this is only possible if the data is already
110 int64_t index = 0; local
114 index = pfi.get<uint8_t>(byteOrder);
117 index = pfi.get<uint16_t>(byteOrder);
120 index = pfi.get<uint32_t>(byteOrder);
123 index = pfi.get<uint64_t>(byteOrder);
133 allocateOrUpdateIPDEntry(pt_entry, index);
135 // Enabled entry, update the index
136 pt_entry->index
169 allocateOrUpdateIPDEntry( const PrefetchTableEntry *pt_entry, int64_t index) argument
[all...]
/gem5/src/mem/ruby/structures/
H A DPrefetcher.cc146 uint32_t index = 0; local
147 PrefetchEntry *pfEntry = getPrefetchEntry(line_addr, index);
149 if (pfEntry->requestIssued[index]) {
150 if (pfEntry->requestCompleted[index]) {
227 uint32_t index = 0; local
228 stream = getPrefetchEntry(address, index);
280 Prefetcher::clearNonunitEntry(uint32_t index) argument
282 m_nonunit_filter[index] = 0;
283 m_nonunit_stride[index] = 0;
284 m_nonunit_hit[index]
288 initializeStream(Addr address, int stride, uint32_t index, const RubyRequestType& type) argument
329 getPrefetchEntry(Addr address, uint32_t &index) argument
347 accessUnitFilter(std::vector<Addr>& filter_table, uint32_t *filter_hit, uint32_t &index, Addr address, int stride, bool &alloc) argument
[all...]
/gem5/src/cpu/testers/rubytest/
H A DCheck.cc86 int index = random_mt.random(0, m_num_readers - 1); local
87 MasterPort* port = m_tester_ptr->getReadableCpuPort(index);
99 if (m_tester_ptr->isInstOnlyCpuPort(index) ||
100 (m_tester_ptr->isInstDataCpuPort(index) &&
112 req->setContext(index);
143 int index = random_mt.random(0, m_num_writers - 1); local
144 MasterPort* port = m_tester_ptr->getWritableCpuPort(index);
172 int index = random_mt.random(0, m_num_writers - 1); local
173 MasterPort* port = m_tester_ptr->getWritableCpuPort(index);
184 req->setContext(index);
232 int index = random_mt.random(0, m_num_readers - 1); local
[all...]
/gem5/src/arch/x86/insts/
H A Dmicroldstop.cc58 printMem(response, segment, scale, index, base, disp,
75 printMem(response, segment, scale, index, base, disp,
/gem5/src/arch/mips/
H A Dinterrupts.hh68 // post(int int_num, int index) is responsible
75 void post(int int_num, int index);
77 // clear(int int_num, int index) is responsible
84 void clear(int int_num, int index);
/gem5/src/mem/cache/replacement_policies/
H A Dtree_plru_rp.hh87 * as an array of bits. The index of the node defines its position in the
131 * Theoretical index of this replacement data in the tree. In practice,
135 const uint64_t index; member in struct:TreePLRURP::TreePLRUReplData
147 * @param index Index of the corresponding entry in the tree.
150 TreePLRUReplData(const uint64_t index, std::shared_ptr<PLRUTree> tree);
/gem5/src/sim/
H A Dsyscall_desc.cc56 * retrieve their values. Note that index is incremented as a
59 int index = 0; local
61 arg[i] = process->getSyscallArg(tc, index);
H A Dsyscall_emul.hh175 int index = 0);
180 int index);
318 int index);
338 int index = 0; local
341 Addr uaddr = process->getSyscallArg(tc, index);
342 int op = process->getSyscallArg(tc, index);
343 int val = process->getSyscallArg(tc, index);
344 int timeout M5_VAR_USED = process->getSyscallArg(tc, index);
345 Addr uaddr2 M5_VAR_USED = process->getSyscallArg(tc, index);
346 int val3 = process->getSyscallArg(tc, index);
682 int index = 0; local
761 int index = 0; local
936 int index = 0; local
950 int index = 0; local
963 int index = 0; local
976 int index = 0; local
1012 int index = 0; local
1035 int index = 0; local
1062 int index = 0; local
1139 int index = 0; local
1161 int index = 0; local
1244 int index = 0; local
1274 int index = 0; local
1305 int index = 0; local
1342 int index = 0; local
1377 int index = 0; local
1406 int index = 0; local
1437 int index = 0; local
1469 int index = 0; local
1497 int index = 0; local
1637 int index = 0; local
1663 int index = 0; local
1703 int index = 0; local
1740 int index = 0; local
1918 int index = 0; local
1959 int index = 0; local
1999 int index = 0; local
2042 int index = 1; local
2062 int index = 1; local
2080 int index = 0; local
2103 int index = 0; local
2137 int index = 0; local
2227 int index = 0; local
2279 int index = 0; local
2309 int index = 0; local
2325 int index = 0; local
2375 int index = 0; local
2395 int index = 0; local
2424 int index = 0; local
2618 int index = 0; local
2649 int index = 0; local
2691 int index = 0; local
2756 int index = 0; local
2825 int index = 0; local
[all...]
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py226 def __getitem__(self, index):
228 return self.strings[index]
242 for index in range(self.__len__()):
243 if self.strings[index] != node[index]:
303 def __getitem__(self, index):
305 return self.words[index]
319 for index in range(self.__len__()):
320 if self.words[index] != node[index]
614 def index(self, name): member in class:FdtNode
[all...]
/gem5/src/systemc/ext/tlm_utils/
H A Dinstance_specific_extensions_int.h85 // Non-templatized version with manual index:
86 ispex_base *set_extension(unsigned int index, ispex_base *ext);
95 ispex_base *get_extension(unsigned int index) const;
97 // Clear extension, the argument is needed to find the right index:
104 // Non-templatized version with manual index
105 void clear_extension(unsigned int index);
146 get_accessor(unsigned int index);
/gem5/util/cxx_config/
H A Dstats.cc86 unsigned int index = 0; local
88 std::cerr << "VECTOR " << stat->name << '[' << index
90 index++;
/gem5/src/mem/ruby/common/
H A DNetDest.hh90 // get element for a index
91 NodeID elementAt(MachineID index);
106 NodeID bitIndex(NodeID index) const { return index; }
H A DSet.hh72 add(NodeID index) argument
74 bits.set(index);
92 remove(NodeID index) argument
94 bits.reset(index);
200 bool elementAt(int index) const { return bits[index]; }
/gem5/src/base/
H A Dfiber.test.cc153 const int index; member in class:LinkedFiber
154 LinkedFiber(Fiber *link, int index) : Fiber(link), index(index) {} argument
159 EXPECT_EQ(currentIndex, index);
/gem5/src/mem/cache/compressors/
H A Dbdi.hh216 * Get and decompress data at given index.
218 * The index is given relative to 64-bit entries, therefore if the base
223 * @param index The index of the compressed data.
224 * @return Decompressed data for the given index.
226 virtual uint64_t access(const int index) const = 0;
261 * Get and decompress data at given index. Must always return 0.
263 * @param index The index of the compressed data.
264 * @return Decompressed data for the given index
[all...]
/gem5/src/dev/arm/
H A Dsmmu_v3_ptops.hh55 virtual Addr index(Addr va, unsigned level) const = 0;
68 Addr index(Addr va, unsigned level) const override;
81 Addr index(Addr va, unsigned level) const override;
94 Addr index(Addr va, unsigned level) const override;
107 Addr index(Addr va, unsigned level) const override;
/gem5/ext/dsent/
H A Dinterface.cc160 int index = 0; local
168 PyTuple_SetItem(r, index, s);
169 index++;
195 int index = 0; local
203 PyTuple_SetItem(r, index, s);
204 index++;
/gem5/ext/libelf/
H A Dgelf_phdr.c47 gelf_getphdr(Elf *e, int index, GElf_Phdr *d) argument
57 (e->e_kind != ELF_K_ELF) || index < 0) {
67 if (index >= eh32->e_phnum) {
72 ep32 += index;
88 if (index >= eh64->e_phnum) {
93 ep64 += index;
/gem5/src/arch/alpha/
H A Dipr.hh221 IprIsWritable(int index) argument
223 return index < MinReadOnlyIpr || index > MaxReadOnlyIpr;
227 IprIsReadable(int index) argument
229 return index < MinWriteOnlyIpr || index > MaxWriteOnlyIpr;
/gem5/src/cpu/minor/
H A Ddyn_inst.cc146 RegIndex misc_reg = reg.index();
158 os << 'f' << static_cast<unsigned int>(reg.index());
161 os << 'v' << static_cast<unsigned int>(reg.index());
164 os << 'v' << static_cast<unsigned int>(reg.index()) << '[' <<
171 os << 'r' << static_cast<unsigned int>(reg.index());
175 os << 'c' << static_cast<unsigned int>(reg.index());

Completed in 42 milliseconds

1234567891011