Design of the RISC-V Instruction Set Architecture

Andrew Waterman

EECS Department
University of California, Berkeley
Technical Report No. UCB/EECS-2016-1
January 3, 2016

http://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-1.pdf

The hardware-software interface, embodied in the instruction set architecture (ISA), is arguably the most important interface in a computer system. Yet, in contrast to nearly all other interfaces in a modern computer system, all commercially popular ISAs are proprietary. A free and open ISA standard has the potential to increase innovation in microprocessor design, reduce computer system cost, and, as Moore’s law wanes, ease the transition to more specialized computational devices.

In this dissertation, I present the RISC-V instruction set architecture. RISC-V is a free and open ISA that, with three decades of hindsight, builds and improves upon the original Reduced Instruction Set Computer (RISC) architectures. It is structured as a small base ISA with a variety of optional extensions. The base ISA is very simple, making RISC-V suitable for research and education, but complete enough to be a suitable ISA for inexpensive, low- power embedded devices. The optional extensions form a more powerful ISA for general- purpose and high-performance computing. I also present and evaluate a new RISC-V ISA extension for reduced code size, which makes RISC-V more compact than all popular 64-bit ISAs.

Advisor: David A. Patterson and Krste Asanović


BibTeX citation:

@phdthesis{Waterman:EECS-2016-1,
    Author = {Waterman, Andrew},
    Title = {Design of the RISC-V Instruction Set Architecture},
    School = {EECS Department, University of California, Berkeley},
    Year = {2016},
    Month = {Jan},
    URL = {http://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-1.html},
    Number = {UCB/EECS-2016-1},
    Abstract = {The hardware-software interface, embodied in the instruction set architecture (ISA), is arguably the most important interface in a computer system. Yet, in contrast to nearly all other interfaces in a modern computer system, all commercially popular ISAs are proprietary. A free and open ISA standard has the potential to increase innovation in microprocessor design, reduce computer system cost, and, as Moore’s law wanes, ease the transition to more specialized computational devices.

In this dissertation, I present the RISC-V instruction set architecture. RISC-V is a free and open ISA that, with three decades of hindsight, builds and improves upon the original Reduced Instruction Set Computer (RISC) architectures. It is structured as a small base ISA with a variety of optional extensions. The base ISA is very simple, making RISC-V suitable for research and education, but complete enough to be a suitable ISA for inexpensive, low- power embedded devices. The optional extensions form a more powerful ISA for general- purpose and high-performance computing. I also present and evaluate a new RISC-V ISA extension for reduced code size, which makes RISC-V more compact than all popular 64-bit ISAs.}
}

EndNote citation:

%0 Thesis
%A Waterman, Andrew
%T Design of the RISC-V Instruction Set Architecture
%I EECS Department, University of California, Berkeley
%D 2016
%8 January 3
%@ UCB/EECS-2016-1
%U http://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-1.html
%F Waterman:EECS-2016-1