RISC Architecture: Prof. Sin-Min Lee Department of Computer Science San Jose State University
RISC Architecture: Prof. Sin-Min Lee Department of Computer Science San Jose State University
RISC Architecture: Prof. Sin-Min Lee Department of Computer Science San Jose State University
Clock 1 2 3 4 5 6 7
Stage
1 i1 i2 i3 i4 i5 i6 i7
2 - i1 i2 i3 i4 i5 i6
3 - - i1 i2 i3 i4 i5
RISC vs. CISC
• RISC have fewer and simpler instructions,
therefore, they are less complex and easier to
design. Also, it allow higher clock speed than
CISC. However, When we compiled high-level
language. RISC CPU need more instructions than
CISC CPU.
• CISC are complex but it doesn’t necessarily
increase the cost. CISC processors are backward
compactable.
Why RISC is better
Clock 1 2 3 4 5 6 7
Stage
1 i1 i2 i3 i4 i5 i6 i7
2 - i1 i2 i3 i4 i5 i6
3 - - i1 i2 i3 i4 i5
What is the speedup obtained from pipelining?
Solution:
Speedup is the ratio of the average instruction
time without pipelining to the average
instruction time with pipelining.
Average instruction time not pipelined = 320 ns
• Pocket PC’s like the Palm Pilot and Compaq’s Ipaq series
also use small RISC processors. Again, a machine like this is
basically single purpose. Yes, you can do lot of things with
them, but often you use a calendar, MP3 player, and maybe a
word processor.
So, why don’t I have a RISC processor at
home? (Continued)
• RISC based PC processors are still quite a bit more
expensive than their CISC counterparts.