CS654 Advanced Computer Architecture. Lec 1 - Introduction

Similar documents
B649 Graduate Computer Architecture. Lec 1 - Introduction

MOTIVATION. B649 Parallel Architectures and Programming

Advanced Computer Architecture

Computer Architecture

Instruction Set Principles. (Appendix B)

CS61CL Machine Structures. Lec 5 Instruction Set Architecture

Computer Architecture. The Language of the Machine

Computer Architecture. MIPS Instruction Set Architecture

Reduced Instruction Set Computer (RISC)

Computer Architecture Lecture 1: Fundamentals of Quantitative Design and Analysis (Chapter 1)

Reduced Instruction Set Computer (RISC)

ECE 2035 Programming HW/SW Systems Fall problems, 7 pages Exam Two 23 October 2013

The MIPS Instruction Set Architecture

TSK3000A - Generic Instructions

Q1: /30 Q2: /25 Q3: /45. Total: /100

MIPS Reference Guide

EEM 486: Computer Architecture. Lecture 2. MIPS Instruction Set Architecture

ECE 2035 Programming HW/SW Systems Spring problems, 6 pages Exam One 4 February Your Name (please print clearly)

Computing Devices Then EECS 252 Graduate Computer Architecture

MIPS Instruction Set

Who am I? Computing Systems Today. Computing Devices Then. EECS 252 Graduate Computer Architecture Lecture 1. Introduction January 20 th 2010

Question 0. Do not turn this page until you have received the signal to start. (Please fill out the identification section above) Good Luck!

101 Assembly. ENGR 3410 Computer Architecture Mark L. Chang Fall 2009

CS252 S05 1. Outline. CSCI 211 Computer System Architecture. Déjà vu all over again? Sea Change in Chip Design. Processor is the new transistor?

Computer Architecture Experiment

MIPS Instruction Format

Who am I? Computing Systems Today. Computing Devices Then. EECS 252 Graduate Computer Architecture Lecture 1. Introduction January 18 th 2012

Project Part A: Single Cycle Processor

ISA and RISCV. CASS 2018 Lavanya Ramapantulu

F. Appendix 6 MIPS Instruction Reference

Implementing an Instruction Set

ECE 2035 Programming HW/SW Systems Fall problems, 6 pages Exam One 22 September Your Name (please print clearly) Signed.

Technology. Giorgio Richelli

Review of instruction set architectures

MIPS Instruction Reference

ECE 2035 Programming HW/SW Systems Fall problems, 6 pages Exam One 19 September 2012

Computer Systems Laboratory Sungkyunkwan University

ECE 2035 Programming HW/SW Systems Spring problems, 6 pages Exam Two 11 March Your Name (please print) total

INSTRUCTION SET COMPARISONS

Assembly Programming

CISC 662 Graduate Computer Architecture. Lecture 4 - ISA

EE108B Lecture 3. MIPS Assembly Language II

Programming the processor

ECE468 Computer Organization & Architecture. MIPS Instruction Set Architecture

ECE 2035 Programming HW/SW Systems Fall problems, 6 pages Exam Two 23 October Your Name (please print clearly) Signed.

Computer Architecture

CISC 662 Graduate Computer Architecture. Lecture 4 - ISA MIPS ISA. In a CPU. (vonneumann) Processor Organization

Procedure Calling. Procedure Calling. Register Usage. 25 September CSE2021 Computer Organization

Week 10: Assembly Programming

Concocting an Instruction Set

Anne Bracy CS 3410 Computer Science Cornell University. See P&H Chapter: , , Appendix B

Processor. Han Wang CS3410, Spring 2012 Computer Science Cornell University. See P&H Chapter , 4.1 4

ENCM 369 Winter 2013: Reference Material for Midterm #2 page 1 of 5

A General-Purpose Computer The von Neumann Model. Concocting an Instruction Set. Meaning of an Instruction. Anatomy of an Instruction

ECE 15B Computer Organization Spring 2010

CS3350B Computer Architecture MIPS Instruction Representation

Laboratory Exercise 6 Pipelined Processors 0.0

ECE Exam I February 19 th, :00 pm 4:25pm

CS 4200/5200 Computer Architecture I

Concocting an Instruction Set

CSE 502 Graduate Computer Architecture

Introduction to Multicore architecture. Tao Zhang Oct. 21, 2010

Exam in Computer Engineering

MIPS R-format Instructions. Representing Instructions. Hexadecimal. R-format Example. MIPS I-format Example. MIPS I-format Instructions

Instruction Set Architecture of. MIPS Processor. MIPS Processor. MIPS Registers (continued) MIPS Registers

