17
What is the study of Computer Architecture? What is the study of Computer Architecture? It’s the study of the ___________ of computers Structure: static arrangement of the parts Organization: dynamic interaction of the parts and their control Implementation: design of specific building blocks Performance: behavioral study of the system or of some of its components It’s the study of the ___________ of computers Structure: static arrangement of the parts Organization: dynamic interaction of the parts and their control Implementation: design of specific building blocks Performance: behavioral study of the system or of some of its components

What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

Page 1: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

What is the study of Computer Architecture?

What is the study of Computer Architecture?

It’s the study of the ___________ of computersStructure: static arrangement of the partsOrganization: dynamic interaction of the parts and their controlImplementation: design of specific building blocksPerformance: behavioral study of the system or of some of its components

It’s the study of the ___________ of computersStructure: static arrangement of the partsOrganization: dynamic interaction of the parts and their controlImplementation: design of specific building blocksPerformance: behavioral study of the system or of some of its components

Page 2: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

What is a Computer Architecture

What is a Computer Architecture

Two defintions:(1) Architecture is an interface between layersISA is the interface between hardware and softwareISA is what is visible to the programmer (and ISA might be different for O.S. and applications)ISA consists of:

instructions (operations and how they are encoded)information units (size, how they are addressed etc.)registers (or more generally processor state)input-output controlExecution model

Two defintions:(1) Architecture is an interface between layersISA is the interface between hardware and softwareISA is what is visible to the programmer (and ISA might be different for O.S. and applications)ISA consists of:

instructions (operations and how they are encoded)information units (size, how they are addressed etc.)registers (or more generally processor state)input-output controlExecution model

Page 3: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

a Computer Architecturea Computer Architecture(2) The microarchitecture (organization)

the basic blocks of a computer system, more specificallybasic blocks of the CPUbasic blocks of the memory hierarchy

how are the basic blocks designed, controlled, connected?Organization used to be transparent to the ISA.Today more and more of the ISA is “exposed” to the user/compiler.

(2) The microarchitecture (organization)the basic blocks of a computer system, more specifically

basic blocks of the CPUbasic blocks of the memory hierarchy

how are the basic blocks designed, controlled, connected?Organization used to be transparent to the ISA.Today more and more of the ISA is “exposed” to the user/compiler.

Page 4: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

The Babbage MachineThe Babbage Machine

The BabbageDifference Engine(1832)25,000 partscost: £17,470

Page 5: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

ENIACENIAC

Page 6: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

The First TransistorThe First Transistor

Page 7: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

The integrated circuitThe integrated circuit

1966, ECLLogic

Page 8: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Intel 4004Intel 4004

~ 1000 xtrs1971

Page 9: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Pentium IVPentium IV

~ 44M xtrs2000

Page 10: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

MemoryMemory

Page 11: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Illustration of Moore’s LawIllustration of Moore’s Law

Page 12: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Power DissipationPower Dissipation

Page 13: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Evolution of Intel Microprocessor Speeds

Evolution of Intel Microprocessor Speeds

0

500

1000

1500

2000

2500

3000

3500

4000

1971 1974 1979 1982 1985 1989 1993 1997 1998 1999 2000 2001 2002 2003

Year

Spee

d (M

Hz)

0

500

1000

1500

2000

2500

3000

3500

4000

1971 1974 1979 1982 1985 1989 1993 1997 1998 1999 2000 2001 2002 2003

Year

Spee

d (M

Hz)

Page 14: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

Why have an ISA?Why have an ISA?Computers that have the same (or very similar) ISA

Compatibility of software between various implementationsIBM

704, 709, 70xx etc.. From 1955 till 1965360, 370, 43xx, 33xx From 1965 to the presentPower PC

DECPDP-11, VAX From 1970 till 1985Alpha (now Compaq, now HP) in 1990’s

Computers that have the same (or very similar) ISACompatibility of software between various implementations

IBM704, 709, 70xx etc.. From 1955 till 1965360, 370, 43xx, 33xx From 1965 to the presentPower PC

DECPDP-11, VAX From 1970 till 1985Alpha (now Compaq, now HP) in 1990’s

Page 15: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

More computer familiesMore computer familiesIntel

Early micros 40xx in early 70’sx86 (086,…,486, Pentium, Pentium Pro, Pentium 3, Pentium 4) from 1980 onIA-64 (Itanium) in 2001

SUNSparc, Ultra Sparc 1985 0n

MIPS-SGIMips 2000, 3000, 4400, 10000 from 1985 on

IntelEarly micros 40xx in early 70’sx86 (086,…,486, Pentium, Pentium Pro, Pentium 3, Pentium 4) from 1980 onIA-64 (Itanium) in 2001

SUNSparc, Ultra Sparc 1985 0n

MIPS-SGIMips 2000, 3000, 4400, 10000 from 1985 on

(Berkeley RISC)

(Stanford RISC)

Page 16: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

MIPS is a RISCMIPS is a RISCRISC = Reduced Instruction Set ComputerR could also stand for “regular”All arithmetic-logical instructions are of the formMIPS (as all RISC’s) is a Load-Store architecture

ALU operates only on operands that are in registersThe only instructions accessing memory are load and store

RISC = Reduced Instruction Set ComputerR could also stand for “regular”All arithmetic-logical instructions are of the formMIPS (as all RISC’s) is a Load-Store architecture

ALU operates only on operands that are in registersThe only instructions accessing memory are load and store

c ba RopRR ←

Page 17: What is Computer Architecture? - University of Washingtoncourses.cs.washington.edu/courses/cse378/06sp/lectures/lecture1.pdf · input-output control Execution model. aComputer Architecture

RegistersRegistersRegisters are the “bricks” of the CPURegisters are an essential part of the ISA

Visible to the hardware and to the programmerRegisters are

Used for high speed storage for operands. For example, if variables a,b,c are in registers 8,9,10 respectively

add $8,$9,$10 # a = b + cEasy to name (most computers have 32 registers visible to the programmer and their names are 0, 1, 2, …,31)Used for addressing memory