Assume We Are Working With A Typical 5 Stage Pipeline Machine If Id Ex Mem Wb For Each Code Sequence Below I Ii 1 (23.07 KiB) Viewed 34 times
Assume we are working with a typical 5-stage pipeline machine (IF ID EX MEM WB). For each code sequence below: (i) (ii) Identify all WAR, WAW, and RAW dependencies (potential data hazards). State whether it must stall, can avoid stalls using forwarding, or can execute without stalling or forwarding. (iii) Determine how many cycles it will take.
Part B [4 points] LW $s2, 32($s1) 1. 2. SUB $s4, $s2, $s5 3. OR $s8, $s2, $s6 4. ADD $s8, $s6, $s4 5. MUL $s1, $s6, $s7
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!