Homework Solution: Consider the following program to be executed:…

    Consider the following program to be executed: I1: Load R1, A       /R1 ← Memory (A)/ I2: Add R2, R1       /R2 ← (R2) + R(1)/ I3: Add R3, R4       /R3 ← (R3) + R(4)/ I4: Mul R4, R5       /R4 ← (R4) + R(5)/ I5: Comp R6          /R6 ← (R6)/ I6: Mul R6, R7       /R3 ← (R3) + R(4)/ What dependencies (WAR,RAW,WAW) exist in the program?

    Expert Answer

     
    They are some data depende

    Consider the subjoined program to be executed:

    I1: Load R1, A       /R1 ← Memory (A)/
    I2: Add R2, R1       /R2 ← (R2) + R(1)/
    I3: Add R3, R4       /R3 ← (R3) + R(4)/
    I4: Mul R4, R5       /R4 ← (R4) + R(5)/
    I5: Comp R6          /R6 ← (R6)/
    I6: Mul R6, R7       /R3 ← (R3) + R(4)/

    What dependencies (WAR,RAW,WAW) consist in the program?

    Expert Solution

     

    They are some basis dependencies departure in this program

    1. In I2: There was a dependencies love appreciate of R1 is subject on the project of I1 information.

    2. In this pipelined processor they are some structural dependencies. They are 4 or 5 precisely each class.

    3. They are no moderate dependencies in over rule owing there are no make-over of moderate Informations