Parallelism in Microprocessor
Parallelism in Microprocessor
Microprocessor
Mr. Sunanda Das
Parallelism
• Microprocessor performance is largely determined by the degree of
organization of parallel work of various units.
• These instructions were stored in a set of registers called the prefetch buffer.
• Thus, instruction execution is divided into two parts: fetching and actual execution;
• Instead of dividing instruction execution into only two parts, it is often divided into many
parts, each one handled by a dedicated piece of hardware, all of which can run in parallel.
• A technique for implementing instruction-level parallelism within a
single processor.
• A technique used in advanced microprocessors where the
microprocessor begins executing a second instruction before the first
has been completed.
• That is, several instructions are in the pipeline simultaneously, each at
a different processing stage.
Example of Pipelining
1 IF ID EX MEM WB
2 IF ID EX MEM WB
3 IF ID EX MEM WB
4 IF ID EX MEM
5 IF ID EX
Dual Pipelines
• Going to four pipelines is conceivable, but doing so duplicates too much hardware
• The basic idea is to have just a single pipeline but give it multiple functional units.
• This is a superscalar architecture – using more than one ALU, so that more than one
instruction can be executed in parallel.
• Implicit in the idea of a superscalar processors that the S3 stage can issue instructions
considerably faster than the S4 stage is able to execute them.
Superscalar Architectures
• The term also refers to the ability of a system to support more than
one processor and/or the ability to allocate tasks between them.
References
• https://en.wikibooks.org/wiki/Microprocessor_Design
• https://www.slideshare.net/attrimahesh/
• https://en.wikipedia.org/wiki/Instruction-level_parallelism
• Computer Systems Organization:Processors & Parallelism
Dr. Barry O’Sullivan(CS1101: Lecture 14,[email protected])
• https://www.webopedia.com/TERM/P/pipelining.html
• https://en.wikipedia.org/wiki/Instruction_pipelining