in Compiler Design edited by
1,799 views
3 votes
3 votes

Which of the following is a type of a out-of-order execution, with the reordering done by a compiler

  1. loop unrolling
  2. dead code elimination
  3. strength reduction
  4. software pipelining
in Compiler Design edited by
by
1.8k views

1 comment

Out of Order Execution (OoOE) is also called Dynamic Execution. In this mode of execution, the instructions aren't executed precisely as per the program text.

If the processor observes a wasted cycle in the pipeline, it can fill that cycle in with some safe instruction — hence, increasing the pipeline efficiency.


Software pipelining is a method of performing OoOE, but the reordering of instructions, so that the cycle can be filled, is done by the compiler (not the processor).

0
0

1 Answer

4 votes
4 votes

$\underline{\textbf{Answer:}\Rightarrow}\;\mathbf{d.}$

The software pipelining is a method that is used to optimize loops, in a way that parallels hardware pipelining.

It is out of order execution, except that the reordering is done by the compiler.


https://en.wikipedia.org/wiki/Software_pipelining

edited by
by
Answer:

Related questions