Given the branch sequence TTTTNTTNNTTTTTNNNNNNNNNTNTTTTTTTTTTTT and assuming that the 3?bit saturating predictor starts in its saturated T state, what will the predicted sequence be?





The following code is executed by an ARM processor:





MOV r0,#4

B1 MOV r2,#5

SUB r2,r2,r0

B2 SUBS r2,r2,#1

BNE B2 ;Branch 1

SUBS r0,r0,#1

BNE B1 ;Branch 2





Assume that a 1?bit branch predictor is used for both branch 1 and branch 2 and that both predictors are initially

set to N. Complete the following table by running through this code.





Repeat the same exercise with the same initial conditions but assume a 2?bit saturating counter branch predictor.


Computer Science & Information Technology

You might also like to view...

The normal way to make certain that a compromise does not happen is to put technical or ____ controls in place to ensure the security of all items that have to be protected.

A. psychological B. behavioral C. personal D. barrier

Computer Science & Information Technology

What is the most efficient way to set the fonts, color scheme, and effects for your entire slide show?

What will be an ideal response?

Computer Science & Information Technology

When you click a control in ____ view, an orange border appears around the text box and a dotted border appears around its attached label to indicate that the control is selected.

A. Layout B. Query C. Design D. Print

Computer Science & Information Technology

The NOT NULL keywords are often used with primary keys to require that a field include a value.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology