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
Assume we are working with a typical 5-stage pipeline machine (IF ID EX MEM WB). For each code sequence below: (i) (ii)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Assume we are working with a typical 5-stage pipeline machine (IF ID EX MEM WB). For each code sequence below: (i) (ii)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!