aboutsummaryrefslogtreecommitdiff
path: root/src/riscv-unprivileged.adoc
blob: c34b0c1c41decc940194ccf538eb07d3805d6157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[[risc-v-isa]]
= The RISC-V Instruction Set Manual Volume I: Unprivileged Architecture
:description: Unprivileged Architecture
:company: RISC-V.org
:revnumber: 20240411
//:revremark: Pre-release version
:url-riscv: http://riscv.org
:doctype: book
:colophon:
:pdf-theme: ../src/resources/themes/riscv-spec.yml
:pdf-fontsdir: ../src/resources/fonts/
:preface-title: Preamble
:appendix-caption: Appendix
:imagesdir: images
:title-logo-image: image:risc-v_logo.png[pdfwidth=3.25in,align=center]
:page-background-image: image:draft.png[opacity=20%]
//:title-page-background-image: none
//:back-cover-image: image:backpage.png[opacity=25%]
:back-cover-image: image:riscv-horizontal-color.svg[opacity=25%]
// Settings:
:experimental:
:reproducible:
:imagesoutdir: images
:bibtex-file: ../src/resources/riscv-spec.bib
:bibtex-order: alphabetical
:bibtex-style: apa
:bibtex-format: asciidoc
:bibtex-throw: false
:icons: font
:lang: en
:listing-caption: Example
:sectnums:
:toc: left
:toclevels: 5
:source-highlighter: pygments
ifdef::backend-pdf[]
:source-highlighter: rouge
endif::[]
:table-caption: Table
:figure-caption: Figure
:xrefstyle: short 
:chapter-refsig: Chapter
:section-refsig: Section
:appendix-refsig: Appendix
:data-uri:
:hide-uri-scheme:
:stem: latexmath
:footnote:
:le: ≤
:ge: ≥
:ne: ≠
:approx: ≈
:inf: ∞
:csrname: envcfg

_Contributors to all versions of the spec in alphabetical order (please contact editors to suggest
corrections): Derek Atkins,
Arvind,
Krste Asanović, 
Rimas Avižienis, 
Jacob Bachmeyer, 
Christopher F. Batten, 
Allen J. Baum, 
Abel Bernabeu, 
Alex Bradbury, 
Scott Beamer, 
Hans Boehm, 
Preston Briggs, 
Christopher Celio, 
Chuanhua Chang, 
David Chisnall, 
Paul Clayton, 
Palmer Dabbelt, 
L Peter Deutsch,
Ken Dockser, 
Paul Donahue, 
Aaron Durbin, 
Roger Espasa, 
Greg Favor, 
Andy Glew, 
Shaked Flur, 
Stefan Freudenberger, 
Marc Gauthier, 
Andy Glew, 
Jan Gray, 
Gianluca Guida,
Michael Hamburg, 
John Hauser, 
John Ingalls, 
David Horner, 
Bruce Hoult, 
Bill Huffman, 
Alexandre Joannou, 
Olof Johansson, 
Ben Keller, 
David Kruckemyer, 
Tariq Kurd, 
Yunsup Lee, 
Paul Loewenstein, 
Daniel Lustig, 
Yatin Manerkar, 
Luc Maranget, 
Ben Marshall,
Margaret Martonosi, 
Phil McCoy, 
Nathan Menhorn,
Christoph Müllner, 
Joseph Myers, 
Vijayanand Nagarajan, 
Rishiyur Nikhil, 
Jonas Oberhauser, 
Stefan O'Rear, 
Markku-Juhani O. Saarinen,
Albert Ou, 
John Ousterhout, 
Daniel Page,
David Patterson, 
Christopher Pulte, 
Jose Renau, 
Josh Scheid, 
Colin Schmidt, 
Peter Sewell, 
Susmit Sarkar, 
Ved Shanbhogue, 
Brent Spinney,
Brendan Sweeney, 
Michael Taylor, 
Wesley Terpstra, 
Matt Thomas, 
Tommy Thorn, 
Philipp Tomsich, 
Caroline Trippel, 
Ray VanDeWalker, 
Muralidaran Vijayaraghavan, 
Megan Wachs, 
Paul Wamsley, 
Andrew Waterman, 
Robert Watson, 
David Weaver, 
Derek Williams, 
Claire Wolf,
Andrew Wright, 
Reinoud Zandijk,
and Sizhuo Zhang._

_This document is released under a Creative Commons Attribution 4.0 International License._

_This document is a derivative of “The RISC-V Instruction Set Manual, Volume I: User-Level ISA
Version 2.1” released under the following license: ©2010-2017 Andrew Waterman, Yunsup Lee,
David Patterson, Krste Asanović. Creative Commons Attribution 4.0 International License.
Please cite as: “The RISC-V Instruction Set Manual, Volume I: User-Level ISA, Document
Version 20191214-draft”, Editors Andrew Waterman and Krste Asanović, RISC-V Foundation,
December 2019._

//the colophon allows for a section after the preamble that is part of the frontmatter and therefore not assigned a page number.
include::colophon.adoc[]
include::intro.adoc[]
include::rv32.adoc[]
include::rv32e.adoc[]
include::rv64.adoc[]
include::rv128.adoc[]
include::zifencei.adoc[]
include::zicsr.adoc[]
include::counters.adoc[]
include::zihintntl.adoc[]
include::zihintpause.adoc[]
include::zimop.adoc[]
include::zicond.adoc[]
include::m-st-ext.adoc[]
include::a-st-ext.adoc[]
include::zawrs.adoc[]
include::zacas.adoc[]
include::rvwmo.adoc[]
include::ztso-st-ext.adoc[]
include::bfloat16.adoc[]
include::cmo.adoc[]
include::f-st-ext.adoc[]
include::d-st-ext.adoc[]
include::q-st-ext.adoc[]
include::zfh.adoc[]
include::zfa.adoc[]
include::zfinx.adoc[]
include::c-st-ext.adoc[]
include::zc.adoc[]
include::b-st-ext.adoc[]
include::j-st-ext.adoc[]
include::p-st-ext.adoc[]
include::v-st-ext.adoc[]
include::scalar-crypto.adoc[]
include::vector-crypto.adoc[]
include::rv-32-64g.adoc[]
include::extending.adoc[]
include::naming.adoc[]
include::history.adoc[]
include::mm-eplan.adoc[]
include::mm-formal.adoc[]
//Appendices for Vector
include::vector-examples.adoc[]
include::calling-convention.adoc[]
//include::fraclmul.adoc[]
//End of Vector appendices
include::index.adoc[]
// this is generated generated from index markers.
include::bibliography.adoc[]
// this references the riscv-spec.bi file that has been copied into the resources directory