Please analyze the hazards in the assembly code which may cause the pipeline to stall, assuming all the instructions and data
are in the instruction and data caches and do not cause stalls in the IF and MEM stages.
申論題內容
(e) [5 points] To further improve the pipeline performance in the previous question, we would like to reduce the impact of data
hazards by unrolling the loop. Please describe how this can be done and how it affects the performance.