Question: The code segment below will be executed on a 5 - stage pipelined processor identical to the one discussed in class:A n d times

The code segment below will be executed on a 5-stage pipelined processor identical to the one discussed in class:A n d \times 3, x 4,\times 5 Sub x0,xl,x3x5,\times 2,\times 4.Ld *14,20(\times 5)Add x10x11,x14 Sub \times 13,x10, x12 Sub x6, x6,\times 6How many cycles does this code need if executed on a pipelined RISC-V CPU that has 2Memories Instruction & Data: [ You are not allowed torearrange the code]a. Without forwarding (1pt)7+4+4 X2=19b. With ALU-ALU forwarding 1( pt)13Or744+2=.c With MEM-ALU forwarding 1( pt)7+4+2X3+1=d. With full forwarding 1( pt)

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!