1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bas_tet [7]
3 years ago
5

Suppose that a machine with a 14-stage pipeline uses branch prediction. 13% of the instructions for a given test program are bra

nches, of which 88% are correctly predicted. Branch instructions the are predicted correctly have a 1 cycle branch delay. The other 12% of the branches suffer a 7-cycle mis-prediction penalty. (In other words, when the branch predictor predicts incorrectly, there are 7 instructions in the pipeline that must be discarded.) Assuming there are no other stalls, develop a formula for the number of cycles it will take to complete n lines of this program.
Engineering
1 answer:
nika2105 [10]3 years ago
3 0

Answer:

The formula is: 1.2236n + 13

Explanation:

Given data:

14-stage pipeline

13% of the instructions for a given test program

88% are correctly predicted

1 cycle branch delay

12% of the branches suffer a 7-cycle mis-prediction penalty

Question: Develop a formula for the number of cycles it will take to complete n lines of the program

Here

\frac{13n}{100} are branching instructions, but, 88% are correctly predicted, therefore:

(\frac{13n}{100} )*(\frac{88}{100} )=0.1144n

According the question, 12% of the branches suffer a 7-cycle mis-prediction penalty, the delay due this mis-prediction:

(\frac{13n}{100} )*(\frac{12}{100} )*7=0.1092n

The total delay:

0.1144n + 0.1092n = 0.2236n

The number of cycles it will take to complete n lines of the program:

n + 0.2236n + 14 - 1 = 1.2236n + 13

You might be interested in
Which is the correct order for handwashing
cupoosta [38]

Answer:

Follow these five steps every time.

1.Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap.

2.Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails.

3.Scrub your hands for at least 20 seconds. Need a timer? Hum the “Happy Birthday” song from beginning to end twice.

4.Rinse your hands well under clean, running water.

5.Dry your hands using a clean towel or air dry them.

8 0
3 years ago
Read 2 more answers
A 3.7 g mass is released from rest at C which has a height of 1.1 m above the base of a loop-the-loop and a radius of 0.2 m . Th
Dmitrij [34]

Answer:

Normal force = 0.326N

Explanation:

Given that:

mass released from rest at C = 3.7 g = 3.7 × 10⁻³ kg

height of the mass = 1.1 m

radius = 0.2 m

acceleration due to gravity = 9.8 m/s²

We are to determine the normal force pressing on the track at A.

To to that;

Let consider the conservation of energy relation; which says:

mgh = mgr + 1/2 mv²

gh = gr + 1/2 v²

gh - gr = 1/2v²

g(h-r) = 1/2v²

v² = 2g(h-r)

However; the normal force will result to a centripetal force; as such, using the relation

N =mv²/r

replacing the value for v² = 2g(h-r) in the above relation; we have:

Normal force = 2mg(h-r)/r

Normal force = 2 × 3.7 × 10⁻³ × 9.8 ( 1.1 - 0.2 )/ 0.2

Normal force = 0.065268/0.2

Normal force = 0.32634 N

Normal force = 0.326N

6 0
3 years ago
Compression is maintained during combustion because on top of the motor is a _____
stealth61 [152]

Answer:

fan

Explanation:

7 0
3 years ago
The polycarbonate shell functions as all of the following except:
krok68 [10]

Answer:

what are the answers expect what?

Explanation:

Polycarbonate is commonly used in eye protection, as well as in other projectile-resistant viewing and lighting applications that would normally indicate the use of glass, but require much higher impact-resistance. Polycarbonate lenses also protect the eye from UV light.

6 0
3 years ago
A reagent added to the analyte solution that changes color when the reaction is complete
Novosadov [1.4K]

Answer:

rfvvvgfvbjjjjbvgggvvvhhjjvvvv

Explanation:

hhbbbjbnjjjjjknnnnbcfvhggcvbgffvvhbvbhbbbnbbhhhhj

6 0
3 years ago
Other questions:
  • 2. A Class B fire includes burning:
    8·1 answer
  • What’s a pigtail when wiring
    7·1 answer
  • Give two methods on how powder is produced in powder metallurgy.
    5·2 answers
  • The Emergency Stop Button icon on the Inputs toolbar can be used to press or release the Emergency Stop button on the CNC machin
    10·1 answer
  • If the specific surface energy for magnesium oxide is 1.0 J/m2 and its modulus of elasticity is (225 GPa), compute the critical
    7·1 answer
  • Why did my dad leave me yesterday like whatd i do?
    12·1 answer
  • The purpose of the __________ algorithm is to enable two users to exchange a secret key securely that can then be used for subse
    8·1 answer
  • Explain when it is appropriate to use Tier II?
    13·1 answer
  • Why efficiency of gas turbines are lower than combustion engine​
    12·2 answers
  • Replace the black box portion of the circuit with the Norton's equivalent circuit. ______ for the load can now be calculated usi
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!