Searched refs:tag (Results 1 - 25 of 61) sorted by relevance

123

/gem5/ext/pybind11/tests/
H A Dtest_factory_constructors.py5 from pybind11_tests.factory_constructors import tag
16 x1 = m.TestFactory1(tag.unique_ptr, 3)
18 y1 = m.TestFactory1(tag.pointer)
25 x2 = m.TestFactory2(tag.move)
27 y2 = m.TestFactory2(tag.pointer, 7)
29 z2 = m.TestFactory2(tag.unique_ptr, "hi again")
34 x3 = m.TestFactory3(tag.shared_ptr)
36 y3 = m.TestFactory3(tag.pointer, 42)
42 m.TestFactory3(tag.null_ptr)
68 1. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag
[all...]
/gem5/src/mem/cache/
H A Dcache_blk.cc46 CacheBlk::insert(const Addr tag, const bool is_secure, argument
52 // Set block tag
53 this->tag = tag;
/gem5/util/
H A Dcpt_upgrader.py54 # src/util/cpt_upgraders/. For each upgrader whose tag is not present in
55 # the checkpoint tag list, the upgrade() method will be run, passing in a
62 # work naturally - a tag depending on a tag with a downgrader means that it
63 # insists on the other tag being removed and its downgrader executed before
64 # its upgrader (or downgrader) can run. It is still the case that a tag
69 # tag that it depends upon or a list of such strings; and "fwd_depends"
71 # arrow(s) -- it expresses that that tag depends upon the tag of the current
98 if not hasattr(self, 'tag')
[all...]
/gem5/src/mem/cache/tags/indexing_policies/
H A Dset_associative.cc66 SetAssociative::regenerateAddr(const Addr tag, const ReplaceableEntry* entry) argument
69 return (tag << tagShift) | (entry->getSet() << setShift);
H A Dset_associative.hh122 * Regenerate an entry's address from its tag and assigned set and way.
124 * @param tag The tag bits.
128 Addr regenerateAddr(const Addr tag, const ReplaceableEntry* entry) const
H A Dbase.hh95 * The amount to shift the address to get the tag.
134 * Generate the tag from the given address.
136 * @param addr The address to get the tag from.
137 * @return The tag of the address.
153 * Regenerate an entry's address from its tag and assigned indexing bits.
155 * @param tag The tag bits.
159 virtual Addr regenerateAddr(const Addr tag, const ReplaceableEntry* entry)
H A Dskewed_associative.hh114 * @param addr Address to be skewed. Should contain the set and tag bits.
125 * @param addr Address to be deskewed. Should contain the set and tag bits.
166 * Regenerate an entry's address from its tag and assigned set and way.
169 * @param tag The tag bits.
173 Addr regenerateAddr(const Addr tag, const ReplaceableEntry* entry) const
/gem5/src/mem/cache/tags/
H A Dsector_blk.cc96 SectorSubBlk::insert(const Addr tag, const bool is_secure, argument
101 ((_sectorBlk->getTag() != tag) ||
105 CacheBlk::insert(tag, is_secure, src_master_ID, task_ID);
107 // Set sector tag
108 _sectorBlk->setTag(tag);
138 SectorBlk::setTag(const Addr tag) argument
140 _tag = tag;
H A Dsector_blk.hh48 * regarding its sector and a pointer to its sector tag.
98 * Get tag associated to this block.
100 * @return The tag value.
125 * @param tag Block address tag.
130 void insert(const Addr tag, const bool is_secure, const int src_master_ID,
143 * Contains the tag and a list of blocks associated to this sector.
149 * Sector tag value. A sector's tag is the tag o
[all...]
H A Dsector_tags.cc33 * Definitions of a sector tag store.
122 // When a block in a sector is invalidated, it does not make the tag
124 // using it. The tag is invalidated only when there is a single block
166 // The tag lookup latency is the same for a hit or a miss
179 // When a block is inserted, the tag is only a newly used tag if the
185 // Increment tag counter
199 // Extract sector tag
200 const Addr tag = extractTag(addr);
213 if (blk->getTag() == tag
[all...]
/gem5/ext/libfdt/
H A Dfdt.c75 uint32_t tag; local
83 tag = fdt32_to_cpu(*tagp);
87 switch (tag) {
119 return tag;
143 uint32_t tag; local
151 tag = fdt_next_tag(fdt, offset, &nextoffset);
153 switch (tag) {
175 } while (tag != FDT_BEGIN_NODE);
H A Dfdt.h67 fdt32_t tag; member in struct:fdt_node_header
72 fdt32_t tag; member in struct:fdt_property
/gem5/src/arch/arm/linux/
H A Datag.hh65 virtual uint32_t tag() = 0;
85 storage[1] = tag();
95 uint32_t tag() { return CoreTag; } function in class:AtagCore
109 uint32_t tag() { return MemTag; } function in class:AtagMem
122 uint32_t tag() { return RevTag; } function in class:AtagRev
135 uint32_t tag() { return SerialTag; } function in class:AtagSerial
147 uint32_t tag() { return CmdTag; } function in class:AtagCmdline
175 uint32_t tag() { return NoneTag; } function in class:AtagNone
201 u32 size; // length of tag in words including this header
202 u32 tag; // ta
[all...]
/gem5/src/arch/alpha/
H A Dpagetable.cc40 SERIALIZE_SCALAR(tag);
54 UNSERIALIZE_SCALAR(tag);
H A Dpagetable.hh95 Addr tag; // virtual page number tag member in struct:AlphaISA::TlbEntry
112 tag = vaddr.vpn();
127 : tag(0), ppn(0), xre(0), xwe(0), asn(0),
136 tag = vaddr.vpn();
/gem5/ext/testlib/
H A Dquery.py47 def suites_with_tag(self, tag):
48 return filter(lambda suite: tag in suite.tags, self.suites())
70 for tag in self.tags():
71 log.test_log.message(tag, machine_readable=True
H A Dmain.py102 for tag in tag_opts:
103 final_tags.append(config.TagRegex(True, regex_fmt % tag))
108 for tag in cfg.constants.supported_tags[name]:
109 if tag not in tag_opts:
110 final_tags.append(config.TagRegex(False, regex_fmt % tag))
144 If the regex provided with the `--include-tags` flag matches a tag of a
147 If the regex provided with the `--exclude-tags` flag matches a tag of a
189 matched_tags = (tag for tag in tags if tag_regex.regex.search(tag))
[all...]
/gem5/src/mem/cache/prefetch/
H A Dassociative_set.hh43 Addr tag; member in class:TaggedEntry
49 TaggedEntry() : tag(0), valid(false), secure(false) {}
77 * Obtain the entry tag
78 * @return the tag value
82 return tag;
86 * Sets the tag of the entry
87 * @param t the tag value
91 tag = t;
124 * bool value is used as an additional tag data of the entry.
163 * @param is_secure tag elemen
[all...]
/gem5/src/cpu/pred/
H A Dbtb.hh45 : tag(0), target(0), valid(false)
48 /** The entry's tag. */
49 Addr tag; member in struct:DefaultBTB::BTBEntry
63 * tag, and instruction offset amount.
65 * @param tagBits Number of bits for each tag in the BTB.
102 /** Returns the tag bits of a given address.
104 * @return Returns the tag bits.
117 /** The number of tag bits per entry. */
120 /** The tag mask. */
126 /** Number of bits to shift PC when calculating tag
[all...]
H A Dbtb.cc100 && inst_tag == btb[btb_idx].tag
121 && inst_tag == btb[btb_idx].tag
139 btb[btb_idx].tag = getTag(instPC);
H A Dsimple_indirect.cc96 Addr tag = getTag(br_addr); local
103 if (way->tag == tag) {
188 Addr tag = getTag(hist_entry.pcAddr);
196 if (way->tag == tag) {
208 way.tag = tag;
98 assert(set_index < numSets); DPRINTF(Indirect, �, br_addr, set_index); const auto &iset = targetCache[set_index]; for (auto way = iset.begin(); way != iset.end(); ++way) { if (way->tag == tag) argument
H A Dsimple_indirect.hh73 IPredEntry() : tag(0), target(0) { }
74 Addr tag; member in struct:SimpleIndirectPredictor::IPredEntry
H A Dtage_sc_l_8KB.cc173 int tag = (threadHistory[tid].computeIndices[bank - 1].comp << 2) ^ pc ^ local
179 tag = (tag >> 1) ^ ((tag & 1) << 10) ^
181 tag ^= threadHistory[tid].computeTags[0][bank].comp ^
184 return ((tag ^ (tag >> tagTableTagWidths[bank]))
213 gtable[i][bi->tableIndices[i]].tag = bi->tableTags[i];
/gem5/src/dev/virtio/
H A Dfs9p.hh60 /** Message tag */
61 P9Tag tag; member in struct:P9MsgHeader
77 v.tag = p9toh(v.tag);
86 v.tag = htop9(v.tag);
127 char tag[]; member in struct:VirtIO9PBase::Config
198 * RPC protocol uses the tag field in the header to match requests
H A DVirtIO9P.py50 tag = Param.String("gem5", "Mount tag") variable in class:VirtIO9PBase

Completed in 26 milliseconds

123