Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

=+What is the most that you should pay to complete development?

Answered: 1 week ago

Question

=+development and make the product, should you go ahead and do so?

Answered: 1 week ago