/gem5/src/arch/sparc/ |
H A D | process.cc | 451 for (int index = 16; index < 32; index++) { 452 uint32_t regVal = tc->readIntReg(index); 455 sp + (index - 16) * 4, (uint8_t *)®Val, 4)) { 486 for (int index = 16; index < 32; index++) { 487 RegVal regVal = tc->readIntReg(index); 490 sp + 2047 + (index [all...] |
/gem5/src/dev/net/ |
H A D | sinic.cc | 155 Device::prepareIO(ContextID cpu, int index) argument 158 if (index > size) 160 index, size); 168 Device::prepareRead(ContextID cpu, int index) argument 171 prepareIO(cpu, index); 173 VirtualReg &vnic = virtualRegs[index]; 209 Device::prepareWrite(ContextID cpu, int index) argument 211 prepareIO(cpu, index); 225 Addr index = daddr >> Regs::VirtualShift; local 230 cpu, index, dadd 310 Addr index = daddr >> Regs::VirtualShift; local [all...] |
/gem5/src/mem/cache/compressors/ |
H A D | bdi.cc | 78 BDI::BDICompDataZeros::access(const int index) const 103 BDI::BDICompDataRep::access(const int index) const 130 BDI::BDICompDataUncompressed::access(const int index) const 132 return _data[index]; 260 BDI::BDICompDataBaseDelta<TB, TD>::access(const int index) const 263 // corresponding to the given 64-bit-array index 278 for (int delta_index = size_diff * (index + 1) - 1; 279 delta_index >= (int)(size_diff * index); delta_index--) {
|
/gem5/util/stats/ |
H A D | info.py | 122 def __init__(self, proxy, index): 124 self.index = index 133 return value(self.proxy, run, self.index) 142 def __value__(self, run, index): 145 def __getitem__(self, index): 146 return VectorItemProxy(self, index) 159 def __value__(self, run, index): 160 return self.constant[index] 227 def __vectorvalue__(self, run, index) [all...] |
/gem5/src/dev/virtio/ |
H A D | base.cc | 275 _last_avail, avail.header.index, 277 if (_last_avail == avail.header.index) 280 VirtDescriptor::Index index(avail.ring[_last_avail % used.ring.size()]); 283 VirtDescriptor *d(&descriptors[index]); 294 desc->index(), len, used.header.index); 296 struct vring_used_elem &e(used.ring[used.header.index % used.ring.size()]); 297 e.id = desc->index(); 299 used.header.index += 1;
|
/gem5/src/cpu/pred/ |
H A D | tage_sc_l.cc | 49 TAGE_SC_L_LoopPredictor::calcConf(int index) const 51 return LoopPredictor::calcConf(index) || 52 (ltable[index].confidence * ltable[index].numIter > 128); 182 int index; local 188 index = shortPc ^ 193 index = gindex_ext(index, bank); 195 return (index & ((ULL(1) << (logTagTableSizes[bank])) - 1));
|
H A D | multiperspective_perceptron_tage.hh | 90 bool calcConf(int index) const override; 136 int index = (historyStackPointer + 1) % historyStack.size(); local 137 historyStack[index] = historyStack[historyStackPointer]; 138 historyStackPointer = index; 215 const HistorySpec &spec, int index) const;
|
H A D | multiperspective_perceptron_tage.cc | 252 MPP_LoopPredictor::calcConf(int index) const 254 return LoopPredictor::calcConf(index) || 255 (ltable[index].confidence * ltable[index].numIter > 128); 341 int64_t index = gIndex(branch_pc, bhist, logs, nbr, i); local 342 percsum += (2 * tab[i][index] + 1); 343 ctrUpdate(tab[i][index], taken, scCountersWidth - (i < (nbr - 1))); 412 const HistorySpec &spec, int index) const 415 unsigned int g = spec.getHash(tid, bi.getPC(), bi.getPC() >> 2, index); 422 if ((1ull << index) [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | pytypes.h | 297 PyObject *p = PyList_GetItem(obj, index); 553 static object get(handle obj, size_t index) { argument 554 PyObject *result = PySequence_GetItem(obj.ptr(), static_cast<ssize_t>(index)); 559 static void set(handle obj, size_t index, handle val) { argument 561 if (PySequence_SetItem(obj.ptr(), static_cast<ssize_t>(index), val.ptr()) != 0) { 570 static object get(handle obj, size_t index) { argument 571 PyObject *result = PyList_GetItem(obj.ptr(), static_cast<ssize_t>(index)); 576 static void set(handle obj, size_t index, handle val) { argument 578 if (PyList_SetItem(obj.ptr(), static_cast<ssize_t>(index), val.inc_ref().ptr()) != 0) { 587 static object get(handle obj, size_t index) { argument 593 set(handle obj, size_t index, handle val) argument 615 generic_iterator(handle seq, ssize_t index) argument 680 sequence_slow_readwrite(handle obj, ssize_t index) argument 691 ssize_t index; member in class:sequence_slow_readwrite 1268 insert(size_t index, T &&val) const argument [all...] |
H A D | numpy.h | 328 ssize_t byte_offset_unsafe(const Strides &strides, ssize_t i, Ix... index) { argument 329 return i * strides[Dim] + byte_offset_unsafe<Dim + 1>(strides, index...); 369 template <typename... Ix> const T &operator()(Ix... index) const { 372 return *reinterpret_cast<const T *>(data_ + byte_offset_unsafe(strides_, ssize_t(index)...)); 376 * is to a 1-dimensional array. When present, this is exactly equivalent to `obj(index)`. 379 const T &operator[](ssize_t index) const { return operator()(index); } 418 template <typename... Ix> T& operator()(Ix... index) { 421 return const_cast<T &>(ConstBase::operator()(index...)); 424 * Mutable, unchecked access data at the given index; thi [all...] |
/gem5/system/alpha/console/ |
H A D | printf.c | 53 PutStringReverse(const char *s, int index) argument 55 while (index-- > 0) 56 PutChar(s[index]);
|
/gem5/src/systemc/ext/utils/ |
H A D | sc_vector.hh | 191 void checkIndex(size_type index) const; 469 create_element(const char *_name, size_type index) argument 494 T &operator [] (size_type index) { return *static_cast<T *>(objs[index]); } argument 496 operator [] (size_type index) const 498 return *static_cast<const T *>(objs[index]); 502 at(size_type index) argument 504 this->checkIndex(index); 505 return *static_cast<T *>(objs[index]); 508 at(size_type index) cons [all...] |
/gem5/src/arch/alpha/ |
H A D | tlb.cc | 187 int index = i->second; local 188 TlbEntry *entry = &table[index]; 259 int index; local 260 while ((index = i->second) != nlu) { 261 if (table[index].tag != oldvpn) 299 int index = i->second; local 300 TlbEntry *entry = &table[index]; 309 DPRINTF(TLB, "flush @%d: %#x -> %#x\n", index, 328 int index = i->second; local 329 TlbEntry *entry = &table[index]; 591 TLB::index(bool advance) function in class:AlphaISA::TLB [all...] |
/gem5/src/dev/arm/ |
H A D | pl111.cc | 192 int index; local 193 index = (daddr - CrsrImage) >> 2; 194 data= cursorImage[index]; 198 int index; local 199 index = (daddr - LcdPalette) >> 2; 200 data = lcdPalette[index]; 365 int index; local 366 index = (daddr - CrsrImage) >> 2; 367 cursorImage[index] = data; 371 int index; local [all...] |
H A D | flash_device.hh | 144 void clearUnknownPages(uint32_t index); 147 bool getUnknownPages(uint32_t index);
|
/gem5/src/base/loader/ |
H A D | coff_sym.h | 75 * All arrays and index's are 0 based. 103 coff_int idnMax; /* max index into dense number table */ 106 coff_int ioptMax; /* max index into optimization symbol entries */ 108 coff_int issMax; /* max index into local strings */ 109 coff_int issExtMax; /* max index into external strings */ 112 coff_int iextMax; /* max index into external symbols */ 164 coff_int rfdBase; /* index into the file indirect table */ 243 coff_int iss; /* index into String Space of name */ 247 unsigned index : 20; /* index int member in struct:ecoff_sym 309 unsigned index : 20; /* index int sym/aux/iss tables */ member in struct:__anon19 319 coff_uint index; /* index int sym/aux/iss tables */ member in struct:__anon20 [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_array.cpp | 82 template<typename... Ix> arr data(const arr& a, Ix... index) { argument 83 return arr(a.nbytes() - a.offset_at(index...), (const uint8_t *) a.data(index...)); 86 template<typename... Ix> arr data_t(const arr_t& a, Ix... index) { argument 87 return arr(a.size() - a.index_at(index...), a.data(index...)); 90 template<typename... Ix> arr& mutate_data(arr& a, Ix... index) { argument 91 auto ptr = (uint8_t *) a.mutable_data(index...); 92 for (ssize_t i = 0; i < a.nbytes() - a.offset_at(index...); i++) 97 template<typename... Ix> arr_t& mutate_data_t(arr_t& a, Ix... index) { argument [all...] |
/gem5/src/arch/riscv/ |
H A D | tlb.cc | 88 int index = i->second; local 89 PTE *pte = &table[index]; 126 int index = i->second; local 127 PTE *pte = &table[index]; 136 Ind = index; 164 warn("Attempted to write at index (%d) beyond TLB size (%d)", 393 TLB::index(bool advance)
|
/gem5/src/arch/mips/ |
H A D | mt.hh | 67 return otc->readIntReg(reg.index()); 70 return otc->readFloatReg(reg.index()); 73 return otc->readMiscReg(reg.index()); 91 return otc->setIntReg(reg.index(), val); 94 return otc->setFloatReg(reg.index(), val); 97 return otc->setMiscReg(reg.index(), val);
|
H A D | interrupts.cc | 71 Interrupts::post(int int_num, int index) argument 89 Interrupts::clear(int int_num, int index) argument
|
/gem5/util/style/ |
H A D | file_types.py | 137 index = len(dirs) - 1 140 del dirs[index - i]
|
/gem5/src/cpu/minor/ |
H A D | exec_context.hh | 148 return thread.readIntReg(reg.index()); 156 return thread.readFloatReg(reg.index()); 204 thread.setIntReg(reg.index(), val); 212 thread.setFloatReg(reg.index(), val); 378 return thread.readMiscReg(reg.index()); 386 return thread.setMiscReg(reg.index(), val); 420 return thread.readCCReg(reg.index()); 428 thread.setCCReg(reg.index(), val);
|
/gem5/src/cpu/simple/ |
H A D | exec_context.hh | 183 return thread->readIntReg(reg.index()); 193 thread->setIntReg(reg.index(), val); 204 return thread->readFloatReg(reg.index()); 215 thread->setFloatReg(reg.index(), val); 373 return thread->readCCReg(reg.index()); 382 thread->setCCReg(reg.index(), val); 391 return thread->readMiscReg(reg.index()); 400 thread->setMiscReg(reg.index(), val);
|
/gem5/src/arch/x86/insts/ |
H A D | static_inst.cc | 135 RegIndex reg_idx = reg.index(); 232 uint8_t scale, RegIndex index, RegIndex base, 242 if (scale != 0 && index != ZeroReg) 246 printReg(os, InstRegIndex(index), addressSize); 231 printMem(std::ostream &os, uint8_t segment, uint8_t scale, RegIndex index, RegIndex base, uint64_t disp, uint8_t addressSize, bool rip) const argument
|
/gem5/src/sim/ |
H A D | eventq.cc | 64 getEventQueue(uint32_t index) argument 66 while (numMainEventQueues <= index) { 69 new EventQueue(csprintf("MainEventQueue-%d", index))); 72 return mainEventQueue[index];
|