CS 152 Computer Architecture and Engineering. Lecture 19: Synchronization and Sequential Consistency

ECE 2035 Programming HW/SW Systems Fall problems, 6 pages Exam Two 21 October 2016

ECE 2035 A Programming Hw/Sw Systems Fall problems, 8 pages Final Exam 8 December 2014

Concocting an Instruction Set

MIPS ISA. 1. Data and Address Size 8-, 16-, 32-, 64-bit 2. Which instructions does the processor support

EE108B Lecture 2 MIPS Assembly Language I. Christos Kozyrakis Stanford University

ECE 2035 Programming HW/SW Systems Spring problems, 6 pages Exam Three 10 April 2013

EECS 252 Graduate Computer Architecture. Lec 1 - Introduction

CPS311 - COMPUTER ORGANIZATION. A bit of history

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

CS654 Advanced Computer Architecture. Lec 2 - Introduction

Computer Organization & Design

ECE 2035 A Programming Hw/Sw Systems Spring problems, 8 pages Final Exam 29 April 2015

ECE 2035 A Programming Hw/Sw Systems Fall problems, 8 pages Final Exam 9 December 2015

Instructions: Language of the Computer

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

MIPS%Assembly% E155%

Computer Architecture. Chapter 2-2. Instructions: Language of the Computer

MIPS Assembly Language. Today s Lecture

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

Introduction to the MIPS. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University

CS 61c: Great Ideas in Computer Architecture

Today s Lecture. MIPS Assembly Language. Review: What Must be Specified? Review: A Program. Review: MIPS Instruction Formats

CS61C : Machine Structures

EE 109 Unit 8 MIPS Instruction Set

Concocting an Instruction Set

CSE 502 Graduate Computer Architecture

Midterm. Sticker winners: if you got >= 50 / 67

S252 S05 1. COSC 5352 Advanced Computer Architecture

MACHINE LANGUAGE. To work with the machine, we need a translator.

Review. Lecture #9 MIPS Logical & Shift Ops, and Instruction Representation I Logical Operators (1/3) Bitwise Operations

Overview. Introduction to the MIPS ISA. MIPS ISA Overview. Overview (2)

Digital System Design II

ece4750-parc-isa.txt

Lec 10: Assembler. Announcements

Transcription:

CS654 Advanced Computer Architecture Lec 1 - Introduction Peter Kemper Adapted from the slides of EECS 252 by Prof. David Patterson Electrical Engineering and Computer Sciences University of California, Berkeley

Outline Computer Science at a Crossroads Computer Architecture v. Instruction Set Arch. What Computer Architecture brings to table Technology Trends 1/22/09 CS654 W&M 2

Crossroads: Conventional Wisdom in Comp. Arch Old Conventional Wisdom: Power is free, Transistors expensive New Conventional Wisdom: Power wall Power expensive, Xtors free (Can put more on chip than can afford to turn on) Old CW: Sufficiently increasing Instruction Level Parallelism via compilers, innovation (Out-of-order, speculation, VLIW, ) New CW: ILP wall law of diminishing returns on more HW for ILP Old CW: Multiplies are slow, Memory access is fast New CW: Memory wall Memory slow, multiplies fast (200 clock cycles to DRAM memory, 4 clocks for multiply) Old CW: Uniprocessor performance 2X / 1.5 yrs New CW: Power Wall + ILP Wall + Memory Wall = Brick Wall Uniprocessor performance now 2X / 5(?) yrs Sea change in chip design: multiple cores (2X processors per chip / ~ 2 years)» More simpler processors are more power efficient 1/22/09 CS654 W&M 3

Crossroads: Uniprocessor Performance 10000 From Hennessy and Patterson, Computer Architecture: A Quantitative Approach, 4th edition, October, 2006??%/year Performance (vs. VAX-11/780) 1000 100 10 25%/year 52%/year 1 1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006 VAX : 25%/year 1978 to 1986 RISC + x86: 52%/year 1986 to 2002 RISC + x86:??%/year 2002 to present 1/22/09 CS654 W&M 4

Sea Change in Chip Design Intel 4004 (1971): 4-bit processor, 2312 transistors, 0.4 MHz, 10 micron PMOS, 11 mm 2 chip RISC II (1983): 32-bit, 5 stage pipeline, 40,760 transistors, 3 MHz, 3 micron NMOS, 60 mm 2 chip 125 mm 2 chip, 0.065 micron CMOS = 2312 RISC II+FPU+Icache+Dcache RISC II shrinks to ~ 0.02 mm 2 at 65 nm Caches via DRAM or 1 transistor SRAM (www.t-ram.com)? Proximity Communication via capacitive coupling at > 1 TB/s? (Ivan Sutherland @ Sun / Berkeley) Processor is the new transistor? 1/22/09 CS654 W&M 5

