From 565c1de4a8a139b0bc9e7810635f8cb468b504ed Mon Sep 17 00:00:00 2001 From: Brian Grayson Date: Wed, 21 Mar 2012 10:34:05 -0500 Subject: O3: Fix size of skid buffer between fetch and decode when widths are different --- src/cpu/o3/decode_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu') 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 -- cgit v1.2.3