summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-11-30 02:15:16 -0800
committerTor Aamodt <[email protected]>2010-11-30 02:15:16 -0800
commit52a638e84693fff528defbcbd24ecb58216baaba (patch)
tree34449df36f63267119cd048508810a101618fd39 /src/abstract_hardware_model.h
parent7a47f9cd62902d960a989a920d882f3b77fe7b2a (diff)
integrate changes (makes code more modular, i would argue)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8179]
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 3b197ab..c519be1 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -532,6 +532,7 @@ public:
{
m_decoded=false;
pc=(address_type)-1;
+ reconvergence_pc=(address_type)-1;
op=NO_OP;
memset(out, 0, sizeof(unsigned));
memset(in, 0, sizeof(unsigned));
@@ -557,6 +558,8 @@ public:
unsigned isize; // size of instruction in bytes
op_type op; // opcode (uarch visible)
_memory_op_t memory_op; // memory_op used by ptxplus
+
+ address_type reconvergence_pc; // -1 => not a branch, -2 => use function return address
unsigned out[4];
unsigned in[4];