GATE CS 2024 (Afternoon) — Question 31

Computer Organization and Architecture (COA)Instruction Pipelining, Performance, Hazard ManagementMSQ1 markMedium

An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-1, source reg-2 Consider the following sequence of instructions to be executed in a pipelined processor: \( I_1 \): DIV R3, R1, R2 \( I_2 \): SUB R5, R3, R4 \( I_3 \): ADD R3, R5, R6 \( I_4 \): MUL R7, R3, R8 Which of the following statements is/are TRUE?
  1. A
    There is a RAW dependency on \( R_3 \) between \( I_1 \) and \( I_2 \)
  2. B
    There is a WAR dependency on \( R_3 \) between \( I_1 \) and \( I_2 \)
  3. C
    There is a RAW dependency on \( R_3 \) between \( I_2 \) and \( I_3 \)
  4. D
    There is a WAW dependency on \( R_3 \) between \( I_3 \) and \( I_4 \)
Practise the full 2024-AN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkComputer Organization and Design (Patterson & Hennessy)Pipelining, caches, memory hierarchy and instruction sets.
Practise more on Instruction Pipelining, Performance, Hazard ManagementTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group