Page 1 of 1

Assume we are working with a typical 5-stage pipeline machine (IF ID EX MEM WB). For each code sequence below: (i) (ii)

Posted: Mon Jun 06, 2022 6:19 pm
by answerhappygod
Assume We Are Working With A Typical 5 Stage Pipeline Machine If Id Ex Mem Wb For Each Code Sequence Below I Ii 1
Assume We Are Working With A Typical 5 Stage Pipeline Machine If Id Ex Mem Wb For Each Code Sequence Below I Ii 1 (30.39 KiB) Viewed 27 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 A [4 points] 1. SUB $s2, $s1, $s3 3. 2. AND $s6, $s7, $s5 OR $s8, $s6, $s2 4. ADD $s8, $s2, $s2 5. SW $$1,100 ($s4)