summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/cpu.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:35 -0400
committerKorey Sewell <ksewell@umich.edu>2011-06-19 21:43:35 -0400
commit946b0ed4f48e92b5286544369945c6a16663b590 (patch)
tree2ae1ea3d8f0652b9af528366bd54609e2791673e /src/cpu/inorder/cpu.hh
parent1a6d25dc478554cf1e7fe44e607c39989c58f114 (diff)
downloadgem5-946b0ed4f48e92b5286544369945c6a16663b590.tar.xz
inorder: simplify handling of split accesses
Diffstat (limited to 'src/cpu/inorder/cpu.hh')
-rw-r--r--src/cpu/inorder/cpu.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh
index a468f8fa8..a1fc2de52 100644
--- a/src/cpu/inorder/cpu.hh
+++ b/src/cpu/inorder/cpu.hh
@@ -344,6 +344,7 @@ class InOrderCPU : public BaseCPU
static const uint8_t INST_NONSPEC = 22;
static const uint8_t INST_DEST_REGS = 18;
static const uint8_t INST_SRC_REGS = 14;
+ static const uint8_t INST_SPLIT_DATA = 13;
inline SkedID genSkedID(DynInstPtr inst)
{
@@ -354,7 +355,8 @@ class InOrderCPU : public BaseCPU
(inst->isControl() << INST_CONTROL) |
(inst->isNonSpeculative() << INST_NONSPEC) |
(inst->numDestRegs() << INST_DEST_REGS) |
- (inst->numSrcRegs() << INST_SRC_REGS);
+ (inst->numSrcRegs() << INST_SRC_REGS) |
+ (inst->splitInst << INST_SPLIT_DATA);
return id;
}