summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 3b95829..ebf6535 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1056,6 +1056,13 @@ class warp_inst_t : public inst_t {
m_uid = 0;
m_empty = true;
m_config = NULL;
+
+ // Ni:
+ m_is_ldgsts = false;
+ m_is_ldgdepbar = false;
+ m_is_depbar = false;
+
+ m_depbar_group_no = 0;
}
warp_inst_t(const core_config *config) {
m_uid = 0;
@@ -1069,6 +1076,13 @@ class warp_inst_t : public inst_t {
m_is_printf = false;
m_is_cdp = 0;
should_do_atomic = true;
+
+ // Ni:
+ m_is_ldgsts = false;
+ m_is_ldgdepbar = false;
+ m_is_depbar = false;
+
+ m_depbar_group_no = 0;
}
virtual ~warp_inst_t() {}
@@ -1251,6 +1265,13 @@ class warp_inst_t : public inst_t {
// Jin: cdp support
public:
int m_is_cdp;
+
+ // Ni: add boolean to indicate whether the instruction is ldgsts
+ bool m_is_ldgsts;
+ bool m_is_ldgdepbar;
+ bool m_is_depbar;
+
+ unsigned int m_depbar_group_no;
};
void move_warp(warp_inst_t *&dst, warp_inst_t *&src);