• ↑↓ pour naviguer
  • pour ouvrir
  • pour sélectionner
  • ⌘ ⌥ ↵ pour ouvrir dans un panneau
  • ←→ pour naviguer
  • esc pour rejeter
⌘ '
raccourcis clavier

The Comparison

RISC (Reduced Instruction Set Computer) and CISC (Complex Instruction Set Computer) are two fundamental approaches to CPU architecture design, representing opposite philosophies about where complexity should live — in hardware (CISC) or software (RISC).

Side-by-Side Comparison

FeatureRISCCISC
Instruction setSmall, simple (50-150 instructions)Large, complex (hundreds of instructions)
Instruction lengthFixed (easy to decode)Variable (1-15+ bytes, harder to decode)
Execution time1 clock cycle per instruction (ideal)Multiple clock cycles per instruction
Hardware complexitySimple (fewer transistors)Complex (more transistors)
Software complexityMore work for compilerLess work for compiler
Memory usageMore instructions → larger programsFewer instructions → smaller programs
PipeliningEasy to implement (fixed length, simple)Difficult (variable length, complex instructions)
Clock speedHigher (simple hardware)Lower (complex hardware)
ExamplesARM, MIPS, SPARCIntel x86, AMD, VAX

Key Insights

  1. RISC shifts complexity to software: The compiler must break complex operations into simple instructions. This makes hardware simpler and faster.

  2. CISC shifts complexity to hardware: The CPU handles complex operations internally. This makes programs smaller but hardware more complex.

  3. Pipelining advantage: RISC’s fixed-length, simple instructions enable deep pipelines and higher clock speeds. CISC’s variable-length instructions make pipelining difficult.

  4. Modern convergence: Modern x86 CPUs (CISC) translate complex instructions into RISC-like micro-operations internally, getting the best of both worlds.

  5. Use case matters: RISC dominates mobile (ARM) due to power efficiency; CISC dominated desktop (x86) due to backward compatibility.

Connections