Computer Architecture

Slides:



Advertisements
Similar presentations
Instruction Set Design
Advertisements

Computer Organization and Architecture
Chapter 8: Central Processing Unit
Chapter 3 Instruction Set Architecture Advanced Computer Architecture COE 501.
Fall 2012SYSC 5704: Elements of Computer Systems 1 MicroArchitecture Murdocca, Chapter 5 (selected parts) How to read Chapter 5.
ISA Issues; Performance Considerations. Testing / System Verilog: ECE385.
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
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.
RISC CSS 548 Joshua Lo.
Prince Sultan College For Woman
Processor Organization and Architecture
Advanced Computer Architectures
COMPUTER ORGANIZATIONS CSNB123 May 2014Systems and Networking1.
RISC:Reduced Instruction Set Computing. Overview What is RISC architecture? How did RISC evolve? How does RISC use instruction pipelining? How does RISC.
Previously Fetch execute cycle Pipelining and others forms of parallelism Basic architecture This week we going to consider further some of the principles.
What have mr aldred’s dirty clothes got to do with the cpu
RISC Architecture RISC vs CISC Sherwin Chan.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
Chapter 8 CPU and Memory: Design, Implementation, and Enhancement The Architecture of Computer Hardware and Systems Software: An Information Technology.
RISC architecture and instruction Level Parallelism (ILP) based on “Computer Architecture: a Quantitative Approach” by Hennessy and Patterson, Morgan Kaufmann.
Chapter Six Sun SPARC Architecture. SPARC Processor The name SPARC stands for Scalable Processor Architecture SPARC architecture follows the RISC design.
1 Computer Architecture Part II-B: CPU Instruction Set.
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.
MIPS Processor Chapter 12 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
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.
Performance Performance
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.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine.
Topics to be covered Instruction Execution Characteristics
Advanced Architectures
Immediate Addressing Mode
Visit for more Learning Resources
Central Processing Unit Architecture
A Closer Look at Instruction Set Architectures
William Stallings Computer Organization and Architecture 8th Edition
Advanced Topic: Alternative Architectures Chapter 9 Objectives
Overview Introduction General Register Organization Stack Organization
A Closer Look at Instruction Set Architectures
Chapter 14 Instruction Level Parallelism and Superscalar Processors
Introduction to Computer Engineering
Overview Control Memory Comparison of Implementations
Scalable Processor Design
CISC (Complex Instruction Set Computer)
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.
Instruction Level Parallelism and Superscalar Processors
“C” and Assembly Language- What are they good for?
Introduction to Microprocessor Programming
ECE 352 Digital System Fundamentals
Chapter 12 Pipelining and RISC
Created by Vivi Sahfitri
Computer Architecture
October 29 Review for 2nd Exam Ask Questions! 4/26/2019
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
COMPUTER ORGANIZATION AND ARCHITECTURE
Introduction to Computer Engineering
Introduction to Computer Engineering
Introduction to Computer Engineering
Presentation transcript:

Computer Architecture Chapter 3: RISC vs CISC

Chapter Outline Machine Characteristics and Performance RISC versus CISC 9 November 2018 Veton Këpuska

Practical Aspects of Machine Cost-Effectiveness Cost for useful work is fundamental issue Mounting, case, keyboard, etc. are dominating the cost of integrated circuits Upward compatibility preserves software investment Binary compatibility Source compatibility Emulation compatibility Performance: strong function of application 9 November 2018 Veton Këpuska

Performance Measures MIPS: Millions of Instructions Per Second Same job may take more instructions on one machine than on another 9 November 2018 Veton Këpuska

MFLOPS: Million Floating Point OP’s Per Second Other instructions counted as overhead for the floating point Whetstones: Synthetic benchmark A program made up to test specific performance features Dhrystones: Synthetic competitor for Whetstone Made up to “correct” Whetstone’s emphasis on floating point SPEC: Selection of “real” programs Taken from the C/Unix world 9 November 2018 Veton Këpuska

CISC Versus RISC Designs CISC: Complex Instruction Set Computer Goal to minimize number of instructions Expensive Memory Many complex instructions and addressing modes More complex instructions harder to optimize their execution and increase speed. Some instructions take many steps to execute Not always easy to find best instruction for a task RISC: Reduced Instruction Set Computer Few, simple instructions, addressing modes Usually one word per instruction May take several instructions to accomplish what CISC can do in one Takes advantage of fast cashes and cheep memory Complex address calculations may take several instructions Usually has load-store, general register ISA 9 November 2018 Veton Këpuska

Design Characteristics of RISCs Simple instructions can be done in few clocks Simplicity may even allow a shorter clock period A pipelined design can allow an instruction to complete in every clock period Fixed length instructions simplify fetch and decode The rules may allow starting next instruction without necessary getting results of the previous Unconditionally executing the instruction after a branch Starting next instruction before register load is complete 9 November 2018 Veton Këpuska

Other RISC Characteristics Prefetching of instructions. (Similar to I8086.) Pipelining: beginning execution of an instruction before the previous instruction(s) have completed. (Will cover in detail in Chapter 5.) Superscalar operation—issuing more than one instruction simultaneously. (Instruction-level parallelism. Also covered in Chapter 5.) Delayed loads, stores, and branches. Operands may not be available when an instruction attempts to access them. Register windows—ability to switch to a different set of CPU registers with a single command. Alleviates procedure call/return overhead. Discussed with SPARC in this chapter in the book. 9 November 2018 Veton Këpuska

Tbl 3.1 Order of Presenting or Developing a Computer ISA Memories: structure of data storage in the computer Processor-state registers Main memory organization Formats and their interpretation: meanings of register fields Data types Instruction format Instruction address interpretation Instruction interpretation: things done for all instructions The fetch-execute cycle Exception handling (sometimes deferred) Instruction execution: behavior of individual instructions Grouping of instructions into classes Actions performed by individual instructions 9 November 2018 Veton Këpuska

CISC versus RISC: Recap CISCs supply powerful instructions tailored to commonly used operations, stack operations, subroutine linkage, etc. RISCs require more instructions to do the same job CISC instructions take varying lengths of time RISC instructions can all be executed in the same few-cycle pipeline RISCs should be able to finish (nearly) one instruction per clock cycle 9 November 2018 Veton Këpuska

Key Concepts: RISC versus CISC While a RISC machine may possibly have fewer instructions than a CISC, the instructions are always simpler. Multistep arithmetic operations are confined to special units. Like all RISCs are load-store machines. Arithmetic operates only on values in registers. A few regular instruction formats and limited addressing modes make instruction decode and operand determination fast. Branch delays are quite typical of RISC machines and arise from the way a pipeline processes branch instructions. Some RISCs have a load delay. Some RISCs do not have register windows. 9 November 2018 Veton Këpuska

Chapter 3 Summary Machine price/performance are the driving forces. Performance can be measured in many ways: MIPS, execution time, Whetstone, Dhrystone, SPEC benchmarks. CISC machines have fewer instructions that do more. Instruction word length may vary widely Addressing modes encourage memory traffic CISC instructions are hard to map onto modern architectures RISC machines usually have One word per instruction Load/store memory access Simple instructions and addressing modes Result in allowing higher clock cycles, pre-fetching, etc. 9 November 2018 Veton Këpuska