Complex and Reduced Instruction Set Computers

Slides:



Advertisements
Similar presentations
Chapter 8: Central Processing Unit
Advertisements

1 Lecture 3: Instruction Set Architecture ISA types, register usage, memory addressing, endian and alignment, quantitative evaluation.
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
10/9: Lecture Topics Starting a Program Exercise 3.2 from H+P Review of Assembly Language RISC vs. CISC.
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
PART 4: (2/2) Central Processing Unit (CPU) Basics CHAPTER 13: REDUCED INSTRUCTION SET COMPUTERS (RISC) 1.
Chapter 6 สถาปัตยกรรมไมโครโพรเซสเซอร์แบบต่างๆ Processor Architectures
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
CIS 314 : Computer Organization Lecture 1 – Introduction.
Unit -II CPU Organization By- Mr. S. S. Hire. CPU organization.
The Pentium: A CISC Architecture Shalvin Maharaj CS Umesh Maharaj:
Reduced Instruction Set Computers (RISC) Computer Organization and Architecture.
Cisc Complex Instruction Set Computing By Christopher Wong 1.
Processor Organization and Architecture
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.
Chun Chiu. Overview What is RISC? Characteristics of RISC What is CISC? Why using RISC? RISC Vs. CISC RISC Pipelines Advantage of RISC / disadvantage.
Linked Lists in MIPS Let’s see how singly linked lists are implemented in MIPS on MP2, we have a special type of doubly linked list Each node consists.
Data Representation By- Mr. S. S. Hire. Data Representation.
L/O/G/O The Instruction Set Chapter 9 CS.216 Computer Architecture and Organization.
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.
RISC By Ryan Aldana. Agenda Brief Overview of RISC and CISC Features of RISC Instruction Pipeline Register Windowing and renaming Data Conflicts Branch.
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
Chapter 2 Instructions: Language of the Computer Part I.
Computer Science 516 RISC Architecture: MIPS, ARM.
Ted Pedersen – CS 3011 – Chapter 10 1 A brief history of computer architectures CISC – complex instruction set computing –Intel x86, VAX –Evolved from.
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.
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 19 & 20 Instruction Formats PDP-8,PDP-10,PDP-11 & VAX Course Instructor: Engr. Aisha Danish.
Differences in ISA Instruction length
MIPS Processor Chapter 12 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
 Introduction to SUN SPARC  What is CISC?  History: CISC  Advantages of CISC  Disadvantages of CISC  RISC vs CISC  Features of SUN SPARC  Architecture.
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
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.
Copyright © 2005 – Curt Hill MicroProgramming Programming at a different level.
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
EEL 4709C Prof. Watson Herman Group 4 Ali Alshamma, Derek Montgomery, David Ortiz 11/11/2008.
Addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine.
Computer Architecture & Operations I
Computer Architecture & Operations I
Topics to be covered Instruction Execution Characteristics
Computer Science 210 Computer Organization
ISA - Instruction Set Architecture
How objects are located in memory
Visit for more Learning Resources
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)
Chapter 1 Fundamentals of Computer Design
Computer Architecture
The Pentium: A CISC Architecture
Central Processing Unit
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
RISC and CISC.
Evolution of ISA’s ISA’s have changed over computer “generations”.
Dr Hao Zheng Computer Sci. & Eng. U of South Florida
Chapter 12 Pipelining and RISC
Evolution of ISA’s ISA’s have changed over computer “generations”.
Evolution of ISA’s ISA’s have changed over computer “generations”.
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
Evolution of ISA’s ISA’s have changed over computer “generations”.
Presentation transcript:

Complex and Reduced Instruction Set Computers CISC and RISC Complex and Reduced Instruction Set Computers Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill A little history: The development of CPUs like all good developments is subject to different (even conflicting) pressures The direction that these pressures push CPUs is the story behind CISC vs RISC During 60's and 70's one of the determining factors of computers was the high cost of memory It was to the advantage of the CPU designer to optimize the CPU for the use of memory Copyright © 2005-2007 – Curt Hill

Efficient Use of Memory This can only really be accomplished by one of two techniques: Compress your instructions or data Make your instruction set extremely clever so that your programs fit into the smallest space Compress your data in some fashion Though this is an important aspect it is usually not handled by the chip level design - hence only the first is handled by CPU designers Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Optimization Therefore during 60's and 70's people optimized new CPU designs towards making the programs as compact as possible The exception to this trend was Seymour Cray, who was mainly interested in raw speed This was done by making your instruction set much more complex: Adding additional addressing modes Making single instructions of what used to be subroutines The translate instruction or Edit of 370 By the time that IBM had passed the 370 and was into the 3000, they were taking system subroutines and making them into single instructions Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill MicroProgramming Facilitated by the introduction of microprogramming In microprogramming each instruction becomes a procedure call The code for the procedure is in the control store (not programmably accessible) Any instruction could be as complicated as you wanted it to be Consider the entry/exit conventions of system 370 Make this a single instruction with a few parameters Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill DEC VAX is the Zenith It has over 200 instructions Dozens of distinct addressing modes Instructions with as many as 6 operands It has a single instruction that evaluates a single variable polynomial, such as: ax3+bx2-cx+d A single instruction that does a procedure call including: Saving a subset of the registers Adjusting the stack pointer Saving return address Jumping to new procedure Many C programs were one to one with the assembly language Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Tradeoffs In Computer Science there exists the space speed - tradeoff In general any program (or in this case CPU) can be optimized for space or speed It is usually at the expense of the other Eg. data compression conserves space but at the expense of speed Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Changes However, by the end of the 70's and middle 80's, the winds had changed Integrated circuits sophisticated enough to capture a CPU came about Memory prices dropped faster than CPU prices Now the constraint was not get the most bang for your memory buck, but rather get the most bang for your buck in exploiting the silicon real estate that constitutes a CPU Copyright © 2005-2007 – Curt Hill

Integrated Circuit Real Estate A CISC requires more of that real estate than a RISC So what you do to optimize speed of instructions or reduce the CPU space is to make RISCs Fewer addressing modes, fewer instructions, a tendecy for fixed size instructions rather than variable Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Examples Reduced Instruction Set Computer PowerPC DEC Alpha MIPS RISC Sun SPARC Intel XEON Complex Instruction Set Computer The Pentium, as well as its predecessors 360/370 VAX Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill CISC They provide a variety of addressing modes and a rich variety of instructions In many respects they are designed to optimize speed and ease of programming However there is a price to be paid for these complications The CPU get very complicated, in the case of single chip CPUs each one has strained our ability to integrate a device that complicated on one piece of silicon It also makes for exciting instruction set design Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill RISC Do not do everything – be simple Keep the instructions simple and the addressing modes simple So we may not have a symmetrical instruction set or be able to do in one instruction what the CISC can Doing in three instructions what a CISC can do in one is OK, if that allows us to have a smaller, fixed length instruction format It is often the case that then the RISC can run at higher speeds and end up with a net gain of speed for programs Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Competition Intel has been the champion of CISC Their finesse at integration has allowed them to make larger CPUs Others have compensated by making faster and smaller chips Such as PowerPC Copyright © 2005-2007 – Curt Hill

Copyright © 2005-2007 – Curt Hill Hitting the wall Intel in about 1995 determined that heat was limiting what it could do with one CPU Instead of going to a RISC chip, which would forfeit its customer base It decided to go multi-core Two slower CPUs can be put on one chip and run faster than one faster Generate less heat as well Copyright © 2005-2007 – Curt Hill