Question: It is required to evaluate the expression: C(I)=A(I)+B(I) for 0I19 The used program is given below (repeated 20 times), where R1,R2, and R3 are registers.
It is required to evaluate the expression: C(I)=A(I)+B(I) for 0I19 The used program is given below (repeated 20 times), where R1,R2, and R3 are registers. A,B, and C are memory arrays, and the destination operand is given first. Calculate the total number of cycles required to evaluate this expression on: a) Non-pipeline machine. ( 5 cycles for load/store, 4 cycles for add/Inc, 3 cycles for Bne). b) Pipeline processor, 4 stages (Fetch, Decode/Reg read, Execute, Mem/Reg write); without any modifications. (Identify the reason of any delays in the system) c) Superscalar processor with issue rate 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
