Digital Design & Comp. Arch: L13: Precise Exceptions & Interrupts (Spring 2026)

Onur Mutlu Lectures
Onur Mutlu LecturesMar 31, 2026

Why It Matters

Accurate exception and interrupt mechanisms let processors boost performance while preserving program correctness, crucial for modern high‑speed CPUs and reliable software debugging.

Key Takeaways

  • Variable‑latency functional units break sequential register write order.
  • Precise exceptions require halting before any later instruction retires.
  • Interrupts handle external events, distinct from internal exception handling.
  • Maintaining architectural state enables reliable debugging and breakpoint support.
  • Foundations of precise handling are critical for out‑of‑order execution.

Summary

The Spring 2026 lecture on Digital Design & Computer Architecture focuses on precise exceptions and interrupts, explaining how they preserve sequential semantics in pipelined processors and set the stage for out‑of‑order execution.

The instructor shows that modern pipelines contain multiple functional units with differing latencies—e.g., integer add (1 cycle), multiply (4 cycles), floating‑point multiply (8 cycles), or memory loads (up to 100 cycles). When instructions finish out of order, naïve write‑back can corrupt the architectural state, violating the von Neumann model. Precise exceptions demand that no later instruction updates registers before the faulting instruction completes, and that all prior instructions have fully retired.

A divide‑by‑zero example illustrates the problem: the faulty divide must trigger an exception before any subsequent instruction writes its result, otherwise the programmer sees an inconsistent state. The professor likens this to a tram stopping for an internal fault versus an external obstacle, distinguishing exceptions (internal) from interrupts (external such as keyboard input or power loss). Breakpoints are treated as hardware‑generated exceptions, reinforcing the need for a clean, deterministic state.

Ensuring precise exception and interrupt handling is essential for CPU designers, operating‑system developers, and debugging tools. It enables high‑throughput pipelines, reliable error recovery, and forms the backbone of more advanced out‑of‑order execution engines, directly impacting processor performance and software correctness.

Original Description

Digital Design and Computer Architecture, ETH Zürich, Spring 2026 (https://safari.ethz.ch/ddca/spring2026/)
Lecture 13: Precise Exceptions & Interrupts
Lecturer: Prof. Onur Mutlu
Date: 02 April 2026
Recommended Reading:
====================
A Modern Primer on Processing in Memory
Memory-Centric Computing: Solving Computing's Memory Problem
Memory-Centric Computing: Recent Advances in Processing-in-DRAM
Intelligent Architectures for Intelligent Computing Systems
RowHammer: A Retrospective
Fundamentally Understanding and Solving RowHammer
Accelerating Genome Analysis via Algorithm-Architecture Co-Design
From Molecules to Genomic Variations: Accelerating Genome Analysis via Intelligent Algorithms and Architectures
RECOMMENDED LECTURE VIDEOS & PLAYLISTS:
========================================
Digital Design and Computer Architecture Spring 2025 Livestream Lectures Playlist:
Fundamentals of Computer Architecture Fall 2025 Livestream Lectures Playlist:
Seminar in Computer Architecture Spring 2025 Livestream Lectures Playlist:
Computer Architecture Fall 2024 Lectures Playlist:
Interview with Professor Onur Mutlu:
TCuARCH meets Prof. Onur Mutlu
Arch. Mentoring Workshop @ISCA'21 - Doing Impactful Research
The Story of RowHammer Lecture:
Accelerating Genome Analysis Lecture:
Memory-Centric Computing Systems Tutorial at IEDM 2021:
Intelligent Architectures for Intelligent Machines Lecture:
Featured Lectures:

Comments

Want to join the conversation?

Loading comments...