CSS 548 Joshua Lo
CSS 548 Joshua Lo
RISC
Reduced Instruction Set Computers
Microprocessor architecture Designed to perform a set of smaller computer instructions so that it can operate at higher speeds
Magnetic core memory was used as main memory which was slow and expensive
Minimize assembly code
Caches
allowed main memory to be accessed at similar speeds to control memory
Inception of RISC
1974 John Cocke (IBM) proved that 80% of work was done using only 20% of the instructions Three RISC projects
IBM 801 machine (1974) Berkeleys RISC-I and RISC-II processors (1980) Stanfords MIPS processor (1981)
RISC Approach
Use only simple instructions that can be executed within one clock cycle
Fewer transistors for instructions = more registers
Pipelining
Sequential
IF
ID
O OE O F S
IF
ID
Clock Cycle
O OE O F S
IF
ID
O OE O F S
Pipelined IF Clock Cycle ID IF O OE O F S ID O OE O F S IF ID O OE O F S Time IF Instruction Fetch ID Instruction Decode OF Operand Fetch OE Operand Execution OS Operation Store
Pipelining
Data Dependency IF ID IF O OE O F S ID
O OE O F S
IF Instruction Fetch ID Instruction Decode OF Operand Fetch OE Operand Execution OS Operation Store
IF
ID
O OE O F S
IF
ID
O OE O F S
Pipelining
Data dependencies can be addressed by reordering the instructions when possible (compiler) Performance degradation from branches can be reduced by branch prediction or executing instructions for both branches until the correct branch is identified
Other Advantages
New microprocessors can be developed and tested more quickly if being less complicated is one of its aims Smaller instruction sets are easier for compiler programmers to use
Questions?
Al-Aubidy, K (2010). Advanced Computer Architecture. Retrieved November 2012 from http://www.philadelphia.edu.jo/academics/kaubaidy/uploads/ACA-Lect2.pdf Chen, C., Novick, G., Shimano, K. (2000). RISC ARCHITECTURE. Retrieved November 2012, from http://www-csfaculty.stanford.edu/~eroberts/courses/soco/projects/risc/about/index.html Joy, W. (1997). Reduced Instruction Set Computers (RISC): Academic/Industrial Interplay Drives Computer Performance Forward. Retrieved November 2012, from http://homes.cs.washington.edu/~lazowska/cra/risc.html Merat, F. (1996). PowerPC. Retrieved November 2012, from http://engr.case.edu/merat_francis/eeap282f97/lectures/28_RISC%20&%20PowerPC. pdf Patterson, D. A. (January 02, 1985). Reduced instruction set computers.Communications of the Acm, 28, 1, 8-21. Rouse, M (2005). RISC (reduced instruction set computer). Techtarget. Retrieved November 2012 from http://search400.techtarget.com/definition/RISC