For Questions 1 to 5 In the following code sequence, we need to stall the RISC-V pipeline to resolve the load-use data hazard i2: add x9, x8, x10 i3: addi x9, x9, -1 14: sd x9, 0(x5) Consider the cyc...
1. Given the following instruction sequence for the MIPS processor with the standard 5 stage pipeline $10, S0. 4 addi lw S2.0(S10) add sw S2,4(510) $2, $2, $2 Show the data dependences between the instructions above by drawing arrows between dependent instructions (only show true/data dependencies). a. Assuming forwarding support, in what cycle would the store instruction write back to memory? Show the cycle by cycle execution of the instructions as they execute in the pipeline. Also, show any stalls...