RISC-V → RISC (the name says it; fixed length, load/store)
Motorola 68k → CISC
Why: the defining test is not speed or age — it is encoding + memory model. Fixed-length + load/store ⇒ RISC. See Instruction Encoding.
Recall Solution L1.2
False. RISC uses a load/store architecture: only LOAD/STORE may touch memory. You must first LOAD R2, [B] then ADD R3, R1, R2. See Addressing Modes.
Recall Solution L1.3
Fixed-length (e.g. 32-bit); x86 ranges from 1 to 15 bytes.
WHAT we do: apply CPU Time=N×CPI×Tc to each row.
CISC=1.0M×4.0×1.25ns=5.0 msRISC=1.5M×1.1×1.0ns=1.65 msRISC wins, by a factor 5.0/1.65≈3.03×.
WHY: RISC used 50%more instructions, yet both CPI and Tc shrank enough to dominate. That is the entire RISC bet in one calculation.
CISC:ADD [A], [B]
Memory accesses: RISC = 3 (2 loads + 1 store), CISC = 3 internally too (read A, read B, write A). Same memory traffic — the difference is where it is expressed: RISC exposes it as instructions, CISC hides it inside microcode. See Microcode and Micro-operations.
Recall Solution L2.3
RISC=2M×1.2×0.5ns=1.2 msCISC=1.2M×5×0.8ns=4.8 ms
RISC is 4.8/1.2=4× faster.
Halve Tc: 1.0M×4.0×0.625ns=2.5 msThey tie at 2.5 ms. Because the equation is a product, halving any single factor halves the total. This is why RISC attacks both CPI and Tc — the gains multiply. See Pipelining.
Recall Solution L3.2
No — the ISA is still CISC. Two layers:
Architecture (ISA): what the programmer/compiler sees — variable length, memory operands ⇒ CISC. Unchanged.
Microarchitecture: how silicon executes it — a decoder splits each instruction into RISC-like micro-ops running on a fast core.
So modern x86 is CISC ISA, RISC-style microarchitecture — a hybrid. See x86 vs ARM and Microcode and Micro-operations.
Recall Solution L3.3
Follow the cyan boxes (RISC): each is the same width, so the fetch unit knows exactly where the next instruction begins — it can start decoding instruction i+1 while i executes. That regular overlap is a pipeline.
Follow the amber box (CISC): its length is unknown until partly decoded (1–15 bytes), so the fetch stage must wait to find the boundary — the red stall bar. Variable length ⇒ the pipeline can't confidently prefetch, raising effective CPI. This is the mechanical reason fixed-length encoding pipelines better. See Instruction Encoding.
No pipeline ⇒ RISC's biggest advantage (clean overlap lowering CPI) is unavailable, so RISC loses its main lever.
Tc matters little at low clock speeds; energy per instruction and code density dominate.
Real answer: this is exactly why ARM Thumb / RISC-V compressed (C) extensions exist — a RISC core with a compressed 16-bit encoding to reclaim code density. So: RISC execution model + dense encoding = best blend. See Compiler Optimization.
Recall Solution L4.2
WHAT: set RISC time = CISC time and solve for the instruction ratio.
NR⋅1.1⋅1.0=NC⋅4.0⋅1.25NCNR=1.1×1.04.0×1.25=1.15.0≈4.55Interpretation: RISC could execute up to ≈4.55× as many instructions as CISC and still tie. In L2.1 the real ratio was only 1.5× — far below break-even — so RISC won comfortably. This quantifies how much slack the RISC bet has.
(a)1.6M×1.1×1.0ns=1.76 ms.
(b) CISC time =1.0M×4.0×1.25ns=5.0 ms. Speedup =5.0/1.76≈2.84×.
(c) The compiler attacked N (fewer instructions) — the one factor software controls. This is the core RISC philosophy: hardware stays simple and fast (CPI,Tc), while the compiler carries the complexity of producing tight code. The improvement came for free from software, not silicon.
Recall Solution L5.2
CISC-favouring workload: memory-bandwidth-starved code fetched over a slow bus (e.g. old machines, some embedded flash). Dense variable-length encoding ⇒ fewer bytes fetched per operation ⇒ less time lost to instruction fetch. Here fetch bandwidth, not CPI, is the bottleneck.
What flips it back to RISC: add a pipeline + instruction cache. Once instructions are cached, fetch bandwidth stops being the bottleneck, and RISC's clean overlap (low CPI) + short Tc dominate again. This is precisely the historical transition of the 1980s. See Pipelining.
Recall One-figure summary: the ladder you just climbed