Lec 1
Lec 1
Edition
AND DESIGN
The Hardware/Software Interface
Chapter 1
Computer Abstractions and
Technology
Chapter 1 — Computer Abstractions and Technology — 2
§1.1 Introduction
The Computer Revolution
■Progress in computer technology
■Underpinned by Moore’s Law
■Makes novel applications feasible
■Computers in automobiles
■Cell phones
■Human genome project
■World Wide Web
■Search Engines
■Computers are pervasive
■Server computers
■Network based
■High capacity, performance, reliability
■Range from small servers to building sized
■Embedded computers
■Hidden as components of systems
■Stringent power/performance/cost constraints
■Performance improved by
■Reducing number of clock cycles
■Increasing clock rate
A is faster…
Relative frequency
• C is the number of instructions executed by the program (known as
the
instruction count, instruction path length, or dynamic program size)
■Sequence 1: IC = 5 ■Sequence 2: IC = 6
■Clock Cycles ■Clock Cycles
= 2×1 + 1×2 + 2×3 = 4×1 + 1×2 + 1×3
= 10 =9
■Avg. CPI = 10/5 = 2.0 ■Avg. CPI = 9/6 = 1.5
Chapter 1 — Computer Abstractions and Technology — 28
Instructions Per Clock Cycle
■ CPI provides one way of comparing two different
implementations of the same ISA, since the number of
instructions executed for a program will be the same