Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I do not understand the following questions: Question 1: Some systems use a branch prediction method known as static branch prediction, so called because the

I do not understand the following questions:

Question 1:

Some systems use a branch prediction method known as static branch prediction, so called because the prediction is made on the basis of the instruction, without regard to history. One possible scenario would have the system predict that all conditional backward branches are taken and all forward conditional branches are not taken. Recall your experience with programming in the Little Man Computer Language. Would this algorithm be effective? Why or why not? What aspects of normal programming, in any programming language, support your conclusions?

Question 2:

Suppose we are trying to determine the speed of a computer that executes that Little Man instruction set. The LOAD and STORE instructions each make up about 25% of instructions in a typical program; ADD, SUBTRACT, IN, and OUT, take 10% each. The various branches each take about 5%. The HALT instruction is almost never used (a maximum of once each program, of course!). Determine the average number of instructions executed each second if the clock ticks at 100MHz. (Note: Where it states The various branches each take about 5% assume that BR instructions take 5% and BRZ/BRP instructions (together) take 5%. That is, assume for this question that 10% of instructions in a typical program are branches (5% BR and 5% other types of branches).)

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions