diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:35 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:35 -0400 |
commit | 946b0ed4f48e92b5286544369945c6a16663b590 (patch) | |
tree | 2ae1ea3d8f0652b9af528366bd54609e2791673e /src/cpu/inorder/cpu.hh | |
parent | 1a6d25dc478554cf1e7fe44e607c39989c58f114 (diff) | |
download | gem5-946b0ed4f48e92b5286544369945c6a16663b590.tar.xz |
inorder: simplify handling of split accesses
Diffstat (limited to 'src/cpu/inorder/cpu.hh')
-rw-r--r-- | src/cpu/inorder/cpu.hh | 4 |
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; } |