From 7dde557fdc51140988092962137e1006d1609bea Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 4 Apr 2011 11:42:23 -0500 Subject: O3: Tighten memory order violation checking to 16 bytes. The comment in the code suggests that the checking granularity should be 16 bytes, however in reality the shift by 8 is 256 bytes which seems much larger than required. --- src/cpu/o3/O3CPU.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu/o3/O3CPU.py') diff --git a/src/cpu/o3/O3CPU.py b/src/cpu/o3/O3CPU.py index f7602cb86..f379fcd8a 100644 --- a/src/cpu/o3/O3CPU.py +++ b/src/cpu/o3/O3CPU.py @@ -118,6 +118,9 @@ class DerivO3CPU(BaseCPU): LQEntries = Param.Unsigned(32, "Number of load queue entries") SQEntries = Param.Unsigned(32, "Number of store queue entries") + LSQDepCheckShift = Param.Unsigned(4, "Number of places to shift addr before check") + LSQCheckLoads = Param.Bool(True, + "Should dependency violations be checked for loads & stores or just stores") LFSTSize = Param.Unsigned(1024, "Last fetched store table size") SSITSize = Param.Unsigned(1024, "Store set ID table size") -- cgit v1.2.3