RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.

Slides:



Advertisements
Similar presentations
Instruction Level Parallelism and Superscalar Processors
Advertisements

Computer Organization and Architecture
Chapter 8: Central Processing Unit
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
1 Advanced Computer Architecture Limits to ILP Lecture 3.
OMSE 510: Computing Foundations 4: The CPU!
10/11: Lecture Topics Slides on starting a program from last time Where we are, where we’re going RISC vs. CISC reprise Execution cycle Pipelining Hazards.
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.
PART 4: (2/2) Central Processing Unit (CPU) Basics CHAPTER 13: REDUCED INSTRUCTION SET COMPUTERS (RISC) 1.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
Major Advances in Computers(1) The family concept —IBM System/ —DEC PDP-8 —Separates architecture from implementation Microporgrammed control unit.
Chapter 13 Reduced Instruction Set Computers (RISC) CISC – Complex Instruction Set Computer RISC – Reduced Instruction Set Computer.
Reduced Instruction Set Computers (RISC)
RISC CSS 548 Joshua Lo.
RISC and CISC by Eugene Clewlow. Overview History of CISC and RISC CISC and RISC  Philosophy  Attributes and disadvantages Summation.
Reduced Instruction Set Computers (RISC) Computer Organization and Architecture.
Processor Organization and Architecture
Advanced Computer Architectures
RISC Processors – Page 1CSCI 4717 – Computer Architecture CSCI 4717/5717 Computer Architecture Topic: RISC Processors Reading: Stallings, Chapter 13.
COMPUTER ORGANIZATIONS CSNB123 May 2014Systems and Networking1.
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
Computer Organization and Architecture Reduced Instruction Set Computers (RISC) Chapter 13.
CH13 Reduced Instruction Set Computers {Make hardware Simpler, but quicker} Key features  Large number of general purpose registers  Use of compiler.
Basics and Architectures
RISC:Reduced Instruction Set Computing. Overview What is RISC architecture? How did RISC evolve? How does RISC use instruction pipelining? How does RISC.
Chun Chiu. Overview What is RISC? Characteristics of RISC What is CISC? Why using RISC? RISC Vs. CISC RISC Pipelines Advantage of RISC / disadvantage.
What have mr aldred’s dirty clothes got to do with the cpu
1 Instruction Sets and Beyond Computers, Complexity, and Controversy Brian Blum, Darren Drewry Ben Hocking, Gus Scheidt.
Computer architecture Lecture 11: Reduced Instruction Set Computers Piotr Bilski.
RISC Architecture RISC vs CISC Sherwin Chan.
Ramesh.B ELEC 6200 Computer Architecture & Design Fall /29/20081Computer Architecture & Design.
Chapter 8 CPU and Memory: Design, Implementation, and Enhancement The Architecture of Computer Hardware and Systems Software: An Information Technology.
Computer Architecture Pipelines & Superscalars Sunset over the Pacific Ocean Taken from Iolanthe II about 100nm north of Cape Reanga.
RISC and CISC. What is CISC? CISC is an acronym for Complex Instruction Set Computer and are chips that are easy to program and which make efficient use.
12/4/2015CS654 RISC vs. CISC Dhiraj Parashar Shiva Prasad Behera Vivek Sharma.
MIPS Processor Chapter 12 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
M. Mateen Yaqoob The University of Lahore Spring 2014.
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
Reduced Instruction Set Computers. Major Advances in Computers(1) The family concept —IBM System/ —DEC PDP-8 —Separates architecture from implementation.
Pipelining and Parallelism Mark Staveley
CA406 Computer Architecture Pipelines... continued.
CISC and RISC 12/25/ What is CISC? acronym for Complex Instruction Set Computer Chips that are easy to program and which make efficient use of memory.
1  1998 Morgan Kaufmann Publishers Chapter Six. 2  1998 Morgan Kaufmann Publishers Pipelining Improve perfomance by increasing instruction throughput.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
EECS 322 March 18, 2000 RISC - Reduced Instruction Set Computer Reduced Instruction Set Computer  By reducing the number of instructions that a processor.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 1: Overview of High Performance Processors * Jeremy R. Johnson Wed. Sept. 27,
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
High Performance Computing1 High Performance Computing (CS 680) Lecture 2a: Overview of High Performance Processors * Jeremy R. Johnson *This lecture was.
Multi-Core CPUs Matt Kuehn. Roadmap ► Intel vs AMD ► Early multi-core processors ► Threads vs Physical Cores ► Multithreading and Multi-core processing.
Chapter Six.
Topics to be covered Instruction Execution Characteristics
Advanced Architectures
RISC and CISC Lecture 8.
Advanced Topic: Alternative Architectures Chapter 9 Objectives
Overview Introduction General Register Organization Stack Organization
An example of multiplying two numbers A = A * B;
CISC (Complex Instruction Set Computer)
The fetch-execute cycle
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
William Stallings Computer Organization and Architecture 8th Edition
Chapter Six.
Chapter Six.
* From AMD 1996 Publication #18522 Revision E
Computer Architecture
Chapter 12 Pipelining and RISC
COMPUTER ORGANIZATION AND ARCHITECTURE
Presentation transcript:

RISC

Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology (Very Large Scale Integration Fewer transistors on chip (lower cost) –use the space for pipelines, cache, registers

RISC VS CISC RISC –multiple register sets –3 operands –efficient parameter passing –single cycle instructions –hardwired control –fixed length instructions –highly pipelined –few, simple instructions –complexity in compiler –only load and store access memory –few addressing modes CISC –single register set –2 operands –inefficient parameter passing –multiple-cycle instructions –microprogrammed control –variable length instructions –less pipelined –many complex instructions –complexity in microcode –many instructions can access memory –many addressing modes

RISC vs. CISC continued RISC –emphasis on software –register to register load and store –large code size –low cycles/second –more transistors used on memory registers CISC –emphasis on hardware –memory to memory load and store –small code size –high cycles/second –transistors used for complex instructions

Assembly Language RISC multiply Load A, memory Load B, memory Prod A, B Store memory, A CISC multiply MULT memory, memory

Pipelining standard feature in RISC processors like an assembly line instruction execution is faster

Laundry Analogy

Laundry Analogy 2

RISC Pipelines Five Steps –fetch instruction from memory –read registers and decode instructions –execute the instruction or calculate an address –access an operand in data memory –write the result to a register

Pipeline Problems Data dependency –an instruction depends on the result of a previous instruction –example add $r3, $r2, $r1 add $r5, $r4, $r3 Solution –code reordering –no-op insertion –stall insertion

Problems continued Branch instructions –determine next instruction based on results of another instruction –example Loop : add $r3, $r2, $r1 sub $r6, $r5, $r4 beq $r3, $r6, Loop Solution –branch prediction

Pipeline Advancements Superpipelining Superscalar pipelining VLIW Dynamic pipeline scheduling Dynamic pipelines

Today’s Chips Increasingly difficult to categorize Post-RISC era increased processor speeds VLSI Examples –Intel IA-64 architecture –PowerPC

Recent Developments Simultaneous Multithreading –multiple threads execute at the same time –instructions from different threads are pulled into the pipeline –no one thread dominates the processor Value Prediction –prediction of value a load will produce