From: Brian Grayson Date: Wed, 21 Mar 2012 15:34:05 +0000 (-0500) Subject: O3: Fix size of skid buffer between fetch and decode when widths are different X-Git-Tag: stable_2012_06_28~168 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=565c1de4a8a139b0bc9e7810635f8cb468b504ed;p=gem5.git O3: Fix size of skid buffer between fetch and decode when widths are different --- diff --git a/src/cpu/o3/decode_impl.hh b/src/cpu/o3/decode_impl.hh index 22b89f4a8..fd8dc834b 100644 --- a/src/cpu/o3/decode_impl.hh +++ b/src/cpu/o3/decode_impl.hh @@ -64,7 +64,7 @@ DefaultDecode::DefaultDecode(O3CPU *_cpu, DerivO3CPUParams *params) } // @todo: Make into a parameter - skidBufferMax = (fetchToDecodeDelay * params->fetchWidth) + decodeWidth; + skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth; } template