- 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 25 times
Assume we are working with a typical 5-stage pipeline machine (IF ID EX MEM WB). For each code sequence below: (i) (ii)
-
- Site Admin
- Posts: 899603
- 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)
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)