Review of Computer Organization

Slides:



Advertisements
Similar presentations
Instruction Level Parallelism and Superscalar Processors
Advertisements

CMSC 611: Advanced Computer Architecture Pipelining Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
Instructor: Yuzhuang Hu Final Exam! The final exam is scheduled on 7 th, August, Friday 7:00 pm – 10:00 pm.
Lecture Objectives: 1)Define pipelining 2)Calculate the speedup achieved by pipelining for a given number of instructions. 3)Define how pipelining improves.
Chapter 2.
THE MIPS R10000 SUPERSCALAR MICROPROCESSOR Kenneth C. Yeager IEEE Micro in April 1996 Presented by Nitin Gupta.
Computer Architecture Pipelines & Superscalars. Pipelines Data Hazards Code: lw $4, 0($1) add $15, $1, $1 sub$2, $1, $3 and $12, $2, $5 or $13, $6, $2.
Mary Jane Irwin ( ) [Adapted from Computer Organization and Design,
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Lecture 23 - Course.
1  2004 Morgan Kaufmann Publishers Chapter Six. 2  2004 Morgan Kaufmann Publishers Pipelining The laundry analogy.
1  2004 Morgan Kaufmann Publishers Chapter Three.
Lecture 5 Sept 14 Goals: Chapter 2 continued MIPS assembly language instruction formats translating c into MIPS - examples.
Final Exam Review B. Ramamurthy. Date, Time and Place Date: Tuesday May 5, 2009 Time: AM Place: Filmore 170 Please bring pens, pencils, calculator.
1  2004 Morgan Kaufmann Publishers Instructions: bne $t4,$t5,Label Next instruction is at Label if $t4≠$t5 beq $t4,$t5,Label Next instruction is at Label.
1 Pipelining Reconsider the data path we just did Each instruction takes from 3 to 5 clock cycles However, there are parts of hardware that are idle many.
Pipeline Extensions prepared and Instructed by Shmuel Wimer Eng. Faculty, Bar-Ilan University MIPS Extensions1May 2015.
Computer Architecture Pipelines & Superscalars Sunset over the Pacific Ocean Taken from Iolanthe II about 100nm north of Cape Reanga.
CSE 340 Computer Architecture Summer 2014 Basic MIPS Pipelining Review.
CS.305 Computer Architecture Enhancing Performance with Pipelining Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005, and from.
Electrical and Computer Engineering University of Cyprus LAB3: IMPROVING MIPS PERFORMANCE WITH PIPELINING.
CSCI 6307 Foundation of Systems Review: Midterm Exam Xiang Lian The University of Texas – Pan American Edinburg, TX 78539
CA406 Computer Architecture Pipelines... continued.
Chapter 6 Pipelined CPU Design. Spring 2005 ELEC 5200/6200 From Patterson/Hennessey Slides Pipelined operation – laundry analogy Text Fig. 6.1.
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
Lecture 17 Final Review Prof. Mike Schulte Computer Architecture ECE 201.
1  1998 Morgan Kaufmann Publishers Chapter Six. 2  1998 Morgan Kaufmann Publishers Pipelining Improve perfomance by increasing instruction throughput.
순천향대학교 정보기술공학부 이 상 정 1 3. Arithmetic for Computers.
Introduction to Computer Organization Pipelining.
COM181 Computer Hardware Lecture 6: The MIPs CPU.
LECTURE 10 Pipelining: Advanced ILP. EXCEPTIONS An exception, or interrupt, is an event other than regular transfers of control (branches, jumps, calls,
Chapter Six.
Computer Architecture & Operations I
Exceptions Another form of control hazard Could be caused by…
Computer Organization CS224
Instruction Set Architecture
Morgan Kaufmann Publishers
Performance of Single-cycle Design
Exam 2 Review Two’s Complement Arithmetic Ripple carry ALU logic and performance Look-ahead techniques, performance and equations Basic multiplication.
Lecture: Pipelining Extensions
CS203 – Advanced Computer Architecture
Pipelining Wrapup Brief overview of the rest of chapter 3
Single Clock Datapath With Control
Appendix C Pipeline implementation
CDA 3101 Spring 2016 Introduction to Computer Organization
ECE232: Hardware Organization and Design
Pipelining: Advanced ILP
Computer Architecture
Instructions - Type and Format
Arithmetic Logical Unit
Computer Architecture
Computer Arithmetic Multiplication, Floating Point
Chapter Six.
The Processor Lecture 3.6: Control Hazards
Chapter Six.
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Instruction Execution Cycle
September 17 Test 1 pre(re)view Fang-Yi will demonstrate Spim
CS203 – Advanced Computer Architecture
Pipelining: Basic Concepts
Reducing pipeline hazards – three techniques
CSC3050 – Computer Architecture
Part IV Data Path and Control
Pipelining Chapter 6.
Morgan Kaufmann Publishers The Processor
Introduction to Computer Organization and Architecture
Review In last lecture, done with unsigned and signed number representation. Introduced how to represent real numbers in float format.
Introduction to Computer Systems Engineering
Problem ??: (?? marks) Consider executing the following code on the MIPS pipelined datapath: add $t5, $t6, $t8 add $t9, $t5, $t4 lw $t3, 100($t9) sub $t2,
CMSC 611: Advanced Computer Architecture
Presentation transcript:

Review of Computer Organization Haojin Zhu Professor

Chapter I: Performance Evaluation Throughput Response Time CPI=clock cycles per instruction Clock cycle Instruction Count Transition from uniprocessor to multi-core (why?) Amdahl’s law (what is the limit for performance improvement?) MIPS=million instructions per second

Chapter II: Instructions: Language of Computer MIPS (RISC) Design Principles Simplicity favors regularity Smaller is faster Make the common case fast Good design demands good compromises Three kinds of instructions: R type, I type, J type (format) Handling large constant: lui+ori Branch destination Jump destination Programming is not required in the final

Chapter 3: Arithmetic for Computers 2’s complement, 1’s complement, biased notation Zero extension vs sign extension Overflow Basic multiplication and advanced multiplication algorithm Restoring division/ non-restoring division (comparision?) IEEE 754 floating point: single precision, double precision Representation range and accuracy Addition and multiplication Round (e.g., round to nearest even)

Chapter 4A: The Single Cycle Processor Clocking methodology How to design the processor step by step Data path for R-type, I-type, LW, SW, branch, jump Critical path= Longest Delay Path (assignments) Control Signals for different instructions

Chapter 4B: Multi-cycle Datapath Why need multi-cycle datapath? Datapath and control signals for different instructions in different stages? Average CPI Compare the performance of single cycle and multi-cycle datapath

Chapter 4C&D: Pipeline and Data Hazard Data path in pipelined processor and control signals (see the assignment) Data Hazard: RAW, WAW, WAR Handle RAW data hazard Stall the pipeline: Insert Noop Forwarding: conditions (special case: load use data hazard) Handle WAW and WAR Renaming Handle Branch Prediction Flush (difference between noop and flush?) Scheduling (Not required in the final) Exception Interrupt Trap

Chapter 4E: Multiple-Issue Processor The techniques for modern processor (understanding the concept is ok) deeper pipelines: superpipelining Multi-issue processor: Superscalar Reduced CPIstall Diversified pipeline Out of order execution Branch prediction Identify and resolve stalls of RAW, WAW, WAR Code scheduling (NOT required in this final)

Problem Distribution of the final exam 1. Performance evaluation (20’) 2. Multiplication, division and floating point (20’) 3. Single cycle datapath (10’) 4. Multiple cycle datapath (10’) 5. Pipleline and Data dependence (20’) 7. Brief answer (20’) Your final score= Final exam + Added Score

Other reminder for final examination Please pay special attention to examples in slides+ assignments (especially those examples I presented in classes) + text book (at least 1 time) Time & Location 2016-12-27 第16周星期三 18:00-20:00 中院112(二专) You could bring dictionary, calculator. Other course material is not allowed Contact me by @ 朱浩瑾_SJTU in sina weibo

Best Wishes for you in the finals