Professional Documents
Culture Documents
RISC Machines: B. Ross COSC 3p92
RISC Machines: B. Ross COSC 3p92
- simplify compilers
RISC CISC
Five steps:
• single-cycle instructions
8.5
• maximal pipelining
8.6
- Problems:
(i) memory accesses take 2 cycles
(ii) jumps ruin pipeline
- solutions:
For (i): - hardware interlock (wait)
- use incorrect register (means that
compiler needs to correct situation)
• No Microcode
- simple to decode
8.7
8.8
• Philosophical point:
Registers vs Memory
?
- operating system
• Delayed JUMP
00 LOAD X, A
101 JUMP 105
102 ADD 1, A
103 ADD A, B
104 SUB C, B
105 STORE A, Z
106
- memory delays
- jump delays
- register allocation
- simple instruction set
• Recall:
– instruction formats [5.13]
– addressing modes [5.26]
• Instruction set: [5.33]
• CISC instruction set
– design determined for back-compatability
– superscalar microprocessor tries to “deconstruct”
CISC instns into pipelineable microinstructions
– erratic variants for instn type, register usage,
addressing modes
– [reference pages]
- 64 bit design
- LOAD/STORE architecture
- 2^64 byte-addressable memory
- paging, coprocessors, ...
• some differences:
• Pentium 4:
– 2-address, 32-bit CISC
– irregular
– back-compatible
• UltraSPARC
– 3-address, 64-bit RISC
– 128-bit bus
– somewhat complex formats
• Intel 8051
– simple CISC instns
– good bit manipulation
– 4 register sets for efficient interrupt processing
• MIPS
– another 64-bit RISC
SPARC vs. MIPS