Computer Architecture is...??? CSE Principles of Computer Architecture. Computer Architecture is...??? Computer Architecture is...???

Similar documents
Computer Architecture is...??? CSE 240A -- Principles of Computer Architecture. Computer Architecture is...??? Computer Architecture is...???

What is Computer Architecture? CSE Introduction to Computer Architecture. Why do I care? Which is faster? Allan Snavely

CSE Introduction to Computer Architecture

CSE Introduction to Computer Architecture. Jeff Brown

Advanced Caching Techniques

Advanced Caching Techniques

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

Computer Architecture!

Chapter 2: Instructions How we talk to the computer

Introduction. Summary. Why computer architecture? Technology trends Cost issues

Computer Architecture Today (I)

CS 152 Computer Architecture and Engineering CS252 Graduate Computer Architecture. Lecture 7 Memory III

Instruction Set Architecture. "Speaking with the computer"

Lecture Topics. Announcements. Today: The MIPS ISA (P&H ) Next: continued. Milestone #1 (due 1/26) Milestone #2 (due 2/2)

Computer Architecture. Fall Dongkun Shin, SKKU

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading

Computer Architecture

CS 3410: Computer System Organization and Programming

CpE 442 Introduction To Computer Architecture Lecture 1

EE382 Processor Design. Class Objectives

CS 152 Computer Architecture and Engineering. Lecture 8 - Memory Hierarchy-III

ECE 252 / CPS 220 Advanced Computer Architecture I. Lecture 13 Memory Part 2

CS222: Dr. A. Sahu. Indian Institute of Technology Guwahati

Computer Architecture!

Lecture 7 - Memory Hierarchy-II

Alex Milenkovich 1 CPE 323. CPE 323 Introduction to Embedded Computer Systems: Introduction. Instructor: Dr Aleksandar Milenkovic Lecture Notes

Computer Architecture

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng

Announcements. ECE4750/CS4420 Computer Architecture L6: Advanced Memory Hierarchy. Edward Suh Computer Systems Laboratory

Typical Processor Execution Cycle

Computer Architecture!

Computer Architecture

EE 660: Computer Architecture Advanced Caches

CS 152 Computer Architecture and Engineering. Lecture 8 - Memory Hierarchy-III

CPE/EE 421 Microcomputers

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

Course Outline. Introduction. Intro Computer Organization. Computer Science Dept Va Tech January McQuain & Ribbens

Why Care About Memory Hierarchy?

Introduction. What is Computer Architecture? Design constraints. What is Computer Architecture? Computer Architecture ELEC3441

Computer Architecture

Alex Milenkovich 1. CPE/EE 421 Microcomputers. CPE/EE 421 Microcomputers U A H U A H U A H. Instructor: Dr Aleksandar Milenkovic Lecture Notes S01

CS 152 Computer Architecture and Engineering. Lecture 8 - Memory Hierarchy-III

RISC, CISC, and ISA Variations

Review of instruction set architectures

Computer Architecture

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements

Instruction Set Architectures. Part 1

Introduction. What is Computer Architecture? Meltdown & Spectre. Meltdown & Spectre. Computer Architecture ELEC /1/17. Dr. Hayden Kwok-Hay So

Lecture 4: ISA Tradeoffs (Continued) and Single-Cycle Microarchitectures

Announcements HW1 is due on this Friday (Sept 12th) Appendix A is very helpful to HW1. Check out system calls

Instruction Set Principles and Examples. Appendix B

Hakim Weatherspoon CS 3410 Computer Science Cornell University

Introduction. What is Computer Architecture? Meltdown & Spectre. Meltdown & Spectre. Computer Architecture ELEC3441. Dr. Hayden Kwok-Hay So

ECE 468 Computer Architecture and Organization Lecture 1

INTRODUCTION & INSTRUCTIONS

55:132/22C:160, HPCA Spring 2011

