Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a. Processor Performance. Two different software implementations (programs) are proposed for a particular scientific function that are called prog-A and prog-B. The programs are executed
a. Processor Performance. Two different software implementations (programs) are proposed for a particular scientific function that are called prog-A and prog-B. The programs are executed on comp- 1, a scalar RISC processor, one at a time to collect the following statistics. The total numbers of executed instructions for prog-A and prog-B on comp-1 are 1500 and 2500, respectively. comp-1 Instruction Type Cycles prog-A prog-B ADD 2 30% 60% MULT 8 40% 25% DIV 40 15% 5% Branch 1 15% 10% 1. Assuming that comp-1 operates at 4GHz, find the execution times of the programs and identify which one runs faster. 2. A newer version of the processor is comp-2 that provides a 8-cycle fused multiply and add (FMA) instruction in addition to the instructions supported by comp-1 (with the same number of cycles per instruction). Assuming that comp-2 operates at 2.8GHz, find the execution times of the programs and identify which one runs faster. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started