Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the MIPS ISA, a branch instruction can be detected as such and its target known inn the ID stage. However, the condition (taken or

image text in transcribed

In the MIPS ISA, a branch instruction can be detected as such and its target known inn the ID stage. However, the condition (taken or not taken) is known only in the EX stage. For the two static strategies (always predict taken and always predict not taken) determine the number of stall cycles when the branch is actually taken or not taken. 1 (8 points) Show the execution schedules predict not taken - branch not taken cycle 1 2 3 4 5 6 6 7 8 9 10 11 12 branch inst F D X M W next inst target inst predict not taken - branch taken cycle 1 1 2 3 4 5 6 7 8 9 10 11 12 branch inst FD Mw next inst target inst F DX Mw predict taken - branch not taken 3 45 6 7 8 cycle 1 2 9 10 11 12 branch inst F DX M w next inst target inst predict taken - branch taken 2 3 4 5 6 7 cycle 1 8 9 10 11 12 branch inst F D M w next inst target inst 2. (4 points) Continuing question 1. Write the stall cycles in the table below. stall cycle if branch is actually taken not taken predict not taken predict taken

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions