URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

Similar documents
URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

URL: Offered by: Should already know how to design with logic. Will learn...

EE 7722 GPU Microarchitecture. Offered by: Prerequisites By Topic: Text EE 7722 GPU Microarchitecture. URL:

Spring 2014 Midterm Exam Review

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

Lecture Topics. Principle #1: Exploit Parallelism ECE 486/586. Computer Architecture. Lecture # 5. Key Principles of Computer Architecture

EECE 321: Computer Organization

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction

Computer Architecture. Fall Dongkun Shin, SKKU

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

These slides do not give detailed coverage of the material. See class notes and solved problems (last page) for more information.

EE382 Processor Design. Class Objectives

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

Chapter 2. OS Overview

CSEE 3827: Fundamentals of Computer Systems

From CISC to RISC. CISC Creates the Anti CISC Revolution. RISC "Philosophy" CISC Limitations

Review of instruction set architectures

Computer Architecture. Introduction. Lynn Choi Korea University

4.16. Historical Perspective and Further Reading. supercomputer: Any machine still on the drawing board.

Computer Architecture

Topics Power tends to corrupt; absolute power corrupts absolutely. Computer Organization CS Data Representation

IF1 --> IF2 ID1 ID2 EX1 EX2 ME1 ME2 WB. add $10, $2, $3 IF1 IF2 ID1 ID2 EX1 EX2 ME1 ME2 WB sub $4, $10, $6 IF1 IF2 ID1 ID2 --> EX1 EX2 ME1 ME2 WB

Historical Perspective and Further Reading 3.10

1DT157 Digitalteknik och datorarkitekt. Digital technology and computer architecture, 5p

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

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

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

Computer Architecture!

Advanced Computer Architecture

These slides do not give detailed coverage of the material. See class notes and solved problems (last page) for more information.

Figure 1-1. A multilevel machine.

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

Computer Architecture

CSE 141: Computer Architecture. Professor: Michael Taylor. UCSD Department of Computer Science & Engineering

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner

Lecture 4: Instruction Set Design/Pipelining

MIPS Instruction Set Architecture (1)

CPS104 Computer Organization Lecture 1

ISA and RISCV. CASS 2018 Lavanya Ramapantulu

Chapter 2: Instructions How we talk to the computer

Administrative matters. EEL-4713C Computer Architecture Lecture 1. Overview. What is this class about?

Cycles Per Instruction For This Microprocessor

EE 4755 Digital Design Using Hardware Description Languages

Computer Architecture!

EE 4755 Digital Design Using Hardware Description Languages

EE282 Computer Architecture. Lecture 1: What is Computer Architecture?

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

What is Computer Architecture?

EE282H: Computer Architecture and Organization. EE282H: Computer Architecture and Organization -- Course Overview

Outline. What Makes a Good ISA? Programmability. Implementability

Pa-risc 1.1 Architecture And Instruction Set >>>CLICK HERE<<<

Computer Architecture!

ARSITEKTUR SISTEM KOMPUTER. Wayan Suparta, PhD 17 April 2018

Real instruction set architectures. Part 2: a representative sample

Computer Architecture

Computer Architectures

Handouts. (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) Class information. Schedule (check online frequently)

Lecture 4: Instruction Set Architecture

Fundamentals of Computer Design

High Performance Computing

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. MIPS Assembly

EJEMPLOS DE ARQUITECTURAS

Multiple Issue ILP Processors. Summary of discussions

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

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro

Advanced d Processor Architecture. Computer Systems Laboratory Sungkyunkwan University

Instructor Information

Fundamentals of Computers Design

CS Computer Architecture Spring Lecture 01: Introduction

Lecture 1: Course Introduction and Overview Prof. Randy H. Katz Computer Science 252 Spring 1996

Computer Systems Laboratory Sungkyunkwan University

Outline. What Makes a Good ISA? Programmability. Implementability. Programmability Easy to express programs efficiently?

ECE 486/586. Computer Architecture. Lecture # 7

ECE/CS 552: Introduction To Computer Architecture 1

CS654 Advanced Computer Architecture. Lec 1 - Introduction

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

CS146 Computer Architecture. Fall Midterm Exam

Typical Processor Execution Cycle

ECE 486/586. Computer Architecture. Lecture # 8

Advanced processor designs

ECE 587 Advanced Computer Architecture I

Chapter 13 Reduced Instruction Set Computers

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

CS61C Machine Structures. Lecture 1 Introduction. 8/25/2003 Brian Harvey. John Wawrzynek (Warznek) www-inst.eecs.berkeley.

Advanced Processor Architecture. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Evolution of Computers & Microprocessors. Dr. Cahit Karakuş

Multithreading: Exploiting Thread-Level Parallelism within a Processor

CSE : Introduction to Computer Architecture

Reader's Guide Outline of the Book A Roadmap For Readers and Instructors Why Study Computer Organization and Architecture Internet and Web Resources

Reduced Instruction Set Computer

Lecture Topics. Branch Condition Options. Branch Conditions ECE 486/586. Computer Architecture. Lecture # 8. Instruction Set Principles.

CISC 662 Graduate Computer Architecture Lecture 13 - Limits of ILP

Instruction Set Architecture (ISA)

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

CS Computer Architecture

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck)

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

TDT Coarse-Grained Multithreading. Review on ILP. Multi-threaded execution. Contents. Fine-Grained Multithreading

Computer Architecture Lecture 12: Out-of-Order Execution (Dynamic Instruction Scheduling)

CMSC 611: Advanced Computer Architecture

Transcription:

01 1 EE 4720 Computer Architecture 01 1 URL: https://www.ece.lsu.edu/ee4720/ RSS: https://www.ece.lsu.edu/ee4720/rss home.xml Offered by: David M. Koppelman 3316R P. F. Taylor Hall, 578-5482, koppel@ece.lsu.edu, https://www.ece.lsu.edu/koppel Office Hours: Monday - Friday, 15:00-16:00. Should already know: How to design a computer. Will learn: How to design a good computer. 01 1 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 1

01 2 01 2 Prerequisites By Course: EE 3752, Microprocessor Systems, and EE 3755, Computer Organization. Prerequisites By Topic: Logic design. Computer organization. Assembly-language programming. Optional Text Computer architecture, a quantitative approach, John L. Hennessy & David A. Patterson, or Computer organization & design, David A. Patterson & John L. Hennessy. 01 2 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 2

01 3 01 3 Course Content Topics that cover modern general-purpose microprocessors: CPU pipelined implementations. Instruction set families: RISC ( normal), CISC ( old-fashioned), VLIW. Code optimization and performance. Benchmarks, and when to believe them. Implementing interrupts and floating point operations. Single-core parallelism: pipelining, superscalar, vector instructions. Basic parallel computer organizations: multi-core, cluster. Branch prediction and related techniques. Dynamic scheduling. Caches and memory. 01 3 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 3

01 4 Graded Material 01 4 Midterm Exam, 40% Fifty minutes, closed book. Final Exam, 40% Two hours, closed book. Yes, it s cumulative. Homework, 20% Written and computer assignments. Lowest grade or unsubmitted assignment dropped. 01 4 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 4

01 5 Course Usefulness 01 5 Material in Course Needed For: General-purpose processor designers and testers. Special-purpose processor designers and testers. Compiler writers. Programmers of high-performance systems, including games. Developing exploits for low-level vulnerabilities. Answering job interview questions. 01 5 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 5

01 6 01 6 Course Resources Slides and other material via https://www.ece.lsu.edu/ee4720/ Web site also has homework assignments, exams, grades, and other material. Announcements are on course home page and available as a Web (RSS) Feed. 01 6 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 6

01 7 Instruction Set Architecture (ISA) Concept History 01 7 Key Concept: Split computer design into Architecture Design and Implementation. Quick (and Temporary) Definitions Instruction Set Architecture (ISA): The Machine Language Examples: Intel 64, Itanium, PowerPC. Implementation: The Chip Examples: Intel Core, Athlon, G5. An ISA can have multiple implementations...... sometimes developed decades apart. 01 7 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 7

01 8 ISA Concept History 01 8 Early Computer Design ISA and Implementation not considered totally separate things. Start with requirements. (E.g., Need division instructions.) Develop processor hardware. ISA is documentation of implementation (developed hardware). Problems Faced by Early Computer Manufacturers Realization that software development expensive & time-consuming. Would like to offer past customers better machine that runs old software. Engineers say a really better machine would break old software. Marketing people rather not test customers loyalty, so don t break sw. 01 8 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 8

01 9 ISA Concept History 01 9 ISA and IBM System/360 Concept of ISA crystallized by Amdahl, Blaauw, & Brooks. Engineers designed ISA and implementation as separate entities. ISA would ease development of new implementations. System/360 developed in 1964 and its successors are still available. 01 9 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 9

