Question: Problem 5 Consider the following code: lw $s7, 24( $t7) add $s3, $57, $al beq $s2, $s3, somewhere 1. Identify all the hazards in the

Problem 5 Consider the following code: lw $s7, 24( $t7) add $s3, $57, $al beq $s2, $s3, somewhere 1. Identify all the hazards in the code sequence, specifying the type of hazard. 2. If stall is the only mechanism to deal with the hazards, what is the CPI of the sequence? 3. If forwarding is used in the processor, what is the CPI of the sequence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