What is TOY? An imaginary machine similar to: ! Ancient computers. ! Today's microprocessors.

ECE 552 / CPS 550 Advanced Computer Architecture I. Lecture 13 Memory Part 2

Evolution of ISAs. Instruction set architectures have changed over computer generations with changes in the

Memories. CPE480/CS480/EE480, Spring Hank Dietz.

Chapter 2: Assembly Language Fundamentals. Oregon State University School of Electrical Engineering and Computer Science.

Lecture 16: Memory Hierarchy Misses, 3 Cs and 7 Ways to Reduce Misses. Professor Randy H. Katz Computer Science 252 Fall 1995

Instruction Set Architecture

C 1. Last Time. CSE 490/590 Computer Architecture. ISAs and MIPS. Instruction Set Architecture (ISA) ISA to Microarchitecture Mapping

Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University. See P&H Appendix , and 2.21

ΗΜΥ 656 ΠΡΟΧΩΡΗΜΕΝΗ ΑΡΧΙΤΕΚΤΟΝΙΚΗ ΗΛΕΚΤΡΟΝΙΚΩΝ ΥΠΟΛΟΓΙΣΤΩΝ Εαρινό Εξάμηνο 2007

Computer System architectures

Figure 1-1. A multilevel machine.

Math 230 Assembly Programming (AKA Computer Organization) Spring 2008

CS 152 Computer Architecture and Engineering. Lecture 7 - Memory Hierarchy-II

Hardware Design I Chap. 10 Design of microprocessor

ECE 4750 Computer Architecture, Fall 2014 T05 FSM and Pipelined Cache Memories

New Advances in Micro-Processors and computer architectures

SE-292 High Performance Computing. Memory Hierarchy. R. Govindarajan Memory Hierarchy

Instructions: Language of the Computer

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000

Computer Organization MIPS ISA

ECE 250 / CPS 250 Computer Architecture. Introduction

Computer Hardware Generations

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2

Computer Performance. Relative Performance. Ways to measure Performance. Computer Architecture ELEC /1/17. Dr. Hayden Kwok-Hay So

CMPSCI 201: Architecture and Assembly Language

Lecture 16: Memory Hierarchy Misses, 3 Cs and 7 Ways to Reduce Misses Professor Randy H. Katz Computer Science 252 Spring 1996

15-740/ Computer Architecture Lecture 7: Pipelining. Prof. Onur Mutlu Carnegie Mellon University Fall 2011, 9/26/2011

CS3350B Computer Architecture MIPS Instruction Representation

Course Administration

RISC Architecture Ch 12

Intel X86 Assembler Instruction Set Opcode Table

General Purpose Processors

Computer Architecture

Multiple Issue ILP Processors. Summary of discussions

Instruction Set Architecture (ISA)

The Processor (1) Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Math 230 Assembly Programming (AKA Computer Organization) Spring MIPS Intro

Copyright 2012, Elsevier Inc. All rights reserved.

ECE232: Hardware Organization and Design

Fundamentals of Computer Design

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier

EITF20: Computer Architecture Part 5.1.1: Virtual Memory

DECstation 5000 Miss Rates. Cache Performance Measures. Example. Cache Performance Improvements. Types of Cache Misses. Cache Performance Equations

Transcription:

-- Principles of Computer Architecture Fall Quarter, 1999 UCSD l Computer Architect (building architect) high-level design organization functionality performance l Hardware Designer (builder, construction engineer) materials implementation details l the first computer science discipline l Eckert and Mauchly, the first computer scientists, were computer architects, as was John von Neumann and Maurice Wilkes

l Instruction Set Design l Computer Organization l That part of the machine that is visible to the user (programmer/compiler-writer/os writer/user) the software interface (Instruction Set Design) performance (Computer Organization) PERFORMANCE!!!!! Why do I care? l You may actually do computer architecture someday l You may actually care about software performance someday The ability of application programs, compilers, operating systems, etc. to deliver performance depends critically on an understanding of the underlying computer organization. That becomes more true every year. Computer architectures become more difficult to understand every year.

