CISC, RISC, and DSP Microprocessors



Similar documents
Chapter 2 Logic Gates and Introduction to Computer Architecture

Intel 8086 architecture

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

The Central Processing Unit:

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Design Cycle for Microprocessors

CPU Organization and Assembly Language

İSTANBUL AYDIN UNIVERSITY

Generations of the computer. processors.

Quiz for Chapter 1 Computer Abstractions and Technology 3.10

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

Introduction to RISC Processor. ni logic Pvt. Ltd., Pune

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Computer Architectures

RISC AND CISC. Computer Architecture. Farhat Masood BE Electrical (NUST) COLLEGE OF ELECTRICAL AND MECHANICAL ENGINEERING

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

ELEC 5260/6260/6266 Embedded Computing Systems

Mobile Processors: Future Trends

ARM Microprocessor and ARM-Based Microcontrollers

LSN 2 Computer Processors

Instruction Set Design

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Central Processing Unit (CPU)

A Survey on ARM Cortex A Processors. Wei Wang Tanima Dey

This Unit: Putting It All Together. CIS 501 Computer Architecture. Sources. What is Computer Architecture?

Processor Architectures

EE482: Advanced Computer Organization Lecture #11 Processor Architecture Stanford University Wednesday, 31 May ILP Execution

Week 1 out-of-class notes, discussions and sample problems

CHAPTER 4 MARIE: An Introduction to a Simple Computer

a storage location directly on the CPU, used for temporary storage of small amounts of data during processing.

Computer Organization

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX

on an system with an infinite number of processors. Calculate the speedup of

Computer Organization. and Instruction Execution. August 22

Architectures and Platforms

CS 159 Two Lecture Introduction. Parallel Processing: A Hardware Solution & A Software Challenge

High Performance Processor Architecture. André Seznec IRISA/INRIA ALF project-team

Digital Hardware Design Decisions and Trade-offs for Software Radio Systems

What is a System on a Chip?

Multi-core architectures. Jernej Barbic , Spring 2007 May 3, 2007

Computer Organization and Architecture

A New, High-Performance, Low-Power, Floating-Point Embedded Processor for Scientific Computing and DSP Applications

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Introduction to Microprocessors

Lecture 3: Modern GPUs A Hardware Perspective Mohamed Zahran (aka Z) mzahran@cs.nyu.edu

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Computer Systems Design and Architecture by V. Heuring and H. Jordan

Computer Architecture TDTS10

ELE 356 Computer Engineering II. Section 1 Foundations Class 6 Architecture

Chapter 2 - Computer Organization

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University

ARM Architecture. ARM history. Why ARM? ARM Ltd developed by Acorn computers. Computer Organization and Assembly Languages Yung-Yu Chuang

In the Beginning The first ISA appears on the IBM System 360 In the good old days

SOC architecture and design

GPUs for Scientific Computing

VLIW Processors. VLIW Processors

IA-64 Application Developer s Architecture Guide

Microprocessor and Microcontroller Architecture

EMBEDDED SYSTEM BASICS AND APPLICATION

CSE 141 Introduction to Computer Architecture Summer Session I, Lecture 1 Introduction. Pramod V. Argade June 27, 2005

MPSoC Designs: Driving Memory and Storage Management IP to Critical Importance

MICROPROCESSOR AND MICROCOMPUTER BASICS

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Low Power AMD Athlon 64 and AMD Opteron Processors

Microprocessor or Microcontroller?

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Chapter 1 Computer System Overview

Lecture 11: Multi-Core and GPU. Multithreading. Integration of multiple processor cores on a single chip.

Using the Game Boy Advance to Teach Computer Systems and Architecture

Computer Architecture Basics

An examination of the dual-core capability of the new HP xw4300 Workstation

How To Understand The Design Of A Microprocessor

EE361: Digital Computer Organization Course Syllabus

Computer Architecture Lecture 3: ISA Tradeoffs. Prof. Onur Mutlu Carnegie Mellon University Spring 2013, 1/18/2013

Introducción. Diseño de sistemas digitales.1

Instruction Set Architecture (ISA)

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

Instruction Set Architecture

Introduction to Computer Architecture Concepts

8051 hardware summary

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Solution: start more than one instruction in the same clock cycle CPI < 1 (or IPC > 1, Instructions per Cycle) Two approaches:

Administration. Instruction scheduling. Modern processors. Examples. Simplified architecture model. CS 412 Introduction to Compilers

Chapter 1: Introduction. What is an Operating System?

EEM 486: Computer Architecture. Lecture 4. Performance

Design and Implementation of the Heterogeneous Multikernel Operating System

Chapter 5, The Instruction Set Architecture Level

Digital Integrated Circuit (IC) Layout and Design

FLIX: Fast Relief for Performance-Hungry Embedded Applications

