Branch classification to control instruction fetch in simultaneous multithreaded architectures
Document typeConference report
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Rights accessOpen Access
In simultaneous multithreaded architectures many separate threads are running concurrently, sharing processor resources, thereby realizing a high utilization rate of the available hardware. However, this also implies that threads are competing for resources and in many cases this competition can actually degrade overall performance. There are two major causes for this: first, instructions that, because of a long latency data cache miss, cause dependent instructions not to proceed for many cycles thereby wasting space in the instruction queues, and second, execution of instructions that belong to a mispredicted path. Both of these have a harmful effect on throughput and the second moreover wastes energy. in this paper we propose a fetch policy that avoids issuing instructions to the pipeline if we are not confident that the instruction belongs to the correct execution path. In this way, we avoid using resources for instructions that will not contribute to performance. This fetch policy, called agstall, is based on a dynamic branch classification mechanism. Branch instances are classified as either strongly biased or not strongly biased. We consider all strongly biased branches as easy to predict, and we stall the thread on branches that are not strongly biased to avoid mispredicting them. Our results show that agstall achieves similar or better performance than icount, and reduces by up to 86% the number of wrong-path instructions executed.
CitationKnijnenburg, P., Ramírez, A., Latorre, F., Larriba, J., Valero, M. Branch classification to control instruction fetch in simultaneous multithreaded architectures. A: International Workshop on Innovative Architecture for Future Generation High-Performance Processors and Systems. "International Workshop on Innovative Architecture for Future Generation High-Performance Processors and Systems". Big Island, HI: Institute of Electrical and Electronics Engineers (IEEE), 2002, p. 67-76.