lsq.hh (9444:ab47fe7f03f0) | lsq.hh (9868:44a67004d6b4) |
---|---|
1/* 2 * Copyright (c) 2011-2012 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 --- 56 unchanged lines hidden (view full) --- 65 enum LSQPolicy { 66 Dynamic, 67 Partitioned, 68 Threshold 69 }; 70 71 /** Constructs an LSQ with the given parameters. */ 72 LSQ(O3CPU *cpu_ptr, IEW *iew_ptr, DerivO3CPUParams *params); | 1/* 2 * Copyright (c) 2011-2012 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 --- 56 unchanged lines hidden (view full) --- 65 enum LSQPolicy { 66 Dynamic, 67 Partitioned, 68 Threshold 69 }; 70 71 /** Constructs an LSQ with the given parameters. */ 72 LSQ(O3CPU *cpu_ptr, IEW *iew_ptr, DerivO3CPUParams *params); |
73 ~LSQ() { 74 if (thread) delete [] thread; 75 } |
|
73 74 /** Returns the name of the LSQ. */ 75 std::string name() const; 76 77 /** Registers statistics of each LSQ unit. */ 78 void regStats(); 79 80 /** Sets the pointer to the list of active threads. */ --- 230 unchanged lines hidden (view full) --- 311 /** The IEW stage pointer. */ 312 IEW *iewStage; 313 314 protected: 315 /** The LSQ policy for SMT mode. */ 316 LSQPolicy lsqPolicy; 317 318 /** The LSQ units for individual threads. */ | 76 77 /** Returns the name of the LSQ. */ 78 std::string name() const; 79 80 /** Registers statistics of each LSQ unit. */ 81 void regStats(); 82 83 /** Sets the pointer to the list of active threads. */ --- 230 unchanged lines hidden (view full) --- 314 /** The IEW stage pointer. */ 315 IEW *iewStage; 316 317 protected: 318 /** The LSQ policy for SMT mode. */ 319 LSQPolicy lsqPolicy; 320 321 /** The LSQ units for individual threads. */ |
319 LSQUnit thread[Impl::MaxThreads]; | 322 LSQUnit *thread; |
320 321 /** List of Active Threads in System. */ 322 std::list<ThreadID> *activeThreads; 323 324 /** Total Size of LQ Entries. */ 325 unsigned LQEntries; 326 /** Total Size of SQ Entries. */ 327 unsigned SQEntries; --- 36 unchanged lines hidden --- | 323 324 /** List of Active Threads in System. */ 325 std::list<ThreadID> *activeThreads; 326 327 /** Total Size of LQ Entries. */ 328 unsigned LQEntries; 329 /** Total Size of SQ Entries. */ 330 unsigned SQEntries; --- 36 unchanged lines hidden --- |