ARM Cortex-A9 MPCore Multicore Processor Hierarchical Implementation with IC Compiler

1. Memory technology & Hierarchy


OBJECTIVE ANALYSIS WHITE PAPER MATCH FLASH. TO THE PROCESSOR Why Multithreading Requires Parallelized Flash ATCHING

Advanced Computer Architecture

The new 32-bit MSP432 MCU platform from Texas

361 Computer Architecture Lecture 14: Cache Memory

Comparative Performance Review of SHA-3 Candidates

Transcription:

CISC, RISC, and DSP Microprocessors Douglas L. Jones ECE 497 Spring 2000 4/6/00 CISC, RISC, and DSP D.L. Jones 1

Outline Microprocessors circa 1984 RISC vs. CISC Microprocessors circa 1999 Perspective: why did things evolve so? The future of embedded microprocessors (?) 4/6/00 CISC, RISC, and DSP D.L. Jones 2

Goals for this Lecture Understand key differences between various microprocessor types Understand why they re that way 4/6/00 CISC, RISC, and DSP D.L. Jones 3

General-Purpose Microprocessor circa 1984: Intel 8088 ~100,000 transistors Clock speed: ~ 5 MHz Address space: 20 bits Bus width: 8 bits 100+ instructions 2-35 cycles per instruction Microcoded architecture 4/6/00 CISC, RISC, and DSP D.L. Jones 4

Many addressing modes Relatively inexpensive 4/6/00 CISC, RISC, and DSP D.L. Jones 5

Apparent Trends Larger address space Higher clock speed More transistors More instructions More arithmetic capability More memory management support 4/6/00 CISC, RISC, and DSP D.L. Jones 6

Wider buses for high-performance processors High-end processors more expensive 4/6/00 CISC, RISC, and DSP D.L. Jones 7

DSP Microprocessors circa 1984: TMS32010 Clock speed: 20 MHz Word/bus width: 16 bits Address space: 8, 12 bits ~50,000 transistors ~ 35 instructions 4-cycle execute of most instructions 4/6/00 CISC, RISC, and DSP D.L. Jones 8

Harvard architecture: separate program and data memory, buses 16x16 hardware multiplier Double-length accumulator with saturation A few special DSP instructions Relatively expensive 4/6/00 CISC, RISC, and DSP D.L. Jones 9

Apparent Trends Higher clock rates Fewer cycles/instruction Somewhat expanded address spaces More specialized DSP instructions Lower cost 4/6/00 CISC, RISC, and DSP D.L. Jones 10

Meanwhile, there was RISC... 4/6/00 CISC, RISC, and DSP D.L. Jones 11

RISC Processors circa 1984 Academic research topic 12-16 instructions Single-cycle execute No microcode! 4/6/00 CISC, RISC, and DSP D.L. Jones 12

Arguments Advanced for RISC Small, heavily optimized instruction set executable in single short cycle All instructions same size No microcode = faster execution Extra speed more than offsets increased code size, reduced functionality Better compiler target 4/6/00 CISC, RISC, and DSP D.L. Jones 13

(Simple enough for academic designs, class projects!) 4/6/00 CISC, RISC, and DSP D.L. Jones 14

Arguments Advanced for CISC Fewer instructions per task Shorter programs Hardware implementation of complex instructions faster than software Extra addressing modes help compiler 4/6/00 CISC, RISC, and DSP D.L. Jones 15

The RISC vs CISC Controversy Lots of argument Hundreds of papers Hottest topic in computer architecture In mid to late 80s, many RISC ups introduced: MIPS, SPARC (Sun), MC88000, PowerPC, I960 (Intel), PA-RISC For a time, RISC looked tough to beat... 4/6/00 CISC, RISC, and DSP D.L. Jones 16

CISC Processors circa 1999 Clock Speed: ~400 MHz Several million transistors 32-bit address space or more 32-bit external buses, 128-bit internally ~ 100 instructions Superscalar CPU Judiciously microcoded 4/6/00 CISC, RISC, and DSP D.L. Jones 17

On-chip cache Very complex memory hierarchy Single-cycle execute of most instructions! 32-bit floating-point ALU on board! Multimedia extensions Harvard architecture (internally)! 4/6/00 CISC, RISC, and DSP D.L. Jones 18

Very expensive (100s of dollars) 10s of Watts power consumption 4/6/00 CISC, RISC, and DSP D.L. Jones 19

RISC Architectures circa 1999 The same!! 4/6/00 CISC, RISC, and DSP D.L. Jones 20

DSP Microprocessors circa 1999 Clock speed: 100-200 MHz 16-bit (fixed point) or 32-bit (floating point) buses and word sizes 16-24 bit address space Some on-chip memory Single-cycle execution of most instructions 4/6/00 CISC, RISC, and DSP D.L. Jones 21