01 10 Instruction Set Architecture & Implementation 01 10 Instruction Set Architecture (ISA): Precise definition of computer s instructions and their effects. It s all that programmer needs to program machine. It s all that hardware designer needs to design machine. Implementation: [of an ISA] (noun) Hardware that executes instructions defined by the ISA. Microarchitecture: Organization and features used for an implementation. ISA and implementation descriptions at https://www.ece.lsu.edu/ee4720/reference.html. 01 10 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 10

01 11 Instruction Set Architecture & Implementation 01 11 What a Typical ISA Defines Instructions. (Operations, encoding, etc.) Data Formats (Integer, Floating Point, Vector/Packed) Registers and Memory Organization. Interrupts, exceptions, and traps. Implementation-Dependent Features. (Memory control, custom features.) 01 11 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 11

01 12 Instruction Set Architecture & Implementation 01 12 ISA Design Goals Define what program is. (Instructions and their encodings.). Define what program will do. (Data types, operations.) Clearly distinguish defined, undefined, and implementation-dependent behavior. Enable good first implementation. Easy. Enable good future implementations. Requires foresight: See future needs and technology (e.g., gates). Requires discipline: Sacrifice first-implementation performance. And maybe foolishness: Insufficient first-implementation sales. 01 12 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 12

01 13 Instruction Set Architecture & Implementation 01 13 How Damaging (to profit) Are Bad ISAs? Examples of Bad (now) ISA Features Undefined FP rounding behavior. System/360 Base + 16-Bit Offset Addressing. (IA-32) Not enough registers. (IA-32) Overly complex instructions. (VAX) Bad features can be overcome by implementation...... especially if engineering budget is very large. 01 13 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 13

01 14 Some Architectures and their Implementations 01 14 Architecture: IBM System/360 Developed in 1964 for large business computers. Designers appreciated and popularized the difference between ISA and implementation. First planned family of computers. Very successful, successor machines still in use under name z/architecture. First Implementations: Model 30, Model 75. 01 14 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 14

01 15 Some Architectures and their Implementations 01 15 Architecture: DEC VAX Developed by the Digital Equipment Corporation. First implementation: VAX 11/780, introduced in 1978. Came to dominate minicomputer market in 1980s. Single-chip implementations were developed but not successful. Later DEC developed the Alpha ISA, more suitable to 1990s technology. 01 15 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 15

01 16 Some Architectures and their Implementations 01 16 Architecture: Intel IA-32 and Intel 64 Initially developed in 1978 for small systems. First processor: 8086, implements small part of IA-32. Major improvements in amount of memory addressable by subsequent chips, 80186, 80286 (1982). The 80386 (1985) could host a modern 32-bit operating system. Later chips implemented ISA extensions for multimedia and data movement...... and continued to incorporate microarchitectural innovations. 80486 (1989), Pentium (1992), Pentium Pro (1995), Pentium II (1997), Pentium III (1999), Pentium 4 (2000), Core Duo (2006), Core i7 6gen (2015), Core i9-9980xe (2018)... Unlike System/360, the way it would be used was not forseen. Includes unpopular features, such as small memory segments. Nevertheless, implementations have competed well with modern ISAs. 01 16 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 16

01 17 Some Architectures and their Implementations 01 17 Architecture: DEC (then Compaq, now HP) Alpha An example of a RISC processor. Designed for easy programming. Designed for easy implementation. RISC programs are larger than others, but run faster. Developed for a 25-year lifetime. First implementation: DECchip 21064 (1992). Later implementations: 21264, 21364. Implementations are usually the fastest processors. Alas, Compaq plans to discontinue it. 01 17 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 17

01 18 Some Architectures and their Implementations 01 18 Architecture: Itanium (née IA-64) First general purpose VLIW ISA. ISA helps processor overcome problems in turn-of-the-century processors. First implementation: Itanium (same name as architecture) (2000). Radically different from other processors. Did not succeed. 01 18 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 18

01 19 01 19 This Course This Course ISA Features and Families Reference ISA: MIPS 32 Families: RISC, CISC, VLIW Features: Common to the semi-exotic. Specific: SPARC, IA-32/Intel 64, Itanium, VAX, PowerPC, ARM A64, etc. Microarchitecture (Implementation Techniques) Basic Pipelining Deep Pipelining, Superscalar, VLIW, Multicore. Branch Prediction Dynamic Scheduling (Out-of-order execution.) Memory and Caches 01 19 LSU EE 4720 Lecture Transparency. Formatted 13:43, 11 January 2019 from lsli01. 01 19