Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over...

10
Cs 147 Spring 2010 Meg Genoar

Transcript of Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over...

Page 1: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

Cs 147 Spring 2010Meg Genoar

Page 2: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

History

Started to emerge in mid-1970s

1988 – RISC took over workstation market

Page 3: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

CISCComplex Instruction Set ComputerMany instructions in its ISA (Instruction Set

Architecture)Each instruction: several low-level operations

(e.g. load from memory, arithmetic operation, memory store) in a single instruction

Page 4: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

Why CISC?Old programming: machine code or assembly

language put complexity into hardware (hardware design is easier than compiler design)

Small memories: high program density was advantageous

Make one instruction do as much work as possible

Page 5: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

Benefits of CISCSmaller program sizesFewer main memory accessesLower memory and disc storage costFaster executionBetter programming productivity

Page 6: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

ProblemsHigh number of clock cyclesLess expensive memory main memory

calling is okLimits on benefits

Page 7: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

RISCReduced Instruction Set ComputerSame length instructionsSimple instructionsLonger Programs

Page 8: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

Why RISC?1980s: CISC was reaching theoretical limitsFocus on parallel processingMore chips rather than faster chips

parallel computing divide problems among them

Efficient utilization of resourcesPipelining Fast execution

Page 9: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

RISC ExamplesApple iPodApple iPhone and iPod TouchApple iPadPalm and PocketPC PDAs and

smartphonesBlackberryxbox 360Nintendo Game Boy AdvanceNintendo DS

Page 10: Cs 147 Spring 2010 Meg Genoar. History Started to emerge in mid-1970s 1988 – RISC took over workstation market.

CISC vs RISCCISC RISC

Complex instructions multiple clock cycles

Simple instructions single clock cycle

Instructions executed one at a time

Pipelining

Many instructions reference memory

Load and Store only

Not many general registers Many general registers