rename.hh revision 3788
11689SN/A/*
22329SN/A * Copyright (c) 2004-2006 The Regents of The University of Michigan
31689SN/A * All rights reserved.
41689SN/A *
51689SN/A * Redistribution and use in source and binary forms, with or without
61689SN/A * modification, are permitted provided that the following conditions are
71689SN/A * met: redistributions of source code must retain the above copyright
81689SN/A * notice, this list of conditions and the following disclaimer;
91689SN/A * redistributions in binary form must reproduce the above copyright
101689SN/A * notice, this list of conditions and the following disclaimer in the
111689SN/A * documentation and/or other materials provided with the distribution;
121689SN/A * neither the name of the copyright holders nor the names of its
131689SN/A * contributors may be used to endorse or promote products derived from
141689SN/A * this software without specific prior written permission.
151689SN/A *
161689SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
171689SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
181689SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
191689SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
201689SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
211689SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
221689SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
231689SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
241689SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
251689SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
261689SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272665Ssaidi@eecs.umich.edu *
282665Ssaidi@eecs.umich.edu * Authors: Kevin Lim
291689SN/A */
301689SN/A
312292SN/A#ifndef __CPU_O3_RENAME_HH__
322292SN/A#define __CPU_O3_RENAME_HH__
331060SN/A
341060SN/A#include <list>
351060SN/A
361461SN/A#include "base/statistics.hh"
371060SN/A#include "base/timebuf.hh"
381060SN/A
392292SN/A/**
402329SN/A * DefaultRename handles both single threaded and SMT rename. Its
412329SN/A * width is specified by the parameters; each cycle it tries to rename
422329SN/A * that many instructions. It holds onto the rename history of all
432329SN/A * instructions with destination registers, storing the
442329SN/A * arch. register, the new physical register, and the old physical
452329SN/A * register, to allow for undoing of mappings if squashing happens, or
462329SN/A * freeing up registers upon commit. Rename handles blocking if the
472329SN/A * ROB, IQ, or LSQ is going to be full. Rename also handles barriers,
482329SN/A * and does so by stalling on the instruction until the ROB is empty
492329SN/A * and there are no instructions in flight to the ROB.
502292SN/A */
511060SN/Atemplate<class Impl>
522292SN/Aclass DefaultRename
531060SN/A{
541060SN/A  public:
551060SN/A    // Typedefs from the Impl.
561060SN/A    typedef typename Impl::CPUPol CPUPol;
571061SN/A    typedef typename Impl::DynInstPtr DynInstPtr;
582733Sktlim@umich.edu    typedef typename Impl::O3CPU O3CPU;
591060SN/A    typedef typename Impl::Params Params;
601060SN/A
612292SN/A    // Typedefs from the CPUPol
621061SN/A    typedef typename CPUPol::DecodeStruct DecodeStruct;
631061SN/A    typedef typename CPUPol::RenameStruct RenameStruct;
641061SN/A    typedef typename CPUPol::TimeStruct TimeStruct;
651060SN/A    typedef typename CPUPol::FreeList FreeList;
661060SN/A    typedef typename CPUPol::RenameMap RenameMap;
672292SN/A    // These are used only for initialization.
682292SN/A    typedef typename CPUPol::IEW IEW;
692292SN/A    typedef typename CPUPol::Commit Commit;
701060SN/A
711060SN/A    // Typedefs from the ISA.
722107SN/A    typedef TheISA::RegIndex RegIndex;
731060SN/A
742329SN/A    // A list is used to queue the instructions.  Barrier insts must
752329SN/A    // be added to the front of the list, which is the only reason for
762329SN/A    // using a list instead of a queue. (Most other stages use a
772329SN/A    // queue)
782292SN/A    typedef std::list<DynInstPtr> InstQueue;
792935Sksewell@umich.edu    typedef typename std::list<DynInstPtr>::iterator ListIt;
802292SN/A
811060SN/A  public:
822329SN/A    /** Overall rename status. Used to determine if the CPU can
832329SN/A     * deschedule itself due to a lack of activity.
842292SN/A     */
852292SN/A    enum RenameStatus {
862292SN/A        Active,
872292SN/A        Inactive
882292SN/A    };
892292SN/A
902292SN/A    /** Individual thread status. */
912292SN/A    enum ThreadStatus {
921060SN/A        Running,
931060SN/A        Idle,
942292SN/A        StartSquash,
951060SN/A        Squashing,
961060SN/A        Blocked,
971060SN/A        Unblocking,
982301SN/A        SerializeStall
991060SN/A    };
1001060SN/A
1011060SN/A  private:
1022292SN/A    /** Rename status. */
1032292SN/A    RenameStatus _status;
1042292SN/A
1052292SN/A    /** Per-thread status. */
1062292SN/A    ThreadStatus renameStatus[Impl::MaxThreads];
1071060SN/A
1081060SN/A  public:
1092292SN/A    /** DefaultRename constructor. */
1102292SN/A    DefaultRename(Params *params);
1111060SN/A
1122292SN/A    /** Returns the name of rename. */
1132292SN/A    std::string name() const;
1142292SN/A
1152292SN/A    /** Registers statistics. */
1161062SN/A    void regStats();
1171062SN/A
1182292SN/A    /** Sets CPU pointer. */
1192733Sktlim@umich.edu    void setCPU(O3CPU *cpu_ptr);
1201060SN/A
1212292SN/A    /** Sets the main backwards communication time buffer pointer. */
1221060SN/A    void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr);
1231060SN/A
1242292SN/A    /** Sets pointer to time buffer used to communicate to the next stage. */
1251060SN/A    void setRenameQueue(TimeBuffer<RenameStruct> *rq_ptr);
1261060SN/A
1272292SN/A    /** Sets pointer to time buffer coming from decode. */
1281060SN/A    void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr);
1291060SN/A
1302292SN/A    /** Sets pointer to IEW stage. Used only for initialization. */
1312292SN/A    void setIEWStage(IEW *iew_stage)
1322292SN/A    { iew_ptr = iew_stage; }
1331060SN/A
1342292SN/A    /** Sets pointer to commit stage. Used only for initialization. */
1352292SN/A    void setCommitStage(Commit *commit_stage)
1362292SN/A    { commit_ptr = commit_stage; }
1372292SN/A
1382292SN/A  private:
1392292SN/A    /** Pointer to IEW stage. Used only for initialization. */
1402292SN/A    IEW *iew_ptr;
1412292SN/A
1422292SN/A    /** Pointer to commit stage. Used only for initialization. */
1432292SN/A    Commit *commit_ptr;
1442292SN/A
1452292SN/A  public:
1462292SN/A    /** Initializes variables for the stage. */
1472292SN/A    void initStage();
1482292SN/A
1492292SN/A    /** Sets pointer to list of active threads. */
1502292SN/A    void setActiveThreads(std::list<unsigned> *at_ptr);
1512292SN/A
1522292SN/A    /** Sets pointer to rename maps (per-thread structures). */
1532292SN/A    void setRenameMap(RenameMap rm_ptr[Impl::MaxThreads]);
1542292SN/A
1552292SN/A    /** Sets pointer to the free list. */
1561060SN/A    void setFreeList(FreeList *fl_ptr);
1571060SN/A
1582292SN/A    /** Sets pointer to the scoreboard. */
1592292SN/A    void setScoreboard(Scoreboard *_scoreboard);
1602292SN/A
1612843Sktlim@umich.edu    /** Drains the rename stage. */
1622863Sktlim@umich.edu    bool drain();
1632843Sktlim@umich.edu
1642843Sktlim@umich.edu    /** Resumes execution after a drain. */
1652843Sktlim@umich.edu    void resume() { }
1662843Sktlim@umich.edu
1672348SN/A    /** Switches out the rename stage. */
1682307SN/A    void switchOut();
1692307SN/A
1702348SN/A    /** Takes over from another CPU's thread. */
1712307SN/A    void takeOverFrom();
1722307SN/A
1732292SN/A    /** Squashes all instructions in a thread. */
1742935Sksewell@umich.edu    void squash(const InstSeqNum &squash_seq_num, unsigned tid);
1752292SN/A
1762292SN/A    /** Ticks rename, which processes all input signals and attempts to rename
1772292SN/A     * as many instructions as possible.
1782292SN/A     */
1792292SN/A    void tick();
1802292SN/A
1812292SN/A    /** Debugging function used to dump history buffer of renamings. */
1821060SN/A    void dumpHistory();
1831060SN/A
1842292SN/A  private:
1852292SN/A    /** Determines what to do based on rename's current status.
1862292SN/A     * @param status_change rename() sets this variable if there was a status
1872292SN/A     * change (ie switching from blocking to unblocking).
1882292SN/A     * @param tid Thread id to rename instructions from.
1892292SN/A     */
1902292SN/A    void rename(bool &status_change, unsigned tid);
1911060SN/A
1922292SN/A    /** Renames instructions for the given thread. Also handles serializing
1932292SN/A     * instructions.
1942292SN/A     */
1952292SN/A    void renameInsts(unsigned tid);
1961060SN/A
1972292SN/A    /** Inserts unused instructions from a given thread into the skid buffer,
1982292SN/A     * to be renamed once rename unblocks.
1992292SN/A     */
2002292SN/A    void skidInsert(unsigned tid);
2011060SN/A
2022292SN/A    /** Separates instructions from decode into individual lists of instructions
2032292SN/A     * sorted by thread.
2042292SN/A     */
2052292SN/A    void sortInsts();
2061060SN/A
2072292SN/A    /** Returns if all of the skid buffers are empty. */
2082292SN/A    bool skidsEmpty();
2091060SN/A
2102292SN/A    /** Updates overall rename status based on all of the threads' statuses. */
2112292SN/A    void updateStatus();
2121060SN/A
2132292SN/A    /** Switches rename to blocking, and signals back that rename has become
2142292SN/A     * blocked.
2152292SN/A     * @return Returns true if there is a status change.
2162292SN/A     */
2172292SN/A    bool block(unsigned tid);
2181060SN/A
2192292SN/A    /** Switches rename to unblocking if the skid buffer is empty, and signals
2202292SN/A     * back that rename has unblocked.
2212292SN/A     * @return Returns true if there is a status change.
2222292SN/A     */
2232292SN/A    bool unblock(unsigned tid);
2241061SN/A
2252292SN/A    /** Executes actual squash, removing squashed instructions. */
2262935Sksewell@umich.edu    void doSquash(const InstSeqNum &squash_seq_num, unsigned tid);
2271061SN/A
2282292SN/A    /** Removes a committed instruction's rename history. */
2292292SN/A    void removeFromHistory(InstSeqNum inst_seq_num, unsigned tid);
2301061SN/A
2312292SN/A    /** Renames the source registers of an instruction. */
2322292SN/A    inline void renameSrcRegs(DynInstPtr &inst, unsigned tid);
2331061SN/A
2342292SN/A    /** Renames the destination registers of an instruction. */
2352292SN/A    inline void renameDestRegs(DynInstPtr &inst, unsigned tid);
2362292SN/A
2372292SN/A    /** Calculates the number of free ROB entries for a specific thread. */
2382292SN/A    inline int calcFreeROBEntries(unsigned tid);
2392292SN/A
2402292SN/A    /** Calculates the number of free IQ entries for a specific thread. */
2412292SN/A    inline int calcFreeIQEntries(unsigned tid);
2422292SN/A
2432292SN/A    /** Calculates the number of free LSQ entries for a specific thread. */
2442292SN/A    inline int calcFreeLSQEntries(unsigned tid);
2452292SN/A
2462292SN/A    /** Returns the number of valid instructions coming from decode. */
2472292SN/A    unsigned validInsts();
2482292SN/A
2492292SN/A    /** Reads signals telling rename to block/unblock. */
2502292SN/A    void readStallSignals(unsigned tid);
2512292SN/A
2522292SN/A    /** Checks if any stages are telling rename to block. */
2532292SN/A    bool checkStall(unsigned tid);
2542292SN/A
2552348SN/A    /** Gets the number of free entries for a specific thread. */
2562292SN/A    void readFreeEntries(unsigned tid);
2572292SN/A
2582348SN/A    /** Checks the signals and updates the status. */
2592292SN/A    bool checkSignalsAndUpdate(unsigned tid);
2602292SN/A
2612292SN/A    /** Either serializes on the next instruction available in the InstQueue,
2622292SN/A     * or records that it must serialize on the next instruction to enter
2632292SN/A     * rename.
2642292SN/A     * @param inst_list The list of younger, unprocessed instructions for the
2652292SN/A     * thread that has the serializeAfter instruction.
2662292SN/A     * @param tid The thread id.
2672292SN/A     */
2682292SN/A    void serializeAfter(InstQueue &inst_list, unsigned tid);
2692292SN/A
2702292SN/A    /** Holds the information for each destination register rename. It holds
2712292SN/A     * the instruction's sequence number, the arch register, the old physical
2722292SN/A     * register for that arch. register, and the new physical register.
2731060SN/A     */
2741060SN/A    struct RenameHistory {
2751060SN/A        RenameHistory(InstSeqNum _instSeqNum, RegIndex _archReg,
2761060SN/A                      PhysRegIndex _newPhysReg, PhysRegIndex _prevPhysReg)
2771060SN/A            : instSeqNum(_instSeqNum), archReg(_archReg),
2782292SN/A              newPhysReg(_newPhysReg), prevPhysReg(_prevPhysReg)
2791060SN/A        {
2801060SN/A        }
2811060SN/A
2822292SN/A        /** The sequence number of the instruction that renamed. */
2831060SN/A        InstSeqNum instSeqNum;
2842292SN/A        /** The architectural register index that was renamed. */
2851060SN/A        RegIndex archReg;
2862292SN/A        /** The new physical register that the arch. register is renamed to. */
2871060SN/A        PhysRegIndex newPhysReg;
2882292SN/A        /** The old physical register that the arch. register was renamed to. */
2891060SN/A        PhysRegIndex prevPhysReg;
2901060SN/A    };
2911060SN/A
2922292SN/A    /** A per-thread list of all destination register renames, used to either
2932292SN/A     * undo rename mappings or free old physical registers.
2942292SN/A     */
2952292SN/A    std::list<RenameHistory> historyBuffer[Impl::MaxThreads];
2961060SN/A
2972292SN/A    /** Pointer to CPU. */
2982733Sktlim@umich.edu    O3CPU *cpu;
2991060SN/A
3002292SN/A    /** Pointer to main time buffer used for backwards communication. */
3011060SN/A    TimeBuffer<TimeStruct> *timeBuffer;
3021060SN/A
3031060SN/A    /** Wire to get IEW's output from backwards time buffer. */
3041060SN/A    typename TimeBuffer<TimeStruct>::wire fromIEW;
3051060SN/A
3061060SN/A    /** Wire to get commit's output from backwards time buffer. */
3071060SN/A    typename TimeBuffer<TimeStruct>::wire fromCommit;
3081060SN/A
3091060SN/A    /** Wire to write infromation heading to previous stages. */
3101060SN/A    typename TimeBuffer<TimeStruct>::wire toDecode;
3111060SN/A
3121060SN/A    /** Rename instruction queue. */
3131060SN/A    TimeBuffer<RenameStruct> *renameQueue;
3141060SN/A
3151060SN/A    /** Wire to write any information heading to IEW. */
3161060SN/A    typename TimeBuffer<RenameStruct>::wire toIEW;
3171060SN/A
3181060SN/A    /** Decode instruction queue interface. */
3191060SN/A    TimeBuffer<DecodeStruct> *decodeQueue;
3201060SN/A
3211060SN/A    /** Wire to get decode's output from decode queue. */
3221060SN/A    typename TimeBuffer<DecodeStruct>::wire fromDecode;
3231060SN/A
3242292SN/A    /** Queue of all instructions coming from decode this cycle. */
3252292SN/A    InstQueue insts[Impl::MaxThreads];
3262292SN/A
3271060SN/A    /** Skid buffer between rename and decode. */
3282292SN/A    InstQueue skidBuffer[Impl::MaxThreads];
3291060SN/A
3301060SN/A    /** Rename map interface. */
3312292SN/A    RenameMap *renameMap[Impl::MaxThreads];
3321060SN/A
3331060SN/A    /** Free list interface. */
3341060SN/A    FreeList *freeList;
3351060SN/A
3362292SN/A    /** Pointer to the list of active threads. */
3372292SN/A    std::list<unsigned> *activeThreads;
3382292SN/A
3392292SN/A    /** Pointer to the scoreboard. */
3402292SN/A    Scoreboard *scoreboard;
3412292SN/A
3422292SN/A    /** Count of instructions in progress that have been sent off to the IQ
3432292SN/A     * and ROB, but are not yet included in their occupancy counts.
3442292SN/A     */
3452292SN/A    int instsInProgress[Impl::MaxThreads];
3462292SN/A
3472292SN/A    /** Variable that tracks if decode has written to the time buffer this
3482292SN/A     * cycle. Used to tell CPU if there is activity this cycle.
3492292SN/A     */
3502292SN/A    bool wroteToTimeBuffer;
3512292SN/A
3522292SN/A    /** Structures whose free entries impact the amount of instructions that
3532292SN/A     * can be renamed.
3542292SN/A     */
3552292SN/A    struct FreeEntries {
3562292SN/A        unsigned iqEntries;
3572292SN/A        unsigned lsqEntries;
3582292SN/A        unsigned robEntries;
3592292SN/A    };
3602292SN/A
3612292SN/A    /** Per-thread tracking of the number of free entries of back-end
3622292SN/A     * structures.
3632292SN/A     */
3642292SN/A    FreeEntries freeEntries[Impl::MaxThreads];
3652292SN/A
3662292SN/A    /** Records if the ROB is empty. In SMT mode the ROB may be dynamically
3672292SN/A     * partitioned between threads, so the ROB must tell rename when it is
3682292SN/A     * empty.
3692292SN/A     */
3702292SN/A    bool emptyROB[Impl::MaxThreads];
3712292SN/A
3722292SN/A    /** Source of possible stalls. */
3732292SN/A    struct Stalls {
3742292SN/A        bool iew;
3752292SN/A        bool commit;
3762292SN/A    };
3772292SN/A
3782292SN/A    /** Tracks which stages are telling decode to stall. */
3792292SN/A    Stalls stalls[Impl::MaxThreads];
3802292SN/A
3812301SN/A    /** The serialize instruction that rename has stalled on. */
3822301SN/A    DynInstPtr serializeInst[Impl::MaxThreads];
3832292SN/A
3842292SN/A    /** Records if rename needs to serialize on the next instruction for any
3852292SN/A     * thread.
3862292SN/A     */
3872292SN/A    bool serializeOnNextInst[Impl::MaxThreads];
3882292SN/A
3891060SN/A    /** Delay between iew and rename, in ticks. */
3901060SN/A    int iewToRenameDelay;
3911060SN/A
3921060SN/A    /** Delay between decode and rename, in ticks. */
3931060SN/A    int decodeToRenameDelay;
3941060SN/A
3951060SN/A    /** Delay between commit and rename, in ticks. */
3961060SN/A    unsigned commitToRenameDelay;
3971060SN/A
3981060SN/A    /** Rename width, in instructions. */
3991060SN/A    unsigned renameWidth;
4001060SN/A
4011060SN/A    /** Commit width, in instructions.  Used so rename knows how many
4021060SN/A     *  instructions might have freed registers in the previous cycle.
4031060SN/A     */
4041060SN/A    unsigned commitWidth;
4051061SN/A
4062292SN/A    /** The index of the instruction in the time buffer to IEW that rename is
4072292SN/A     * currently using.
4081061SN/A     */
4092292SN/A    unsigned toIEWIndex;
4101062SN/A
4112292SN/A    /** Whether or not rename needs to block this cycle. */
4122292SN/A    bool blockThisCycle;
4132292SN/A
4143788Sgblack@eecs.umich.edu    /** Whether or not rename needs to resume a serialize instruction
4153788Sgblack@eecs.umich.edu     * after squashing. */
4163788Sgblack@eecs.umich.edu    bool resumeSerialize;
4173788Sgblack@eecs.umich.edu
4182292SN/A    /** The number of threads active in rename. */
4192292SN/A    unsigned numThreads;
4202292SN/A
4212292SN/A    /** The maximum skid buffer size. */
4222292SN/A    unsigned skidBufferMax;
4232292SN/A
4242361SN/A    PhysRegIndex maxPhysicalRegs;
4252361SN/A
4262292SN/A    /** Enum to record the source of a structure full stall.  Can come from
4272292SN/A     * either ROB, IQ, LSQ, and it is priortized in that order.
4282292SN/A     */
4292292SN/A    enum FullSource {
4302292SN/A        ROB,
4312292SN/A        IQ,
4322292SN/A        LSQ,
4332292SN/A        NONE
4342292SN/A    };
4352292SN/A
4362292SN/A    /** Function used to increment the stat that corresponds to the source of
4372292SN/A     * the stall.
4382292SN/A     */
4392292SN/A    inline void incrFullStat(const FullSource &source);
4402292SN/A
4412292SN/A    /** Stat for total number of cycles spent squashing. */
4421062SN/A    Stats::Scalar<> renameSquashCycles;
4432292SN/A    /** Stat for total number of cycles spent idle. */
4441062SN/A    Stats::Scalar<> renameIdleCycles;
4452292SN/A    /** Stat for total number of cycles spent blocking. */
4461062SN/A    Stats::Scalar<> renameBlockCycles;
4472301SN/A    /** Stat for total number of cycles spent stalling for a serializing inst. */
4482301SN/A    Stats::Scalar<> renameSerializeStallCycles;
4492292SN/A    /** Stat for total number of cycles spent running normally. */
4502292SN/A    Stats::Scalar<> renameRunCycles;
4512292SN/A    /** Stat for total number of cycles spent unblocking. */
4521062SN/A    Stats::Scalar<> renameUnblockCycles;
4532292SN/A    /** Stat for total number of renamed instructions. */
4541062SN/A    Stats::Scalar<> renameRenamedInsts;
4552292SN/A    /** Stat for total number of squashed instructions that rename discards. */
4561062SN/A    Stats::Scalar<> renameSquashedInsts;
4572292SN/A    /** Stat for total number of times that the ROB starts a stall in rename. */
4581062SN/A    Stats::Scalar<> renameROBFullEvents;
4592292SN/A    /** Stat for total number of times that the IQ starts a stall in rename. */
4601062SN/A    Stats::Scalar<> renameIQFullEvents;
4612292SN/A    /** Stat for total number of times that the LSQ starts a stall in rename. */
4622292SN/A    Stats::Scalar<> renameLSQFullEvents;
4632292SN/A    /** Stat for total number of times that rename runs out of free registers
4642292SN/A     * to use to rename. */
4651062SN/A    Stats::Scalar<> renameFullRegistersEvents;
4662292SN/A    /** Stat for total number of renamed destination registers. */
4671062SN/A    Stats::Scalar<> renameRenamedOperands;
4682292SN/A    /** Stat for total number of source register rename lookups. */
4691062SN/A    Stats::Scalar<> renameRenameLookups;
4702292SN/A    /** Stat for total number of committed renaming mappings. */
4711062SN/A    Stats::Scalar<> renameCommittedMaps;
4722292SN/A    /** Stat for total number of mappings that were undone due to a squash. */
4731062SN/A    Stats::Scalar<> renameUndoneMaps;
4742348SN/A    /** Number of serialize instructions handled. */
4752301SN/A    Stats::Scalar<> renamedSerializing;
4762348SN/A    /** Number of instructions marked as temporarily serializing. */
4772301SN/A    Stats::Scalar<> renamedTempSerializing;
4782348SN/A    /** Number of instructions inserted into skid buffers. */
4792307SN/A    Stats::Scalar<> renameSkidInsts;
4801060SN/A};
4811060SN/A
4822292SN/A#endif // __CPU_O3_RENAME_HH__
483