Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. MLP with ROB & RS (2 points - Completeness): Assume a Tomasulo-type machine with 64 reservation stations and 128 reorder buffer entries. For both

image text in transcribed

image text in transcribed

5. MLP with ROB & RS (2 points - Completeness): Assume a Tomasulo-type machine with 64 reservation stations and 128 reorder buffer entries. For both the programs below assume that the first load from memory misses in all caches (just in first iteration and no misses further) and thus has a latency of 600 cycles and the subsequent loads hit in Ll cache and have a short latency of 2 cycles. (Reservation Stations: Instructions wait for their operands to get ready in the Reservation Stations so that they can move into execution.) Program 1: L1: mov 0(%edi) %eax add %eax %ebx sub %ebx %ecx add %ecx %edx sub $4 %edi cmp $0 %edi jne L1 Program 2: L1: mov 0%edi) %eax add %eax %ebx sub %ebx %ecx add %ecx %edx sub %edx %edi cmp $0 %edi jne L1 (a) For Program 1 which one is likely to get filled up first Reservation station or ROB? (b) For Program 2 which one is likely to get filled up first Reservation station or ROB? 5. MLP with ROB & RS (2 points - Completeness): Assume a Tomasulo-type machine with 64 reservation stations and 128 reorder buffer entries. For both the programs below assume that the first load from memory misses in all caches (just in first iteration and no misses further) and thus has a latency of 600 cycles and the subsequent loads hit in Ll cache and have a short latency of 2 cycles. (Reservation Stations: Instructions wait for their operands to get ready in the Reservation Stations so that they can move into execution.) Program 1: L1: mov 0(%edi) %eax add %eax %ebx sub %ebx %ecx add %ecx %edx sub $4 %edi cmp $0 %edi jne L1 Program 2: L1: mov 0%edi) %eax add %eax %ebx sub %ebx %ecx add %ecx %edx sub %edx %edi cmp $0 %edi jne L1 (a) For Program 1 which one is likely to get filled up first Reservation station or ROB? (b) For Program 2 which one is likely to get filled up first Reservation station or ROB

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

A Complete Guide To Data Science Essentials

Authors: Miguel

1st Edition

9358684992, 978-9358684995

More Books

Students also viewed these Databases questions

Question

Show that 1 kgf/cm2 = 14.223 psi.

Answered: 1 week ago

Question

describe the main employment rights as stated in the law

Answered: 1 week ago