decode_impl.hh (13429:a1e199fd8122) | decode_impl.hh (13453:4a7a060ea26e) |
---|---|
1/* 2 * Copyright (c) 2012, 2014 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 --- 61 unchanged lines hidden (view full) --- 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 76 // @todo: Make into a parameter 77 skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth; | 1/* 2 * Copyright (c) 2012, 2014 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 --- 61 unchanged lines hidden (view full) --- 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 76 // @todo: Make into a parameter 77 skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth; |
78 for (int tid = 0; tid < Impl::MaxThreads; tid++) { 79 stalls[tid] = {false}; 80 decodeStatus[tid] = Idle; 81 bdelayDoneSeqNum[tid] = 0; 82 squashInst[tid] = nullptr; 83 squashAfterDelaySlot[tid] = 0; 84 } |
|
78} 79 80template<class Impl> 81void 82DefaultDecode<Impl>::startupStage() 83{ 84 resetStage(); 85} --- 672 unchanged lines hidden --- | 85} 86 87template<class Impl> 88void 89DefaultDecode<Impl>::startupStage() 90{ 91 resetStage(); 92} --- 672 unchanged lines hidden --- |