/gem5/ext/nomali/lib/ |
H A D | types.hh | 121 const unsigned idx_lo = index(addr); 133 const unsigned idx_lo = index(addr); 140 return vector[index(addr)]; 144 return vector[index(addr)]; 162 static uint32_t index(const RegAddr &addr) { function in class:NoMali::RegVector
|
/gem5/src/systemc/ext/tlm_core/2/generic_payload/ |
H A D | gp.hh | 63 // contruction time. my_extension::ID will hold the unique index in the 328 /* automatically locate the appropriate index in the array. */ 345 // Non-templatized version with manual index: 347 unsigned int index, tlm_extension_base *ext); 358 // Non-templatized version with manual index: 360 unsigned int index, tlm_extension_base *ext); 371 // Non-templatized version with manual index: 372 tlm_extension_base *get_extension(unsigned int index) const; 407 // Non-templatized version with manual index 408 void clear_extension(unsigned int index); [all...] |
/gem5/src/cpu/ |
H A D | simple_thread.hh | 309 int flatIndex = isa->flattenVecIndex(reg.index()); 313 reg.index(), flatIndex, regVal.print()); 320 int flatIndex = isa->flattenVecIndex(reg.index()); 324 reg.index(), flatIndex, regVal.print()); 335 int flatIndex = isa->flattenVecIndex(reg.index()); 339 reg.index(), flatIndex, reg.elemIndex(), regVal); 376 int flatIndex = isa->flattenVecIndex(reg.index()); 380 reg.index(), flatIndex, reg.elemIndex(), val); 410 int flatIndex = isa->flattenVecElemIndex(reg.index()); 414 " %#x.\n", reg.elemIndex(), reg.index(), flatInde [all...] |
/gem5/src/dev/virtio/ |
H A D | base.hh | 139 /** Descriptor index in virtqueue */ 150 * @param index Index within the queue. 152 VirtDescriptor(PortProxy &memProxy, VirtQueue &queue, Index index); 161 /** Get the descriptor's index into the virtqueue. */ 162 Index index() const { return _index; } function in class:VirtDescriptor 359 VirtDescriptor *getDescriptor(VirtDescriptor::Index index) { argument 360 return &descriptors[index]; 479 Index index; member in struct:VirtQueue::VirtRing::Header 497 header.index = vtoh_legacy(header.index); [all...] |
/gem5/src/cpu/pred/ |
H A D | loop_predictor.cc | 94 // by logLoopTableAssoc in order to return the index of the first of the 104 LoopPredictor::finallindex(int index, int lowPcBits, int way) const argument 106 return (useHashing ? (index ^ ((lowPcBits >> way) << logLoopTableAssoc)) : 107 (index)) 151 LoopPredictor::calcConf(int index) const 153 return ltable[index].confidence == confidenceThreshold; 160 int index = finallindex(bi->loopIndex, bi->loopIndexB, bi->loopHit); local 161 if (taken != ltable[index].dir) { 162 ltable[index].currentIterSpec = 0; 164 ltable[index] [all...] |
/gem5/src/base/ |
H A D | statistics.hh | 372 * Set the subfield name for the given index, and marks this stat to print 374 * @param index The subfield index. 379 subname(off_type index, const std::string &name) argument 385 if (subn.size() <= index) 386 subn.resize(index + 1); 387 subn[index] = name; 396 * Set the subfield description for the given index and marks this stat to 398 * @param index The subfield index 403 subdesc(off_type index, const std::string &desc) argument 466 ysubname(off_type index, const std::string &subname) argument [all...] |
/gem5/src/mem/cache/prefetch/ |
H A D | pif.cc | 47 index(p->index_assoc, p->index_entries, p->index_indexing_policy, 172 // the 'index' table to point to the new entry 176 index.findEntry(spatialCompactor.trigger, false); 178 index.accessEntry(idx_entry); 180 idx_entry = index.findVictim(spatialCompactor.trigger); 182 index.insertEntry(spatialCompactor.trigger, false, 222 // Check if a valid entry in the 'index' table is found and allocate a new 224 IndexEntry *idx_entry = index.findEntry(addr, /* unused */ false); 227 index.accessEntry(idx_entry); 228 // Trigger address from the 'index' tabl [all...] |
/gem5/src/arch/alpha/ |
H A D | osfpal.hh | 79 static const char *name(int index);
|
/gem5/src/cpu/o3/ |
H A D | scoreboard.hh | 110 phys_reg->index(), phys_reg->className());
|
/gem5/src/sim/ |
H A D | dvfs_handler.cc | 97 DVFSHandler::domainID(uint32_t index) const 99 fatal_if(index >= numDomains(), "DVFS: Requested index out of "\ 102 assert(domains.find(domainIDList[index]) != domains.end()); 104 return domainIDList[index];
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/dataflow/ |
H A D | dataflow.cpp | 65 int index = 0; local 68 out1.write(index % 17); 69 out2.write(index % 17); 70 index++;
|
/gem5/src/arch/sparc/ |
H A D | isa.hh | 197 return RegId(IntRegClass, flattenIntIndex(regId.index())); 199 return RegId(FloatRegClass, flattenFloatIndex(regId.index())); 201 return RegId(CCRegClass, flattenCCIndex(regId.index())); 203 return RegId(MiscRegClass, flattenMiscIndex(regId.index()));
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_string.cpp | 492 sc_string_old::remove(unsigned index, unsigned length) argument 494 test((int)index); 496 (*this) = substr(0,index-1) + substr(index+length,this->length()-1); 501 sc_string_old::insert(const sc_string_old& sub_string, unsigned index) argument 503 if(index>(unsigned)length()) 505 return (*this) = substr(0,index-1)+sub_string+substr(index,length()-1); 509 sc_string_old::is_delimiter(const sc_string_old& str, unsigned index)const 511 test((int)index); [all...] |
/gem5/src/dev/arm/ |
H A D | flash_device.cc | 183 uint32_t index = (locationTable[logic_page_addr].block * local 187 " logic address 0x%8x\n", index, 209 if (getUnknownPages(index)) 228 if (getUnknownPages(index)) { 229 clearUnknownPages(index); 447 * unknownPage entry is a 32 bit integer. So if we have a page index, then 448 * that means that we need entry floor(index/32) (index >> 5) and we need to 449 * select the bit which number is equal to the remainder of index/32 450 * (index 456 clearUnknownPages(uint32_t index) argument 467 getUnknownPages(uint32_t index) argument [all...] |
/gem5/src/mem/ |
H A D | stack_dist_calc.hh | 89 * leaf at the returned index to the root, the old node is deleted 111 * leaf at the returned index to the root, and the sums (to the right) 245 * This method is called whenever index%2 == 0 (i.e. every 247 * OP1. Moving the root node one layer up if index counter 273 uint64_t getIndex() const { return index; } 397 uint64_t index; member in class:StackDistCalc 402 // Hash map which returns last seen index of each address 405 // Keeps count of number of the next unique index for each
|
/gem5/src/cpu/kvm/ |
H A D | x86_cpu.hh | 106 void setMSR(uint32_t index, uint64_t value); 107 uint64_t getMSR(uint32_t index) const;
|
H A D | x86_cpu.cc | 331 inform("\t0x%x: 0x%x\n", e.index, e.data); 665 e.index = supported_msrs[i]; 711 const int index) 713 SegAttr attr(tc->readMiscRegNoEffect(MISCREG_SEG_ATTR(index))); 715 kvm_seg.base = tc->readMiscRegNoEffect(MISCREG_SEG_BASE(index)); 716 kvm_seg.limit = tc->readMiscRegNoEffect(MISCREG_SEG_LIMIT(index)); 717 kvm_seg.selector = tc->readMiscRegNoEffect(MISCREG_SEG_SEL(index)); 736 const int index) 738 kvm_dtable.base = tc->readMiscRegNoEffect(MISCREG_SEG_BASE(index)); 739 kvm_dtable.limit = tc->readMiscRegNoEffect(MISCREG_SEG_LIMIT(index)); 710 setKvmSegmentReg(ThreadContext *tc, struct kvm_segment &kvm_seg, const int index) argument 735 setKvmDTableReg(ThreadContext *tc, struct kvm_dtable &kvm_dtable, const int index) argument 990 setContextSegment(ThreadContext *tc, const struct kvm_segment &kvm_seg, const int index) argument 1015 setContextSegment(ThreadContext *tc, const struct kvm_dtable &kvm_dtable, const int index) argument 1406 makeKvmCpuid(uint32_t function, uint32_t index, CpuidResult &result) argument 1507 setMSR(uint32_t index, uint64_t value) argument [all...] |
/gem5/src/arch/sparc/insts/ |
H A D | integer.cc | 47 if (!std::strcmp(mnemonic, "or") && _srcRegIdx[0].index() == 0) { 62 if (_numSrcRegs > 0 && _srcRegIdx[0].index() == 0) {
|
/gem5/src/arch/x86/ |
H A D | utility.cc | 90 for (int index = 0; index < NumMicroIntRegs; index++) { 91 tc->setIntReg(INTREG_MICRO(index), 0); 94 for (int index = 0; index < NumImplicitIntRegs; index++) { 95 tc->setIntReg(INTREG_IMPLICIT(index), 0);
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | complex.h | 39 static constexpr int index = is_fmt_numeric<T>::index + 3; member in struct:is_fmt_numeric
|
/gem5/src/arch/mips/ |
H A D | tlb.cc | 86 int index = i->second; local 87 PTE *pte = &table[index]; 124 int index = i->second; local 125 PTE *pte = &table[index]; 134 Ind = index; 162 warn("Attempted to write at index (%d) beyond TLB size (%d)", 340 TLB::index(bool advance)
|
/gem5/src/arch/power/ |
H A D | tlb.cc | 90 int index = i->second; local 91 PowerISA::PTE *pte = &table[index]; 127 int index = i->second; local 128 PowerISA::PTE *pte = &table[index]; 136 Ind = index; 164 warn("Attempted to write at index (%d) beyond TLB size (%d)", 340 TLB::index(bool advance)
|
/gem5/src/arch/arm/ |
H A D | interrupts.hh | 90 post(int int_num, int index) argument 92 DPRINTF(Interrupt, "Interrupt %d:%d posted\n", int_num, index); 97 if (index != 0) 105 clear(int int_num, int index) argument 107 DPRINTF(Interrupt, "Interrupt %d:%d cleared\n", int_num, index); 112 if (index != 0)
|
/gem5/src/gpu-compute/ |
H A D | lds_state.hh | 74 read(const uint32_t index) argument 77 fatal_if(index >= chunk.size(), "out-of-bounds access to an LDS chunk"); 78 T *p0 = (T *) (&(chunk.at(index))); 87 write(const uint32_t index, const T value) argument 90 fatal_if(index >= chunk.size(), "out-of-bounds access to an LDS chunk"); 91 T *p0 = (T *) (&(chunk.at(index)));
|
/gem5/src/arch/mips/linux/ |
H A D | process.cc | 85 int index = 0; local 87 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index)); 105 int index = 0; local 107 unsigned op = process->getSyscallArg(tc, index); 108 unsigned bufPtr = process->getSyscallArg(tc, index); 109 // unsigned nbytes = process->getSyscallArg(tc, index); 134 int index = 0; local 136 unsigned op = process->getSyscallArg(tc, index); 137 Addr bufPtr = process->getSyscallArg(tc, index); 138 // unsigned nbytes = process->getSyscallArg(tc, index); 164 int index = 0; local [all...] |