Unformatted text preview: If the time taken by the EX stage is reduced to 100 picoseconds, it will improve i. the instruction latency ii. the throughput iii. both latency and throughput 2. Look at the following code and (a). determine where the hazards occur and what type of hazard each is. (b). Also, mention whether a stall is necessary or forwarding will work. or $t0, $t1, $t2 no hazard add $t4, $t0, $t0 data hazard (t0), forwarding (to both inputs of the ALU) and $t1, $t3, $t0 data hazard (t0), forwarding lw $t5, 0($t0) no hazard sw $t0, 0($t5) data hazard(t5), stall and forwarding or IF ID EX MEM WB add IF ID EX MEM WB and IF ID EX MEM WB lw IF ID EX MEM WB stall stall stall stall stall sw IF ID EX MEM WB...
View Full Document
- Spring '08
- Central processing unit, ex, Instruction pipeline, EX MEM WB, WB MEM stall