Question: The following Program is designed to evaluate the expression, C(I)=[A(I)]2+B(I)for1132. In the program: R1, R2, R3 and R4 are registers, A,B, and C are memory
The following Program is designed to evaluate the expression, C(I)=[A(I)]2+B(I)for1132. In the program: R1, R2, R3 and R4 are registers, A,B, and C are memory arrays, and the first operand indicates the destinations. Assume 5 cycles for (load, store), 4 cycles for (add, lnc) and 10 cycles for (mul). Calculate the total number of cycles required to evaluate this expression on: a) SISD machine. b) SIMD (32 PEs) with shared memory system (single read or write at a time). g) SIMD (32 PEs) with distributed memory system. d) MIMD (16 PEs) with shared memory systems (single read or write at a time).. c) MIMD (16 PEs) with distributes memory systems
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
