lsq_unit.hh (13429:a1e199fd8122) | lsq_unit.hh (13472:7ceacede4f1e) |
---|---|
1/* 2 * Copyright (c) 2012-2014,2017 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 --- 72 unchanged lines hidden (view full) --- 81 typedef typename Impl::O3CPU O3CPU; 82 typedef typename Impl::DynInstPtr DynInstPtr; 83 typedef typename Impl::CPUPol::IEW IEW; 84 typedef typename Impl::CPUPol::LSQ LSQ; 85 typedef typename Impl::CPUPol::IssueStruct IssueStruct; 86 87 public: 88 /** Constructs an LSQ unit. init() must be called prior to use. */ | 1/* 2 * Copyright (c) 2012-2014,2017 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 --- 72 unchanged lines hidden (view full) --- 81 typedef typename Impl::O3CPU O3CPU; 82 typedef typename Impl::DynInstPtr DynInstPtr; 83 typedef typename Impl::CPUPol::IEW IEW; 84 typedef typename Impl::CPUPol::LSQ LSQ; 85 typedef typename Impl::CPUPol::IssueStruct IssueStruct; 86 87 public: 88 /** Constructs an LSQ unit. init() must be called prior to use. */ |
89 LSQUnit(); | 89 LSQUnit(uint32_t lqEntries, uint32_t sqEntries); |
90 | 90 |
91 /** We cannot copy LSQUnit because it has stats for which copy 92 * contructor is deleted explicitly. However, STL vector requires 93 * a valid copy constructor for the base type at compile time. 94 */ 95 LSQUnit(const LSQUnit &l) { panic("LSQUnit is not copy-able"); } 96 |
|
91 /** Initializes the LSQ unit with the specified number of entries. */ 92 void init(O3CPU *cpu_ptr, IEW *iew_ptr, DerivO3CPUParams *params, | 97 /** Initializes the LSQ unit with the specified number of entries. */ 98 void init(O3CPU *cpu_ptr, IEW *iew_ptr, DerivO3CPUParams *params, |
93 LSQ *lsq_ptr, unsigned maxLQEntries, unsigned maxSQEntries, 94 unsigned id); | 99 LSQ *lsq_ptr, unsigned id); |
95 96 /** Returns the name of the LSQ unit. */ 97 std::string name() const; 98 99 /** Registers statistics. */ 100 void regStats(); 101 102 /** Sets the pointer to the dcache port. */ --- 792 unchanged lines hidden --- | 100 101 /** Returns the name of the LSQ unit. */ 102 std::string name() const; 103 104 /** Registers statistics. */ 105 void regStats(); 106 107 /** Sets the pointer to the dcache port. */ --- 792 unchanged lines hidden --- |