Harvard architecture Lots of special DSP instructions 50mW to 2 W power consumption Cheap! 4/6/00 CISC, RISC, and DSP D.L. Jones 22

Questions If CISC and RISC have adopted all the distinguishing features of early DSP microprocessors and more, why didn t they take over the DSP embedded market, too? Answer: because of the and more 4/6/00 CISC, RISC, and DSP D.L. Jones 23

Current high-volume DSP applications (e.g., hard disk drive controllers, cell phones) require low cost, low power DSP ups stripped of all but the most essential features for DSP applications Most quoted numbers for DSP ups not MIPS, but MIPS/$$, MIPS/mW 4/6/00 CISC, RISC, and DSP D.L. Jones 24

Market needs in DSP embedded systems are sufficiently different that no single architectural family can compete in both DSP and general-purpose up market 4/6/00 CISC, RISC, and DSP D.L. Jones 25

Questions Why did RISC become commercial in mid/late 80s? Why did CISC survive? Why have RISC/CISC converged? 4/6/00 CISC, RISC, and DSP D.L. Jones 26

Myth and Reality in RISC vs CISC Myth: CISC designs were inferior Reality: CISC designers made good design tradeoffs at each technology point Myth: Can t achieve high performance, single-cycle execution with CISC Reality: They did it! 4/6/00 CISC, RISC, and DSP D.L. Jones 27

Myth: RISC is a better compiler target Reality: About the same Myth: Commercial RISC chips are really RISC Reality: All commercial RISC chips have a relatively large, complex instruction set 4/6/00 CISC, RISC, and DSP D.L. Jones 28

The Real Answer (Opinion!) The main factor driving general-purpose microprocessor design has been the peculiar economics of semiconductor manufacturing 4/6/00 CISC, RISC, and DSP D.L. Jones 29

Economics of IC Manufacturing Cost per chip Cost per transistor $ $/gate Transistor count Transistor count 4/6/00 CISC, RISC, and DSP D.L. Jones 30

Implications These curves STRONGLY favor designs near the knee of the curve!!! All microprocessors of a given generation have roughly the same number of transistors Key design tradeoff: what to do with X transistors? 4/6/00 CISC, RISC, and DSP D.L. Jones 31

RISC vs. CISC: 500k transistors For a few years in the late 80s, designers had a choice: CISC CPU and no on-chip cache RISC CPU and on-chip cache On-chip cache was probably a slightly better choice, giving RISC 2-3 years of modest advantage 4/6/00 CISC, RISC, and DSP D.L. Jones 32

It wasn t about RISC at all, it was about the on-chip cache! 4/6/00 CISC, RISC, and DSP D.L. Jones 33

RISC vs. CISC: 2M transistors Now possible to have both CISC and onchip cache CISC recovers parity, maybe even advantage RISC chips become more CISC-like 4/6/00 CISC, RISC, and DSP D.L. Jones 34

Even More Transistors... Then more transistors became available than single CISC CPU and reasonable cache could use what now? Multi-processor chips? Superscalar? VLIW? 4/6/00 CISC, RISC, and DSP D.L. Jones 35

Convergence: 5M transistors Superscalar won. But It s really hard to pipeline and schedule superscalar computations when instruction cycles, wordlengths differ, and when there are 100s of different instructions Compilers used only a small subset of instructions Nobody coded in assembly anymore 4/6/00 CISC, RISC, and DSP D.L. Jones 36

This pushed CISC designs to be more RISC-like Hence, convergence! 4/6/00 CISC, RISC, and DSP D.L. Jones 37

What s Next: 50M transistors Approaching limits of superscalability Economics of IC manufacturing say more transistors per microprocessor chip VLIW? Symmetric multi-processor on a chip? Heterogeneous multi-processor on a chip? The latter is emerging (DSP+ARM, Pentium + MMX) 4/6/00 CISC, RISC, and DSP D.L. Jones 38

Question Are there other embedded microprocessor types besides DSP waiting to emerge? AI has been tried and failed Video game ups ( Emotion Engine ) Need application area with unique enough requirements that it s not well served by existing families 4/6/00 CISC, RISC, and DSP D.L. Jones 39

Great opportunity for enterprising chip designer! 4/6/00 CISC, RISC, and DSP D.L. Jones 40

Future of DSP Microprocessors DSP market and applications remain sufficiently unique to sustain an independent class of microprocessors Expect ever-lower-power devices, higher performance within power, cost constraints Fixed point will always be with us! As will floating point! 4/6/00 CISC, RISC, and DSP D.L. Jones 41

Compilers may finally become useful for embedded DSP development, but user must remain informed, in control when needed Hybrid DSP/general purpose up systems may become the norm 4/6/00 CISC, RISC, and DSP D.L. Jones 42