Chapter 5 MIPS — the RISC textbook, ancestor of RISC-V
5.1 Two sources of RISC — Berkeley and Stanford
Around 1980, the idea that “if you keep instructions simple and uniform, the machine becomes fast and light” (RISC) sprouted at almost the same time at two universities. “RISC-I / RISC-II” by Professor David Patterson and colleagues at the University of California, Berkeley, and MIPS by Professor John Hennessy and colleagues at Stanford University. Both were pioneers that brought Chapter 4’s “simple instructions, many, fast” down into real designs.
These two later received, for this RISC achievement, the 2017 Turing Award — regarded as the highest honor in computer science, also called “the Nobel Prize of the computing field” — jointly. The co-authored textbook bearing their names is still a standard read in classrooms around the world. The RISC road we’re about to use as a matter of course was one these forerunners carefully opened.
This is an important distinction that connects to later. MIPS is from Stanford. And RISC-V, which appears later, is from the other side, Berkeley. From the same RISC aspiration, two streams were born — keep that in mind.
5.2 Why did MIPS become “the textbook”?
What made MIPS special was its clean simplicity. The kinds and shapes of instructions were well uniform, and it rides very docilely on Chapter 3’s assembly line (pipeline). In kitchen terms, the way of writing the order slips is tightly unified, and the five workers’ steps flow smoothly — such a “model” contract.
This “ease of teaching, ease of understanding” was prized, and it is said to have been adopted as the subject for learning CPUs in the standard textbook Computer Organization and Design by Professors Patterson and Hennessy. Ever since, students around the world have learned CPU design with MIPS. MIPS became, so to speak, “the RISC textbook.” The “workbench, stove, five steps” you’re learning now are also on the road that textbook paved.
5.3 But MIPS too had a “tollgate”
However, there was one wall. MIPS’s instruction set (contract) was a proprietary one whose rights are held by a particular company, and using it commercially required a license (permission). This is the “tollgate” of the reader and Chapter 4. Like x86 and ARM, to pass through the MIPS contract, you had to pay a toll at the gate.
Here, let’s also look at other instruction sets. x86, familiar from PCs, is the mainstream of the CISC seen in Chapter 4, and it too is a contract with a tollgate, handled only by limited companies such as Intel and AMD. ARM, on the other hand, is actually a member of RISC — a stream said to have been created in the 1980s by the UK’s Acorn, inspired by Berkeley’s RISC research. Now a greatly successful RISC used in many smartphones and embedded devices, but using its contract also requires a license (permission). That is, ARM too has the same tollgate as MIPS. This contrast makes the “absence of a tollgate” in the RISC-V we see next stand out all the more.
In the preface we said “a contract can be shared.” But if the contract itself has an owner, not everyone can use it freely. You can learn it in a textbook, but the moment you try to use it in your own chip, a tollgate stands in the way — this was a long-standing worry.
5.4 From MIPS to RISC-V — an opened shared language
That’s where RISC-V appeared. Around 2010, at Berkeley, the other source of RISC, it was born from the idea, “a tollgate-free instruction set that anyone can use freely.” Keeping the textbook-like docility as is, it opened the contract itself, for free and openly.
And symbolically, in 2021, the company that had handled MIPS itself is reported to have switched its own path from MIPS to RISC-V. The company behind MIPS, long taken as “the textbook,” moved to the RISC-V side of its own accord — that is what happened.
5.5 The designer’s view — why do we choose RISC-V
The history up to here becomes, as is, the reason for the design decision.
MIPS is the source of that docility, so to speak the ancestor of RISC-V. The “workbench, stove, five steps” view we’ve used throughout this Fundamentals section, traced back, is also on this textbook lineage.