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 } |
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. */ |
322 LSQUnit *thread; |
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 --- |