Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are working at Hal Inc. designing the next generation CPU. The CPU is implemented using CMOS transistor technology, and its ISA contains three types

You are working at Hal Inc. designing the next generation CPU. The CPU is implemented using CMOS
transistor technology, and its ISA contains three types of instructions. Some information about your system
follows:
Compiler C1 Output Mix
Instr. Type Mix
Arithmetic 50%
Memory 30%
Control 20%
(the above is on benchmark B)
CPU Cycle Count
Type CPI
Arithmetic 2
Memory 3
Control 4
CPU clock rate: 2GHz
These problem parts are independent unless otherwise stated.
1. What is the throughput of the chip (recall that MIPS is the standard unit of throughput).
2. You are running a program that has 4000 arithmetic instructions, 3000 memory instructions, and 1000
control instructions. How long does the program take to run?
3. A different compiler C2 generates code that replaces some arithmetic with lookup table accesses.
Specifically, it can replace 10 arithmetic instructions with one memory access, and it can do this on
10% of arithmetic instructions. For benchmark B, which compiler is faster and by how much?

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 Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

What is an x % filter rule?

Answered: 1 week ago

Question

=+3 What are the HR implications of being a transnational?

Answered: 1 week ago