Déjà vu all over again? Multiprocessors imminent in 1970s, 80s, 90s, today s processors are nearing an impasse as technologies approach the speed of light.. David Mitchell, The Transputer: The Time Is Now (1989) Transputer was premature Custom multiprocessors strove to lead uniprocessors Procrastination rewarded: 2X seq. perf. / 1.5 years We are dedicating all of our future product development to multicore designs. This is a sea change in computing Paul Otellini, President, Intel (2004) Difference is all microprocessor companies switch to multiprocessors (AMD, Intel, IBM, Sun; all new Apples 2 CPUs) Procrastination penalized: 2X sequential perf. / 5 yrs Biggest programming challenge: 1 to 2 CPUs 1/22/09 CS654 W&M 6

Problems with Sea Change Algorithms, Programming Languages, Compilers, Operating Systems, Architectures, Libraries, not ready to supply Thread Level Parallelism or Data Level Parallelism for 1000 CPUs / chip, Architectures not ready for 1000 CPUs / chip Unlike Instruction Level Parallelism, cannot be solved by just by computer architects and compiler writers alone, but also cannot be solved without participation of computer architects This 4 th Edition of textbook Computer Architecture: A Quantitative Approach explores shift from Instruction Level Parallelism to Thread Level Parallelism / Data Level Parallelism 1/22/09 CS654 W&M 7

Outline Computer Science at a Crossroads Computer Architecture v. Instruction Set Arch. What Computer Architecture brings to table Technology Trends 1/22/09 CS654 W&M 8

Instruction Set Architecture: Critical Interface software instruction set hardware Properties of a good abstraction Lasts through many generations (portability) Used in many different ways (generality) Provides convenient functionality to higher levels Permits an efficient implementation at lower levels 1/22/09 CS654 W&M 9

Example: MIPS MIPS:Microprocessor without Interlocked Pipeline Stages r0 r1 r31 PC lo hi 0 Arithmetic logical Programmable storage 2^32 x bytes 31 x 32-bit GPRs (R0=0) 32 x 32-bit FP regs (paired DP) HI, LO, PC Add, AddU, Sub, SubU, And, Or, Xor, Nor, SLT, SLTU, AddI, AddIU, SLTI, SLTIU, AndI, OrI, XorI, LUI SLL, SRL, SRA, SLLV, SRLV, SRAV Memory Access Control LB, LBU, LH, LHU, LW, LWL,LWR SB, SH, SW, SWL, SWR J, JAL, JR, JALR BEq, BNE, BLEZ,BGTZ,BLTZ,BGEZ,BLTZAL,BGEZAL Data types? Format? Addressing Modes? 32-bit instructions on word boundary 1/22/09 CS654 W&M 10

Instruction Set Architecture... the attributes of a [computing] system as seen by the programmer, i.e. the conceptual structure and functional behavior, as distinct from the organization of the data flows and controls the logic design, and the physical implementation. Amdahl, Blaauw, and Brooks, 1964 -- Organization of Programmable Storage -- Data Types & Data Structures: Encodings & Representations -- Instruction Formats -- Instruction (or Operation Code) Set SOFTWARE -- Modes of Addressing and Accessing Data Items and Instructions -- Exceptional Conditions 1/22/09 CS654 W&M 11

ISA vs. Computer Architecture Old definition of computer architecture = instruction set design Other aspects of computer design called implementation Insinuates implementation is uninteresting or less challenging Our view is computer architecture >> ISA Architect s job much more than instruction set design; technical hurdles today more challenging than those in instruction set design Since instruction set design not where action is, some conclude computer architecture (using old definition) is not where action is We disagree on conclusion Agree that ISA not where action is (ISA in CA:AQA 4/e appendix) 1/22/09 CS654 W&M 12

Comp. Arch. is an Integrated Approach What really matters is the functioning of the complete system hardware, runtime system, compiler, operating system, and application In networking, this is called the End to End argument Computer architecture is not just about transistors, individual instructions, or particular implementations E.g., Original RISC projects replaced complex instructions with a compiler + simple instructions 1/22/09 CS654 W&M 13

Computer Architecture is Design and Analysis A n a l y s i s Design Architecture is an iterative process: Searching the space of possible designs At all levels of computer systems Creativity Cost / Performance Analysis Bad Ideas Good Ideas Mediocre Ideas 1/22/09 CS654 W&M 14

Outline Computer Science at a Crossroads Computer Architecture v. Instruction Set Arch. What Computer Architecture brings to table Technology Trends 1/22/09 CS654 W&M 15