Question: Question 1 : Loop unrolling and Static Multi - issue ( 2 5 points ) Assume that you are given a dual - issue pipeline

Question 1: Loop unrolling and Static Multi-issue (25 points)Assume that you are given a dual-issue pipeline for RISC-V ISA. You can schedule ALU or branchinstruction in the first issue slot, and load/store instruction in the second issue slot of the issuepackage. You are given the following sequence of instructions.Loop:lw x7,0(x10) #read from memoryadd x7, x7, x11 #update valuesw x7,0(x10) #store it back to memoryaddi x10, x10,0x4 #update the addressbne x10, x12, Loop #Loop until the address is not equal to the content of x12a)[10 points] Assume that the loop index for the given loop above is divisible by 3. Unroll thegiven loop 3 times. Use register renaming as necessary to avoid any name dependencies.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!