RISC MACHINE - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

RISC MACHINE

Description:

... Multi-Threading. Simultaneous Multi-Threading (SMT) allows ... Threads are series of tasks which are executed alternately by the processor. Value Prediction ... – PowerPoint PPT presentation

Number of Views:117
Avg rating:3.0/5.0
Slides: 14
Provided by: csS1
Category:
Tags: machine | risc | threads

less

Transcript and Presenter's Notes

Title: RISC MACHINE


1
RISC MACHINE
  • By Kim Le

2
What is RISC?
  • Reduced Instruction Set Computer. is a type of
    microprocessor architecture that utilizes a
    small, highly-optimized set of instructions,
    rather than a more specialized set of
    instructions often found in other types of
    architectures.

3
Brief History
  • The first RISC projects came from IBM, Stanford,
    and UC-Berkeley in the late 70s and early 80s
  • The IBM 801, Stanford MIPS, and Berkeley RISC 1
    and 2 were all designed with a similar philosophy
    which has become known as RISC
  • one cycle execution time RISC processors have a
    CPI (clock per instruction) of one cycle. This is
    due to the optimization of each instruction on
    the CPU and a technique called
  • pipelining a techique that allows for
    simultaneous execution of parts, or stages, of
    instructions to more efficiently process
    instructions
  • large number of registers the RISC design
    philosophy generally incorporates a larger number
    of registers to prevent in large amounts of
    interactions with memory

4
Pipelining
  • fetch instructions from memory
  • read registers and decode the instruction
  • execute the instruction or calculate an address
  • access an operand in data memory
  • write the result into a register

5
Problem with Pipelining?
  • RISC processors operate at more than one cycle
    per instruction. The processor might occasionally
    stall a a result of data dependencies and branch
    instructions.

6
The advantages of RISC
  • Speed. Since a simplified instruction set allows
    for a pipelined, superscalar design RISC
    processors often achieve 2 to 4 times the
    performance of CISC processors using comparable
    semiconductor technology and the same clock
    rates.
  • Simpler hardware. Because the instruction set of
    a RISC processor is so simple, it uses up much
    less chip space extra functions, such as memory
    management units or floating point arithmetic
    units, can also be placed on the same chip.
    Smaller chips allow a semiconductors manufacturer
    to place more parts on a single silicon wafer,
    which can lower the per-chip cost dramatically.
  • Shorter design cycle. Since RISC processors are
    simpler than corresponding CISC processors, they
    can be designed more quickly, and can take
    advantage of other technological developments
    sooner than corresponding CISC designs, leading
    to greater leaps in performance between
    generations.

7
The hazards of RISC
  • Code Quality
  • The performance of a RISC processor depends
    greatly on the code that it is executing. If the
    programmer (or compiler) does a poor job of
    instruction scheduling, the processor can spend
    quite a bit of time stalling waiting for the
    result of one instruction before it can proceed
    with a subsequent instruction.

8
Debugging
  • If scheduling (and other optimizations) are
    turned off, the machine-language instructions
    show a clear connection with their corresponding
    lines of source. However, once instruction
    scheduling is turned on, the machine language
    instructions for one line of source may appear in
    the middle of the instructions for another line
    of source code.

9
RISC Vs. CISC
  • CISC
  • Emphasis on hardware
  • Includes multi-clockcomplex instructions
  • Memory-to-memory"LOAD" and "STORE"incorporated
    in instructions
  • Small code sizes,high cycles per second
    Transistors used for storingcomplex instructions
  • RISC
  • Emphasis on software
  • Single-clock,reduced instruction only
  • Register to register"LOAD" and "STORE"are
    independent instructions
  • Low cycles per second,large code sizes
  • Spends more transistorson memory registers

10
CISC and RISC Convergence
  • Simultaneous Multi-Threading
  • Simultaneous Multi-Threading (SMT) allows
    multiple threads to be executed at the exact same
    time. Threads are series of tasks which are
    executed alternately by the processor.
  • Value Prediction
  • Value prediction is the prediction of the value
    that a particular load instruction will produce.
    Load values are generally not random, and
    approximately half of the load instructions in a
    program will fetch the same value as they did in
    a previous execution.

11
Where RISC is use?
  • Graphic Work Station
  • Apple
  • PA-RISC HP Work station
  • Intel Strong ARM processor (Mobile CPU)
  • IBM (Work Station)
  • MOTOROLA (Hand Held Device)

12
WHY RISC IS FALLING?
  • Require large amount of cache memory
  • Many companies were unwilling to take a chance
    with the emerging RISC technology. Without
    commercial interest, processor developers were
    unable to manufacture RISC chips in large enough
    volumes to make their price competitive.
  • Software Compatibility issues
  • Too Hard to Debug

13
Bibliography
  • http//physinfo.ulb.ac.be/divers_html/PowerPC_Prog
    ramming_Info/intro_to_risc/irt5_risc2.html
  • http//cse.stanford.edu/class/sophomore-college/pr
    ojects-00/risc/
Write a Comment
User Comments (0)
About PowerShow.com