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
--- 684 unchanged lines hidden (view full) ---
693 any_unblocking = true;
694 break;
695 }
696 }
697
698 // If there are no ready instructions waiting to be scheduled by the IQ,
699 // and there's no stores waiting to write back, and dispatch is not
700 // unblocking, then there is no internal activity for the IEW stage.
701 instQueue.intInstQueueReads++;
702 if (_status == Active && !instQueue.hasReadyInsts() &&
703 !ldstQueue.willWB() && !any_unblocking) {
704 DPRINTF(IEW, "IEW switching to idle\n");
705
706 deactivateStage();
707
708 _status = Inactive;
709 } else if (_status == Inactive && (instQueue.hasReadyInsts() ||
--- 927 unchanged lines hidden ---
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
--- 684 unchanged lines hidden (view full) ---
693 any_unblocking = true;
694 break;
695 }
696 }
697
698 // If there are no ready instructions waiting to be scheduled by the IQ,
699 // and there's no stores waiting to write back, and dispatch is not
700 // unblocking, then there is no internal activity for the IEW stage.
701 instQueue.intInstQueueReads++;
702 if (_status == Active && !instQueue.hasReadyInsts() &&
703 !ldstQueue.willWB() && !any_unblocking) {
704 DPRINTF(IEW, "IEW switching to idle\n");
705
706 deactivateStage();
707
708 _status = Inactive;
709 } else if (_status == Inactive && (instQueue.hasReadyInsts() ||
--- 927 unchanged lines hidden ---