William Stallings Computer Organization and Architecture 6 Edition Reduced Instruction Set Computers
William Stallings Computer Organization and Architecture 6 Edition Reduced Instruction Set Computers
Computer Organization
and Architecture
6th Edition
Chapter 13
Reduced Instruction
Set Computers
The Next Step - RISC
• Reduced Instruction Set Computer
• Key features
—Large number of general purpose registers
—or use of compiler technology to optimize register
use
—Limited and simple instruction set
—Emphasis on optimising the instruction pipeline
Driving force for CISC
• Software costs far exceed hardware costs
• Increasingly complex high level languages
• Semantic gap
• Leads to:
—Large instruction sets
—More addressing modes
—Hardware implementations of HLL statements
– e.g. CASE (switch) on VAX
Intention of CISC
• Ease compiler writing
• Improve execution efficiency
—Complex operations in microcode
• Support more complex HLLs
Execution Characteristics
• Operations performed
• Operands used
• Execution sequencing
• Studies have been done based on programs
written in HLLs
• Dynamic studies are measured during the
execution of the program
Operations
• Assignments
—Movement of data
• Conditional statements (IF, LOOP)
—Sequence control
• Procedure call-return is very time consuming
• Some HLL instruction lead to many machine
code operations
Why CISC (1)?
• Compiler simplification?
—Disputed…
—Complex machine instructions harder to exploit
—Optimization more difficult
• Smaller programs?
—Program takes up less memory but…
—Memory is now cheap
—May not occupy less bits, just look shorter in
symbolic form
– More instructions require longer op-codes
– Register references require fewer bits
Why CISC (2)?
• Faster programs?
—Bias towards use of simpler instructions
—More complex control unit
—Microprogram control store larger
—thus simple instructions take longer to execute