Which version of the program would be faster

Assignment Help Computer Engineering
Reference no: EM132107251

1) A program has the following dynamic distribution of instructions: arithmetic 70%, load/store 12% and branch 18%. On CPU A, the arithmetic instructions take 2 cycle, load/store 6 cycles and branch 3 cycles. The average CPI of that program on CPU A is 2.66

2) A new compiler can reduce the number of load instructions by half. Load account for 2/3 of all load/store instructions.

Compute the new CPI on CPU A.

Which version of the program would be faster? the new one or the old one

3) A new CPU (B) for the same ISA is being designed. Its clock cycle time is half of that of CPU A. However the load/store and branch instructions take twice as many cycles.

Compute the new average CPI.

Which one is faster, CPU A or B?

Reference no: EM132107251

Questions Cloud

Provide at least one advantage and one disadvantage of each. : Name two other methods for assessing body fat or weight status. Provide at least one advantage and one disadvantage of each method.
Producing food requires a great deal of energy : Producing food requires a great deal of energy. How much fossil energy consumption in the United States can be attributed to food production?
Manage the information of employees in a company : You will have an array of Employee structs to keep the information of all employees. The employees.txt file may be in different size.
Nutritional needs and changes to requirements : Review the nutritional needs and changes to requirements during pregnancy. Name 2 key nutritional changes and the importance of meeting the guidelines
Which version of the program would be faster : A new compiler can reduce the number of load instructions by half. Load account for 2/3 of all load/store instructions.
What is the estimated energy requirement for olivia : What is the estimated energy requirement for Olivia? Determine the difference in the estimated energy requirement between Maggie and Olivia.
Write the code that will prompt them for the category : Write the code that will prompt them for the category they want to purchase and you will print out the number of seats available for that type of seat category.
Explain how the different stages of iron deficiency : Explain how the different stages of iron deficiency can be identified based on clinical evidence.
How many sets of numbers would you like to be displayed : A separate function should choose the first five numbers and also check that there are no repeats. You must make sure there are no repeats!

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd