decode_impl.hh (9944:4ff1c5c6dcbc) decode_impl.hh (10172:790a214be1f4)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 54 unchanged lines hidden (view full) ---

63 : cpu(_cpu),
64 renameToDecodeDelay(params->renameToDecodeDelay),
65 iewToDecodeDelay(params->iewToDecodeDelay),
66 commitToDecodeDelay(params->commitToDecodeDelay),
67 fetchToDecodeDelay(params->fetchToDecodeDelay),
68 decodeWidth(params->decodeWidth),
69 numThreads(params->numThreads)
70{
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 54 unchanged lines hidden (view full) ---

63 : cpu(_cpu),
64 renameToDecodeDelay(params->renameToDecodeDelay),
65 iewToDecodeDelay(params->iewToDecodeDelay),
66 commitToDecodeDelay(params->commitToDecodeDelay),
67 fetchToDecodeDelay(params->fetchToDecodeDelay),
68 decodeWidth(params->decodeWidth),
69 numThreads(params->numThreads)
70{
71 if (decodeWidth > Impl::MaxWidth)
72 fatal("decodeWidth (%d) is larger than compiled limit (%d),\n"
73 "\tincrease MaxWidth in src/cpu/o3/impl.hh\n",
74 decodeWidth, static_cast<int>(Impl::MaxWidth));
75
71 // @todo: Make into a parameter
72 skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth;
73}
74
75template<class Impl>
76void
77DefaultDecode<Impl>::startupStage()
78{

--- 696 unchanged lines hidden ---
76 // @todo: Make into a parameter
77 skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth;
78}
79
80template<class Impl>
81void
82DefaultDecode<Impl>::startupStage()
83{

--- 696 unchanged lines hidden ---