Arithmetic instructions and a branch instruction

Assignment Help C/C++ Programming
Reference no: EM13907181

A computer system is using pentium-5 processor with 5 stages in pipeline processing with cycle time of 5ns, whereas another computer system is using pentium-7 processor with 7 stages in pipeline processing with cycle time of 3.75 ns. A program is executing which is containing a loop of 5 instructions in that four arithmetic instructions and a branch instruction which is at the beginning of the loop). There are dependencies in arithmetic instruction but are consecutive. Due to this dependency there are stalls in pipeline. Pentium-5 processor gives 1 stall, whereas Pentium 7 processor gives 2 stalls. Due to branch instruction Pentium-5 processor induces 3 stalls and Pentium- 7 processor induces 5 stalls. According to these statements, which one of the following is TRUE?

(a) Pentium 5 processor will execute the program much faster in steady state.
(b) Pentium 7 processor will execute the program much faster in steady state.
(c) Both will execute with the same speed
(d) None of these

Reference no: EM13907181

Questions Cloud

Terms of the difference : A typical password is about 8 characters long (and so can be stored in 8 bytes, or 64 bits). However, a typical key for encryption/decryption is much longer, and a key of 64 bits would not be considered secure. Explain this in terms of the differe..
Thread risk analysis and modeling process : Determine the threats and countermeasures for system components and determine the Threat Risks - Decompose the application. Create high level diagrams of system components
Prepare the material price variance : After computing the individual variances, are there any variances that need to be investigated given the assumption that any variance in excess of 1% should be investigated? Explain.
Event model for marketing purposes : Many web sites make vigorous (over) use of many of the events in the dynamic HTML event model for marketing purposes. In some cases, one URL call may open 10 or more other Windows.
Arithmetic instructions and a branch instruction : A computer system is using pentium-5 processor with 5 stages in pipeline processing with cycle time of 5ns, whereas another computer system is using pentium-7 processor with 7 stages in pipeline processing with cycle time of 3.75 ns.
Find example most current year in each of funds were used : discuss when the government and nonprofit organizations would use each of the following funds:- Capital projects fund and Debt service fund
Explain the management advantages of outsourcing : Explain the management advantages of outsourcing
Amount of the order for computer : Decision Tree Using the SOS, EraTech sends out invoices monthly and will gi,e discounts if payments are made within 10 days, The discount policy is as follows:
Worst-case and best-case running times : a. Write a pseudocode for this algorithm. b. What are the worst-case and best-case running times for this sorting algorithm?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Define the sums of every even column of 2d array

Define the sums of every even column of 2D array in C language - Prepare this program in c language. Show all your work.

  Member data for faculty number

Create a class Student_info, which inherits class Person, in which member data for faculty number, group and faculty are added. The class contains a constructor, member functions for accessing the data, for change of ID and for displaying the data..

  Calculates the exact integral over the interval

Write your program so that it outputs the interval entered, the exact solution, the approximation, the number of trapezoids and the difference between the exact and approximate solutions - trapezoids increases the approximate result converges to th..

  Three dimensional array representing parking spaces

start with code in the file lab.cpp. This program works with a three dimensional array representing parking spaces in a parking garage on several floors. The code is incomplete. The functions "main", "display" and "showSpace" are complete. Your job i..

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Demonstrate the results of the computation

Design a Windows based application that should read or extract data from an outside source (preferably from other Microcontroller). Carry on a particular computation on the data. Demonstrate the results of the computation through the application.

  Develop code to implement a simple interactive game

Design a simple interactive game (can be based on an existing game). Develop code to implement this game design (primarily your own, original code). Test your implemented game for functionality and bugs.

  Your project must use and demonstrate understanding

Your project must use and demonstrate understanding of:a. Variables b. Loops c. Decision statements d. File I/O e. Screen output f. Keyboard input g. Functions h. Arrays i. Searching and sorting j. Classes k. Objects l. Methods

  Features with the real life scenarios

Explain any three features that must be implemented by the application that will be created by WebSoft Solutions Pvt. Ltd. Support your answer with suitable examples. Relate the features with the real life scenarios.

  Create a data file called friends.dat

Create a data file called friends.dat using any text-based editor and enter at least three records storing your friends' first and last names. Make sure that each field in the record is separated by a white space.

  Implement database having array of pointers

One way to implement this database is to have an array of pointers pointing to Employee objects. You will obviously require a function named Calculate_salary() which will be different for each employee class. Write code in c++

  Write a program code to compute and build a table of reynold

Write a program code to compute and build a table of Reynolds numbers at flow velocities varying from 100 to 1000 ft/sec (at increments of 100)

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