GATE CS Instruction Pipelining questions
Practise Instruction Pipelining questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
20 on this page
A non-pipelined instruction execution unit that operates at GHz clock takes an average of clock cycles to complete the execution of an instruction. To improve the performance, the system was pipelined with a goal of achieving an average throughput of one instruction per clock cycle. However, it could operate only at GHz due to pipeline …
A -stage instruction pipeline has stage delays of , and , respectively, in nanoseconds. The delay of an inter-stage latch is nanoseconds. Assume that there are no pipeline stalls due to branches and other hazards. The time taken to process instructions in microseconds is __________. (rounded off to two decimal …
Consider a -stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-, source reg- Consider the following sequence of instructions to be executed in a pipelined processor: Which of the …
A non-pipelined instruction execution unit operating at takes an average of cycles to execute an instruction of a program . The unit is then redesigned to operate on a -stage pipeline at . Assume that the ideal throughput of the pipelined unit is instruction per cycle. In the execution of …
Consider a -stage pipelined processor having a delay of (nanoseconds), , and for the first, second, and the third stages, respectively. Assume that there is no other delay and the processor does not suffer from any pipeline hazards. Also assume that one instruction is fetched every cycle. The …
A five-stage pipeline has stage delays of and nanoseconds. The registers that are used between the pipeline stages have a delay of nanoseconds each. The total time to execute independent instructions on this pipeline, assuming there are no pipeline stalls, is _______ nanoseconds.
Consider a pipelined processor with stages, , , , , and . Each stage of the pipeline, except the stage, takes one cycle. Assume that the …
Consider a non-pipelined processor operating at GHz. It takes clock cycles to complete an instruction. You are going to make a - stage pipeline out of this processor. Overheads associated with pipelining force you to operate the pipelined processor at GHz. In a given program, assume that are memory instructions, …
The instruction pipeline of a RISC processor has the following stages: Instruction Fetch , Instruction Decode , Operand Fetch , Perform Operation and Writeback , The , , and stages take clock cycle each for every instruction. Consider a sequence of instructions. In the …
Instruction execution in a processor is divided into stages, Instruction Fetch (IF), Instruction Decode (ID), Operand fetch (OF), Execute (EX), and Write Back (WB). These stages take 5, 4, 20, 10 and 3 nanoseconds (ns) respectively. A pipelined implementation of the processor requires buffering between each pair of consecutive stages with a delay of 2 …
The stage delays in a -stage pipeline are and picoseconds. The first stage (with delay picoseconds) is replaced with a functionality equivalent design involving two stages with respective delays and picoseconds. The throughput increase of the pipeline is ___________ percent.
Consider a (gigahertz) processor with a three stage pipeline and stage latencies and such that . If the longest pipeline stage is split into two pipeline stages of equal latency , the new frequency is __________ , ignoring delays in the …
Consider a non-pipelined processor with a clock rate of gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to gigahertz. Assume that there are no stalls in the pipeline. The speedup achieved in this …
Consider the sequence of machine instruction given below: In the above sequence, to are general purpose registers. In the instructions shown, the first register …
Consider the following reservation table for a pipeline having three stages . …
Consider two processors and executing the same instruction set. Assume that under identical conditions, for the same input, a program running on takes less time but incurs more CPI (clock cycles per instruction) as compared to the program running on . If the clock frequency of is …
Consider a -stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is executing on this -stage pipeline, the speedup achieved with respect to non-pipelined execution if % of the instructions incur pipeline stall cycles is ____________
An instruction pipeline has five stages, namely, instruction fetch (IF), instruction decode and register fetch (ID/RF), instruction execution (EX), memory access (MEM), and register writeback (WB) with stage latencies ns, ns, ns, ns, and ns, respectively (ns stands for nanoseconds). To gain in terms of frequency, the …
Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency. Four-stage pipeline with stage latencies . Four-stage pipeline with stage latencies . Five-stage pipeline with stage latencies …
