Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3(10 points) Suppose you have a load-store computer with the following instruction mix Operation Frequenc Number of clock cvcles ALU ops Loads Stores Branches 40%

image text in transcribedimage text in transcribed

3(10 points) Suppose you have a load-store computer with the following instruction mix Operation Frequenc Number of clock cvcles ALU ops Loads Stores Branches 40% 20 % 18% 22 % 2 4 4 The ALU ops (arithmetic logic unit ops) typically use operands in CPU registers and hence they take fewer clock cycles to execute. However, if you want to add a memory operand to a CPU register, then you would have to explicitly load it into a CPU register. For such ALU operations, you would say that they are paired with a load instruction since the value moved from memory would be used only for the particular ALU operation and not used anywhere else. We observe that 30% of the ALU ops are paired with a load (i.e., they occur together), and we propose to replace these ALU ops and their loads with a NEW instruction. Assume that this NEW instruction takes 4 clock cycles. However, with the NEW instruction added, branches will take 8 clock cycles rather than 6. Assuming that the clock rate is unchanged, would this change improve performance? Justify your answer quantitatively by comparing expressions for CPU Execution time. Show all your work. Do not do any rounding when you compute the frequency of the NEW nstructions

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

4. Describe the role of narratives in constructing history.

Answered: 1 week ago

Question

1. Identify six different types of history.

Answered: 1 week ago