iew_impl.hh (2731:822b96578fba) | iew_impl.hh (2733:e0eac8fc5774) |
---|---|
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; --- 262 unchanged lines hidden (view full) --- 271 toRename->iewInfo[tid].usedLSQ = true; 272 toRename->iewInfo[tid].freeLSQEntries = 273 ldstQueue.numFreeEntries(tid); 274 } 275} 276 277template<class Impl> 278void | 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; --- 262 unchanged lines hidden (view full) --- 271 toRename->iewInfo[tid].usedLSQ = true; 272 toRename->iewInfo[tid].freeLSQEntries = 273 ldstQueue.numFreeEntries(tid); 274 } 275} 276 277template<class Impl> 278void |
279DefaultIEW<Impl>::setCPU(FullCPU *cpu_ptr) | 279DefaultIEW<Impl>::setCPU(O3CPU *cpu_ptr) |
280{ 281 DPRINTF(IEW, "Setting CPU pointer.\n"); 282 cpu = cpu_ptr; 283 284 instQueue.setCPU(cpu_ptr); 285 ldstQueue.setCPU(cpu_ptr); 286 | 280{ 281 DPRINTF(IEW, "Setting CPU pointer.\n"); 282 cpu = cpu_ptr; 283 284 instQueue.setCPU(cpu_ptr); 285 ldstQueue.setCPU(cpu_ptr); 286 |
287 cpu->activateStage(FullCPU::IEWIdx); | 287 cpu->activateStage(O3CPU::IEWIdx); |
288} 289 290template<class Impl> 291void 292DefaultIEW<Impl>::setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr) 293{ 294 DPRINTF(IEW, "Setting time buffer pointer.\n"); 295 timeBuffer = tb_ptr; --- 556 unchanged lines hidden (view full) --- 852 cpu->activityThisCycle(); 853} 854 855template <class Impl> 856inline void 857DefaultIEW<Impl>::activateStage() 858{ 859 DPRINTF(Activity, "Activating stage.\n"); | 288} 289 290template<class Impl> 291void 292DefaultIEW<Impl>::setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr) 293{ 294 DPRINTF(IEW, "Setting time buffer pointer.\n"); 295 timeBuffer = tb_ptr; --- 556 unchanged lines hidden (view full) --- 852 cpu->activityThisCycle(); 853} 854 855template <class Impl> 856inline void 857DefaultIEW<Impl>::activateStage() 858{ 859 DPRINTF(Activity, "Activating stage.\n"); |
860 cpu->activateStage(FullCPU::IEWIdx); | 860 cpu->activateStage(O3CPU::IEWIdx); |
861} 862 863template <class Impl> 864inline void 865DefaultIEW<Impl>::deactivateStage() 866{ 867 DPRINTF(Activity, "Deactivating stage.\n"); | 861} 862 863template <class Impl> 864inline void 865DefaultIEW<Impl>::deactivateStage() 866{ 867 DPRINTF(Activity, "Deactivating stage.\n"); |
868 cpu->deactivateStage(FullCPU::IEWIdx); | 868 cpu->deactivateStage(O3CPU::IEWIdx); |
869} 870 871template<class Impl> 872void 873DefaultIEW<Impl>::dispatch(unsigned tid) 874{ 875 // If status is Running or idle, 876 // call dispatchInsts() --- 637 unchanged lines hidden --- | 869} 870 871template<class Impl> 872void 873DefaultIEW<Impl>::dispatch(unsigned tid) 874{ 875 // If status is Running or idle, 876 // call dispatchInsts() --- 637 unchanged lines hidden --- |