Which is faster? Which is faster? for (i=0; i<n; i=i+1) for (j=0; j<n; j=j+1) { r = 0; for (k=0; k<n; k=k+1) r = r + y[i][k] * z[k][j]; x[i][j] = r; } for (jj=0; jj<n; jj=jj+b) for (kk=0; kk<n; kk=kk+b) for (i=0; i<n; i=i+1) { for (j=jj; j<min(jj+b-1,n); j=j+1) r = 0; for (k=kk; k<min(kk+b-1,n); k=k+1) r = r + y[i][k] * z[k][j]; x[i][j] = x[i][j] + r; } load R1, addr1 store R1, addr2 add R0, R2 -> R3 subtract R4, R3 -> R5 add R0, R6 ->R7 store R7, addr3 load R1, addr1 add R0, R2 -> R3 add R0, R6 -> R7 store R1, addr2 subtract R4, R3 -> R5 store R7, addr3 Which is faster? The Forces on Computer Architecture loop1: add... add... bne R1, loop1 loop2: add... bne R2, loop2 loop1: add... add... bne R1, loop1 nop nop loop2: add... bne R2, loop2 Applications Operating Systems Technology Parallelism Computer Architecture: Instruction Set Design Hardware Organization Programming Languages History

Administration What is Computer Architecture? l Who are you? l Who am I? Instructor -- Dr. l syllabus, other details Computer Architecture = Machine Organization + Instruction Set Architecture What the machine looks like How you talk to the machine The Instruction Set Architecture Examples of ISAs l that part of the architecture that is visible to the programmer opcodes (available instructions) number and types of registers instruction formats storage access, addressing modes exceptional conditions l Alpha AXP l 80x86/pentium l VAX l MIPS l SPARC l IBM 360 l...

The Instruction Set Architecture Computer Organization Application Compiler Instr. Set Proc. Digital Design Circuit Design Operating System I/O system Instruction Set Architecture l Once you have decided on an ISA, you must decide how to design the hardware to execute those programs written in the ISA as fast as possible. l This must be done every time a new implementation of the architecture is released, with typically very different technological constraints. ISA provides a level of abstraction for both the hardware and the software The Challenge of Computer Architecture Performance Trends l This industry changes faster than any other. l The ground rules change every year. new problems new opportunities different tradeoffs l It s all about making programs run faster than the next guy s machine. 1000 100 10 CPU DRAM 1 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000

Processor Performance Course Outline Performance 1200 1100 1000 900 800 700 600 500 400 300 200 100 SUN-4/ 260 0 1987 MIPS M/120 1988 MIPS M2000 1989 IBM RS6000 1990 1991 DEC Alpha 21264/600 DEC Alpha 5/300 DEC Alpha 4/266 IBM POWER 100 DEC AXP/500 HP 9000/750 1992 Year 1993 1994 1995 1996 DEC Alpha 5/500 1997 I. Introduction II. Computer System Performance III. Instruction Set Architecture IV. Pipelining V. Instruction-Level Parallelism VI. The Memory/Cache Hierarchy VII. Parallel Machines What you can expect to get out of this class l to become conversant with computer architecture terms and concepts. l to understand fundamental concepts in computer architecture and how they impact computer and application performance. l to be able to read and evaluate architectural descriptions of even today s most complex processors. l to learn experimental techniques used to evaluate advanced architectural ideas. In other words, to do architecture research! Key Points l Computer Architecture defines the software-visible machine description (ISA) and the overall machine organization. l High-performance software requires a deep understanding of the underlying machine organization. l The instruction set architecture defines how software is allowed to use the processor. Multiple computers with vastly different organizations and performance can share an ISA. l We can t improve performance unless we can quantify it, model it, and argue about it.