Skip to content

ISRO Scientist/Engineer CSE 2020Compiler Design › Code Optimization and Runtime Environment

ISRO Scientist/Engineer CSE 2020 PYQ: Which of the following is a type of a out-of-order execution, with the reordering done by a compiler

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

  1. A
    loop unrolling
  2. B
    dead code elimination
  3. C
    strength reduction
  4. D
    software pipelining
    Correct answer

Answer

(D) software pipelining

Approach

Identify which compiler optimization technique reorders instructions to overlap iterations, analogous to hardware out-of-order execution. Software pipelining explicitly restructures loops so that operations from different iterations execute in parallel, with the reordering performed by the compiler.

Reviewed by ISRO IQ Editorial Team.