Deleted Added
sdiff udiff text old ( 8516:a9c0d2ab490a ) new ( 8519:ef35ce2bd73f )
full compact
1/*
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

40 : loadBarrier(false), loadBarrierSN(0), storeBarrier(false),
41 storeBarrierSN(0), iqPtr(NULL)
42{
43}
44
45template <class MemDepPred, class Impl>
46MemDepUnit<MemDepPred, Impl>::MemDepUnit(DerivO3CPUParams *params)
47 : _name(params->name + ".memdepunit"),
48 depPred(params->store_set_clear_period, params->SSITSize,
49 params->LFSTSize),
50 loadBarrier(false), loadBarrierSN(0), storeBarrier(false),
51 storeBarrierSN(0), iqPtr(NULL)
52{
53 DPRINTF(MemDepUnit, "Creating MemDepUnit object.\n");
54}
55
56template <class MemDepPred, class Impl>
57MemDepUnit<MemDepPred, Impl>::~MemDepUnit()
58{
59 for (ThreadID tid = 0; tid < Impl::MaxThreads; tid++) {

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

82void
83MemDepUnit<MemDepPred, Impl>::init(DerivO3CPUParams *params, ThreadID tid)
84{
85 DPRINTF(MemDepUnit, "Creating MemDepUnit %i object.\n",tid);
86
87 _name = csprintf("%s.memDep%d", params->name, tid);
88 id = tid;
89
90 depPred.init(params->store_set_clear_period, params->SSITSize,
91 params->LFSTSize);
92}
93
94template <class MemDepPred, class Impl>
95void
96MemDepUnit<MemDepPred, Impl>::regStats()
97{
98 insertedLoads
99 .name(name() + ".insertedLoads")

--- 488 unchanged lines hidden ---