lsq.hh (2733:e0eac8fc5774) | lsq.hh (2871:7ed5c9ef3eb6) |
---|---|
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; --- 51 unchanged lines hidden (view full) --- 60 LSQ(Params *params); 61 62 /** Returns the name of the LSQ. */ 63 std::string name() const; 64 65 /** Registers statistics of each LSQ unit. */ 66 void regStats(); 67 | 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; --- 51 unchanged lines hidden (view full) --- 60 LSQ(Params *params); 61 62 /** Returns the name of the LSQ. */ 63 std::string name() const; 64 65 /** Registers statistics of each LSQ unit. */ 66 void regStats(); 67 |
68 /** Returns dcache port. 69 * @todo: Dcache port needs to be moved up to this level for SMT 70 * to work. For now it just returns the port from one of the 71 * threads. 72 */ 73 Port *getDcachePort() { return thread[0].getDcachePort(); } 74 |
|
68 /** Sets the pointer to the list of active threads. */ 69 void setActiveThreads(std::list<unsigned> *at_ptr); 70 /** Sets the CPU pointer. */ 71 void setCPU(O3CPU *cpu_ptr); 72 /** Sets the IEW stage pointer. */ 73 void setIEW(IEW *iew_ptr); 74 /** Switches out the LSQ. */ 75 void switchOut(); --- 246 unchanged lines hidden --- | 75 /** Sets the pointer to the list of active threads. */ 76 void setActiveThreads(std::list<unsigned> *at_ptr); 77 /** Sets the CPU pointer. */ 78 void setCPU(O3CPU *cpu_ptr); 79 /** Sets the IEW stage pointer. */ 80 void setIEW(IEW *iew_ptr); 81 /** Switches out the LSQ. */ 82 void switchOut(); --- 246 unchanged lines hidden --- |