Reduced Instruction Set Computers (RISC) : William Stallings, Computer Organization and Architecture, 9 Edition
Reduced Instruction Set Computers (RISC) : William Stallings, Computer Organization and Architecture, 9 Edition
Reduced Instruction
Chapter 15 Set Computers
(RISC)
William Stallings, Computer Organization and Architecture, 9th Edition
Introduction
Two trends in CPU architecture:
CISC: Complex Instruction Set Computing/Computer such as IBM
System/360, PDP-11, Motorola 6809, 68000, Intel 8080, x86,… CPU
is set up to execute many instructions.
More details:
http://en.wikipedia.org/wiki/Complex_instruction_set_computing
http://en.wikipedia.org/wiki/Reduced_instruction_set_computing
Comparing several RISC and
Non-RISC Systems
Execution
Allow the compiler to take care of
details that are not important in the
programmer’s expression of algorithms Requirements
Often support naturally the use of
Semantic gap
Execution The difference
sequencing between the
Determines the operations provided
control and pipeline in HLLs and those
organization provided in computer
architecture
Operands used
The types of operands Operations performed
and the frequency of their
Determine the functions
use determine the
to be performed by the
memory organization for
processor and its
storing them and the Responses from architecture
addressing modes for
interaction with memory
accessing them
Operations and Operands are used:
Statistic
Statement
Procedure Call:
Arguments and Local Scalar Variables
Statistic
slower
12.5- RISC Pipelining
Instruction pipelining is often used to enhance performance.
Most instructions in RISC are register to register.
Delayed Load
Register to be target is locked by processor
Continue execution of instruction stream until register required
Idle until load is complete
Re-arranging instructions can allow useful work while loading
Program in the
table 15.6
Loop Unrolling Twice Example
Compiler technique to
improve instruction
parallelism is loop
unrolling .
Unrolling can improve
the performance by:
Reducing loop overhead,
increasing instruction
parallelism by improving
pipeline performance,
improving register, data
cache, or TLB locality
Number of loops
decreases 2 times
+15.8-RISC versus CISC Controversy
Quantitative – So sánh định lượng
Compare program sizes and execution speeds of programs on RISC and
CISC machines that use comparable technology