rename_impl.hh (10715:ced453290507) rename_impl.hh (10933:e1309937d313)
1/*
2 * Copyright (c) 2010-2012, 2014-2015 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

586
587 inst = insts_to_rename.front();
588
589 //For all kind of instructions, check ROB and IQ first
590 //For load instruction, check LQ size and take into account the inflight loads
591 //For store instruction, check SQ size and take into account the inflight stores
592
593 if (inst->isLoad()) {
1/*
2 * Copyright (c) 2010-2012, 2014-2015 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

586
587 inst = insts_to_rename.front();
588
589 //For all kind of instructions, check ROB and IQ first
590 //For load instruction, check LQ size and take into account the inflight loads
591 //For store instruction, check SQ size and take into account the inflight stores
592
593 if (inst->isLoad()) {
594 if(calcFreeLQEntries(tid) <= 0) {
595 DPRINTF(Rename, "[tid:%u]: Cannot rename due to no free LQ\n");
596 source = LQ;
597 incrFullStat(source);
598 break;
599 }
594 if (calcFreeLQEntries(tid) <= 0) {
595 DPRINTF(Rename, "[tid:%u]: Cannot rename due to no free LQ\n");
596 source = LQ;
597 incrFullStat(source);
598 break;
599 }
600 }
601
602 if (inst->isStore()) {
600 }
601
602 if (inst->isStore()) {
603 if(calcFreeSQEntries(tid) <= 0) {
604 DPRINTF(Rename, "[tid:%u]: Cannot rename due to no free SQ\n");
605 source = SQ;
606 incrFullStat(source);
607 break;
608 }
603 if (calcFreeSQEntries(tid) <= 0) {
604 DPRINTF(Rename, "[tid:%u]: Cannot rename due to no free SQ\n");
605 source = SQ;
606 incrFullStat(source);
607 break;
608 }
609 }
610
611 insts_to_rename.pop_front();
612
613 if (renameStatus[tid] == Unblocking) {
614 DPRINTF(Rename,"[tid:%u]: Removing [sn:%lli] PC:%s from rename "
615 "skidBuffer\n", tid, inst->seqNum, inst->pcState());
616 }

--- 809 unchanged lines hidden ---
609 }
610
611 insts_to_rename.pop_front();
612
613 if (renameStatus[tid] == Unblocking) {
614 DPRINTF(Rename,"[tid:%u]: Removing [sn:%lli] PC:%s from rename "
615 "skidBuffer\n", tid, inst->seqNum, inst->pcState());
616 }

--- 809 unchanged lines hidden ---