rename_impl.hh (5082:82dd253231c8) | rename_impl.hh (5529:9ae69b9cd7fd) |
---|---|
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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#include <list> 33 34#include "arch/isa_traits.hh" 35#include "arch/regfile.hh" 36#include "config/full_system.hh" 37#include "cpu/o3/rename.hh" | 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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#include <list> 33 34#include "arch/isa_traits.hh" 35#include "arch/regfile.hh" 36#include "config/full_system.hh" 37#include "cpu/o3/rename.hh" |
38#include "params/DerivO3CPU.hh" |
|
38 39template <class Impl> | 39 40template <class Impl> |
40DefaultRename | 41DefaultRename<Impl>::DefaultRename(O3CPU *_cpu, DerivO3CPUParams *params) |
41 : cpu(_cpu), 42 iewToRenameDelay(params->iewToRenameDelay), 43 decodeToRenameDelay(params->decodeToRenameDelay), 44 commitToRenameDelay(params->commitToRenameDelay), 45 renameWidth(params->renameWidth), 46 commitWidth(params->commitWidth), 47 resumeSerialize(false), 48 resumeUnblocking(false), | 42 : cpu(_cpu), 43 iewToRenameDelay(params->iewToRenameDelay), 44 decodeToRenameDelay(params->decodeToRenameDelay), 45 commitToRenameDelay(params->commitToRenameDelay), 46 renameWidth(params->renameWidth), 47 commitWidth(params->commitWidth), 48 resumeSerialize(false), 49 resumeUnblocking(false), |
49 numThreads(params->numberOfThreads), | 50 numThreads(params->numThreads), |
50 maxPhysicalRegs(params->numPhysIntRegs + params->numPhysFloatRegs) 51{ 52 _status = Inactive; 53 54 for (int i=0; i< numThreads; i++) { 55 renameStatus[i] = Idle; 56 57 freeEntries[i].iqEntries = 0; --- 1304 unchanged lines hidden --- | 51 maxPhysicalRegs(params->numPhysIntRegs + params->numPhysFloatRegs) 52{ 53 _status = Inactive; 54 55 for (int i=0; i< numThreads; i++) { 56 renameStatus[i] = Idle; 57 58 freeEntries[i].iqEntries = 0; --- 1304 unchanged lines hidden --- |