rename_impl.hh (7854:3c6783497976) rename_impl.hh (7897:d9e8b1fd1a9f)
1/*
2 * Copyright (c) 2010 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

--- 165 unchanged lines hidden (view full) ---

174 .desc("count of temporary serializing insts renamed")
175 .flags(Stats::total)
176 ;
177 renameSkidInsts
178 .name(name() + ".RENAME:skidInsts")
179 .desc("count of insts added to the skid buffer")
180 .flags(Stats::total)
181 ;
1/*
2 * Copyright (c) 2010 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

--- 165 unchanged lines hidden (view full) ---

174 .desc("count of temporary serializing insts renamed")
175 .flags(Stats::total)
176 ;
177 renameSkidInsts
178 .name(name() + ".RENAME:skidInsts")
179 .desc("count of insts added to the skid buffer")
180 .flags(Stats::total)
181 ;
182 intRenameLookups
183 .name(name() + ".RENAME:int_rename_lookups")
184 .desc("Number of integer rename lookups")
185 .prereq(intRenameLookups);
186 fpRenameLookups
187 .name(name() + ".RENAME:fp_rename_lookups")
188 .desc("Number of floating rename lookups")
189 .prereq(fpRenameLookups);
182}
183
184template <class Impl>
185void
186DefaultRename<Impl>::setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr)
187{
188 timeBuffer = tb_ptr;
189

--- 817 unchanged lines hidden (view full) ---

1007
1008 inst->markSrcRegReady(src_idx);
1009 } else {
1010 DPRINTF(Rename, "[tid:%u]: Register %d is not ready.\n",
1011 tid, renamed_reg);
1012 }
1013
1014 ++renameRenameLookups;
190}
191
192template <class Impl>
193void
194DefaultRename<Impl>::setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr)
195{
196 timeBuffer = tb_ptr;
197

--- 817 unchanged lines hidden (view full) ---

1015
1016 inst->markSrcRegReady(src_idx);
1017 } else {
1018 DPRINTF(Rename, "[tid:%u]: Register %d is not ready.\n",
1019 tid, renamed_reg);
1020 }
1021
1022 ++renameRenameLookups;
1023 inst->isFloating() ? fpRenameLookups++ : intRenameLookups++;
1015 }
1016}
1017
1018template <class Impl>
1019inline void
1020DefaultRename<Impl>::renameDestRegs(DynInstPtr &inst, ThreadID tid)
1021{
1022 typename RenameMap::RenameInfo rename_result;

--- 371 unchanged lines hidden ---
1024 }
1025}
1026
1027template <class Impl>
1028inline void
1029DefaultRename<Impl>::renameDestRegs(DynInstPtr &inst, ThreadID tid)
1030{
1031 typename RenameMap::RenameInfo rename_result;

--- 371 unchanged lines hidden ---