CISC and RISC L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.

Slides:



Advertisements
Similar presentations
Instruction Level Parallelism and Superscalar Processors
Advertisements

CH14 Instruction Level Parallelism and Superscalar Processors
Computer Organization and Architecture
CSCI 4717/5717 Computer Architecture
Chapter 8: Central Processing Unit
Pirouz Bazargan SabetDecember 2003 RISC vs. CISC concept An implementation of Mips Implementation Concept of pipeline Pipeline’s problems.
RISC and Pipelining Prof. Sin-Min Lee Department of Computer Science.
Instructor: Yuzhuang Hu Final Exam! The final exam is scheduled on 7 th, August, Friday 7:00 pm – 10:00 pm.
1 Advanced Computer Architecture Limits to ILP Lecture 3.
Lecture Objectives: 1)Define pipelining 2)Calculate the speedup achieved by pipelining for a given number of instructions. 3)Define how pipelining improves.
Pipelining Hwanmo Sung CS147 Presentation Professor Sin-Min Lee.
ΜP rocessor Architectures To : Eng. Ahmad Hassan By: Group 18.
Chapter 8. Pipelining. Instruction Hazards Overview Whenever the stream of instructions supplied by the instruction fetch unit is interrupted, the pipeline.
Computer Organization and Architecture
Chapter 6 Pipelining & RISCs Dr. Abraham Techniques for speeding up a computer Pipelining Parallel processing.
PZ13A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ13A - Processor design Programming Language Design.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
Computer Organization and Architecture The CPU Structure.
Chapter 12 Pipelining Strategies Performance Hazards.
Microprocessors Introduction to RISC Mar 19th, 2002.
RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.
Pipelined Processor II CPSC 321 Andreas Klappenecker.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
7/2/ _23 1 Pipelining ECE-445 Computer Organization Dr. Ron Hayne Electrical and Computer Engineering.
ENGS 116 Lecture 51 Pipelining and Hazards Vincent H. Berk September 30, 2005 Reading for today: Chapter A.1 – A.3, article: Patterson&Ditzel Reading for.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Cisc Complex Instruction Set Computing By Christopher Wong 1.
Processor Organization and Architecture
Advanced Computer Architectures
Computer Organization and Architecture Instruction-Level Parallelism and Superscalar Processors.
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.
1 Instruction Sets and Beyond Computers, Complexity, and Controversy Brian Blum, Darren Drewry Ben Hocking, Gus Scheidt.
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.
RISC By Ryan Aldana. Agenda Brief Overview of RISC and CISC Features of RISC Instruction Pipeline Register Windowing and renaming Data Conflicts Branch.
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 Organization and Architecture Tutorial 1 Kenneth Lee.
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.
Data Management for Decision Support Session-4 Prof. Bharat Bhasker.
Pipelining and Parallelism Mark Staveley
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
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.
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 11 Reduced Instruction Set Computing.
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.
3/12/2013Computer Engg, IIT(BHU)1 CONCEPTS-1. Pipelining Pipelining is used to increase the speed of processing It uses temporal parallelism In pipelining,
Lecture 9. MIPS Processor Design – Pipelined Processor Design #1 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System.
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,
1 Processor design Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 11.3.
Addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine.
RISC Pipelining CS 147 Spring 2011 Kui Cheung
Advanced Architectures
Visit for more Learning Resources
RISC Pipelining RISC Pipelining CS 147 Spring 2011 Kui Cheung.
Chapter 14 Instruction Level Parallelism and Superscalar Processors
An example of multiplying two numbers A = A * B;
Chapter 1 Fundamentals of Computer Design
Computer Architecture
Instruction Level Parallelism and Superscalar Processors
Processor design Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 11.3.
Lecture 4: Instruction Set Design/Pipelining
Processor design Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section 11.3.
Presentation transcript:

CISC and RISC L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science

We shall define a RISC as a computer that has most of the following properties Instructions are conceptually simple Instructions are of a uniform length Instructions use one (or very few) instruction formats The instruction set is orthogonal Instructions use one or very few addressing modes The architecture is a load-and-store architecture The architecture supports two or a few more datatypes

Major techniques used to implement RISC computers: RISC s use pipelining to speed up instruction decoding and execution (thus RISC s have separate functional units) RISC s usually do not allow program self-modification RISC s use Harvard architectures (separate instruction stream and bus stream) RISC s use large register set to reduce CPU-to-memory traffic RISC s often use delayed branches to avoid branch penalty, i.e. put off the instruction execution for the branch, fill in other instructions (if possible)

RISC s use delayed loads to avoid waiting, i.e. insert an instruction that is independent of the load right after the load instruction and always executes it! (very similar idea to the use of delayed branches Pre-fetch branch-target to reduce the branch delay Use special cache to decrease memory-to-CPU delay Use optimizing compilers that can fill load-delay and branch-delay slots allocate registers to reduce result-register dependencies move load instruction as early as possible move instructions that evaluate branch addresses and branch condition test as early as possible to reduce branch penalty

The usual equation for determining performance is the sum for all instructions of (the number of cycles per instruction * instruction cycle time) = execution time.

This allows you to speed up a processor in 3 different ways --- use fewer instructions for a given task, reduce the number of cycles for some instructions, or speed up the clock (decrease the cycle time.) CISC tries to reduce the number of instructions for a program, and (as we will see) RISC tries to reduce the cycles per instruction.