/gem5/ext/nomali/lib/ |
H A D | gpu.cc | 42 for (auto *block : blocks) 43 block->reset(); 49 GPUBlock * const block(getGPUBlock(addr)); 51 return block ? block->readReg(getBlockReg(addr)) : 0; 57 GPUBlock * const block(getGPUBlock(addr)); 59 if (block) 60 block->writeReg(getBlockReg(addr), value); 66 GPUBlock * const block(getGPUBlock(addr)); 68 return block [all...] |
/gem5/src/dev/storage/ |
H A D | simple_disk.hh | 61 void read(Addr addr, baddr_t block, int count) const; 62 void write(Addr addr, baddr_t block, int count);
|
H A D | simple_disk.cc | 64 SimpleDisk::read(Addr addr, baddr_t block, int count) const argument 72 image->read(data + i, block + j); 76 DPRINTF(SimpleDisk, "read block=%#x len=%d\n", (uint64_t)block, count); 83 SimpleDisk::write(Addr addr, baddr_t block, int count) argument
|
/gem5/src/gpu-compute/ |
H A D | kernel_cfg.cc | 67 for (auto& block: basicBlocks) { 68 int first_block_addr = block->firstInstruction->instAddr(); 70 first_block_addr + block->size * sizeof(TheGpuISA::RawMachInst)) { 71 return block.get(); 79 ControlFlowInfo::lastInstruction(const BasicBlock* block) const 81 if (block->isExit()) { 85 return instructions.at(block->firstInstruction->instNum() + 86 block->size - 1); 90 ControlFlowInfo::postDominator(const BasicBlock* block) const 92 if (block [all...] |
H A D | kernel_cfg.hh | 69 * Unique identifier for the block within a given kernel. 74 * Number of instructions contained in the block 79 * Pointer to first instruction of the block. 84 * Identifiers of the blocks that follow (are reachable from) this block. 89 * Identifiers of the blocks that will be visited from this block. 107 GPUStaticInst* lastInstruction(const BasicBlock* block) const; 111 BasicBlock* postDominator(const BasicBlock* block) const;
|
/gem5/src/base/stats/ |
H A D | group.cc | 105 Group::addStatGroup(const char *name, Group *block) argument 109 statGroups[name] = block; 113 Group::mergeStatGroup(Group *block) argument 115 mergedStatGroups.push_back(block);
|
H A D | group.hh | 147 * Add a stat block as a child of this block 153 void addStatGroup(const char *name, Group *block); 157 * Merge the contents (stats & children) of a block to this block. 162 void mergeStatGroup(Group *block);
|
/gem5/src/dev/arm/ |
H A D | flash_device.cc | 120 DPRINTF(FlashDevice, "diskSize: %d Bytes; %d pages per block, %d pages " 145 locationTable[count].block = count % blocksPerDisk; 149 locationTable[count].block = count / pagesPerBlock; 183 uint32_t index = (locationTable[logic_page_addr].block * 186 DPRINTF(FlashDevice, "Index 0x%8x, Block 0x%8x, pages/block %d," 188 locationTable[logic_page_addr].block, pagesPerBlock, 193 plane_address = locationTable[logic_page_addr].block & planeMask; 199 .block, ActionRead); 211 (locationTable[logic_page_addr].block, ActionWrite); 230 --blockEmptyEntries[locationTable[logic_page_addr].block]; 373 uint32_t block = locationTable[logic_page_addr].block; local 406 accessTimes(uint64_t block, Actions action) argument [all...] |
H A D | FlashDevice.py | 55 blk_size = Param.MemorySize("128kB", "Size of one disk block") 62 that the GC is activated if a block is full")
|
H A D | flash_device.hh | 78 * A copy involves taking all the used pages from a block and store 84 /** Every logical address maps to a physical block and a physical page*/ 87 uint32_t block; member in struct:FlashDevice::PageMapEntry 184 /** address to logic place has a block and a page field*/ 186 /** number of valid entries per block*/
|
/gem5/src/mem/cache/prefetch/ |
H A D | signature_path.cc | 98 stride_t block = last_block + delta; local 102 if (block < 0) { 103 stride_t num_cross_pages = 1 + (-block) / (pageBytes/blkSize); 109 pf_block = block + (pageBytes/blkSize) * num_cross_pages; 112 } else if (block >= (pageBytes/blkSize)) { 113 stride_t num_cross_pages = block / (pageBytes/blkSize); 119 pf_block = block - (pageBytes/blkSize) * num_cross_pages; 124 pf_block = block; 162 stride_t block, bool &miss, stride_t &stride, 169 stride = block 161 getSignatureEntry(Addr ppn, bool is_secure, stride_t block, bool &miss, stride_t &stride, double &initial_confidence) argument [all...] |
H A D | access_map_pattern_matching.hh | 136 * @param current target block (cacheline) 162 * Updates the state of a block within an AccessMapEntry, also updates 165 * @param block cacheline within the hot zone 168 void setEntryState(AccessMapEntry &entry, Addr block,
|
H A D | access_map_pattern_matching.cc | 120 Addr block, enum AccessMapState state) 122 enum AccessMapState old = entry.states[block]; 123 entry.states[block] = state; 165 // Get the entries of the curent block (am_addr), the previous, and the 119 setEntryState(AccessMapEntry &entry, Addr block, enum AccessMapState state) argument
|
H A D | signature_path.hh | 76 /** Last accessed block within a page */ 160 * @param last_block last accessed block within the page ppn 162 * accessed to the block to prefetch. The block to prefetch is 179 * It also provides the stride of the current block and the initial 183 * @param block accessed block within the page 189 SignatureEntry &getSignatureEntry(Addr ppn, bool is_secure, stride_t block, 237 * @param current_block accessed block within the page of the associated 252 * @param current_block last accessed block withi [all...] |
/gem5/ext/googletest/googletest/samples/ |
H A D | sample10_unittest.cc | 61 void operator delete(void* block, size_t /* allocation_size */) { argument 63 free(block);
|
/gem5/src/learning_gem5/part2/ |
H A D | simple_cache.cc | 305 // Aligned and block size. We can just forward. 309 DPRINTF(SimpleCache, "Upgrading packet to block size\n"); 312 // Unaligned access to one cache block 316 // Read the data from memory to write into the block. 327 // Should now be block aligned 346 // Write the data into the block in the cache 349 // Read the data out of the cache block into the packet 376 auto block = std::next(cacheStore.begin(bucket), local 379 DPRINTF(SimpleCache, "Removing addr %#x\n", block->first); 384 block [all...] |
/gem5/src/mem/ruby/slicc_interface/ |
H A D | AbstractController.hh | 141 const DataBlock &block); 143 const DataBlock &block, int size);
|
H A D | AbstractController.cc | 265 Cycles latency, const DataBlock &block) 272 pkt->setData(block.getData(0, RubySystem::getBlockSizeBytes())); 284 // Create a block and copy data from the block. 291 const DataBlock &block, int size) 297 pkt->setData(block.getData(getOffset(addr), size)); 302 // Create a block and copy data from the block. 264 queueMemoryWrite(const MachineID &id, Addr addr, Cycles latency, const DataBlock &block) argument 289 queueMemoryWritePartial(const MachineID &id, Addr addr, Cycles latency, const DataBlock &block, int size) argument
|
/gem5/util/style/ |
H A D | sort_includes.py | 197 """Merge includes of from several block types into one large 198 block of sorted includes. This is useful when we have multiple 199 include block types (e.g., swig includes) with the same 214 block = self.dump_blocks(types) 215 if includes and block: 217 includes += block 264 # We are now exiting an include block 274 # We are not in an include block, so just emit the line
|
/gem5/ext/pybind11/tests/ |
H A D | test_eigen.cpp | 167 // Return a block of a matrix (gives non-standard strides) 168 m.def("block", [](const Eigen::Ref<const Eigen::MatrixXd> &x, int start_row, int start_col, int block_rows, int block_cols) { 169 return x.block(start_row, start_col, block_rows, block_cols); 187 Eigen::Block<Eigen::MatrixXd> block(int r, int c, int nrow, int ncol) { return mat.block(r, c, nrow, ncol); } function in class:ReturnTester 188 Eigen::Block<const Eigen::MatrixXd> blockConst(int r, int c, int nrow, int ncol) const { return mat.block(r, c, nrow, ncol); } 211 .def("block", &ReturnTester::block) 212 .def("block_safe", &ReturnTester::block, rvp::reference_internal) 214 .def("copy_block", &ReturnTester::block, rv [all...] |
/gem5/src/arch/ |
H A D | micro_asm.py | 333 'rom_block : DEF ROM block SEMI' 335 print_error("Rom block found, but no Rom object specified.") 336 raise TypeError, "Rom block found, but no Rom object was specified." 353 'macroop_def : DEF MACROOP ID block SEMI' 363 # A block of statements 365 'block : LBRACE statements RBRACE' 366 block = Block() 367 block.statements = t[2] 368 t[0] = block
|
/gem5/src/cpu/o3/ |
H A D | decode.hh | 190 bool block(ThreadID tid); 205 * squashing and clears block/unblock signals as needed.
|
H A D | rename_impl.hh | 381 // If it still needs to block, the blocking should happen the next 510 // this cycle. Tell the previous stages to block. 513 block(tid); 518 block(tid); 593 block(tid); 601 "Will have to block this cycle. " 697 // to rename to. Otherwise block. 790 // If so then block. 796 block(tid); 910 DefaultRename<Impl>::block(ThreadI function in class:DefaultRename [all...] |
/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | ksr1.s | 31 # and a pointer to a constant block. The address of function `f' is 32 # `f$TXT', and the constant block address is `f'. The constant block 73 # %i2 -- control block of helper function to run 154 # Switch to the stack passed in as fourth argument to the block 157 # block is passed in, so we must derefence it to get the helper's text 344 finop ; ld8 40(%sp),%c10 # `only' constant block 385 finop ; ld8 16(%sp),%c10 # `startup' const block 403 finop ; ld8 32(%sp),%c10 # `only' constant block
|
/gem5/src/systemc/tests/ |
H A D | verify.py | 393 block = ' ' + cause.capitalize() + ':\n' 395 block += ' ' + test.path 397 block += ' - ' + test.note 398 block += '\n' 399 causes.append(block)
|