summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorJRPan <[email protected]>2021-05-19 17:49:51 -0400
committerGitHub <[email protected]>2021-05-19 17:49:51 -0400
commit1875132a20422404ea75d04fc7be58a1bbca48f3 (patch)
tree526646c9ac3f182e9fd7103255e3680f2fcc7adc /src/abstract_hardware_model.h
parentf27da224f3e468d600499a9d3619009ed9c70256 (diff)
parent0e4f12ae3fefd6bad6175014411a6587a3898ac8 (diff)
Merge branch 'dev' into adaptive-cache
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index dbe138a..17a1cec 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -870,6 +870,12 @@ class mem_fetch_allocator {
virtual mem_fetch *alloc(const class warp_inst_t &inst,
const mem_access_t &access,
unsigned long long cycle) const = 0;
+ virtual mem_fetch *alloc(new_addr_type addr, mem_access_type type,
+ const active_mask_t &active_mask,
+ const mem_access_byte_mask_t &byte_mask,
+ const mem_access_sector_mask_t &sector_mask,
+ unsigned size, bool wr,
+ unsigned long long cycle) const = 0;
};
// the maximum number of destination, source, or address uarch operands in a