Skip to content

Commit a41705e

Browse files
committed
fix: update golden reference for all instructions
1 parent 45e097f commit a41705e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

backends/instructions_appendix/all_instructions.golden.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Instruction Appendix
22
:doctype: book
3-
:wavedrom: /workspaces/riscv-unified-db/node_modules/.bin/wavedrom-cli
3+
:wavedrom: /home/hbg/Projects/riscv-unified-db/node_modules/.bin/wavedrom-cli
44
// Now the document header is complete and the wavedrom attribute is active.
55

66

@@ -9655,7 +9655,7 @@ Included in::
96559655
== fence
96569656

96579657
Synopsis::
9658-
Memory oxdering fence
9658+
Memory ordering fence
96599659

96609660
Assembly::
96619661
fence pred, succ
@@ -9667,12 +9667,12 @@ Encoding::
96679667
....
96689668

96699669
Description::
9670-
Oxders memory operations.
9670+
Orders memory operations.
96719671

9672-
The xref:insts:fence.adoc#udb:doc:inst:fence[fence] instruction is used to oxder device I/O and memory accesses as
9672+
The xref:insts:fence.adoc#udb:doc:inst:fence[fence] instruction is used to order device I/O and memory accesses as
96739673
viewed by other RISC-V harts and external devices or coprocessors. Any
96749674
combination of device input (I), device output (O), memory reads \(R),
9675-
and memory writes (W) may be oxdered with respect to any combination of
9675+
and memory writes (W) may be ordered with respect to any combination of
96769676
the same. Informally, no other RISC-V hart or external device can
96779677
observe any operation in the _successor_ set following a xref:insts:fence.adoc#udb:doc:inst:fence[fence] before
96789678
any operation in the _predecessor_ set preceding the xref:insts:fence.adoc#udb:doc:inst:fence[fence].
@@ -9692,15 +9692,15 @@ The predecessor and successor fields have the same format to specify operation t
96929692
|===
96939693
|_fm_ field |Mnemonic |Meaning
96949694
|0000 |_none_ |Normal Fence
9695-
|1000 |TSO |With `FENCE RW,RW`: exclude write-to-read oxdering; otherwise: _Reserved for future use._
9695+
|1000 |TSO |With `FENCE RW,RW`: exclude write-to-read ordering; otherwise: _Reserved for future use._
96969696
2+|_other_ |_Reserved for future use._
96979697
|===
96989698

96999699
When the mode field _fm_ is `0001` and both the predecessor and successor sets are 'RW',
9700-
then the instruction acts as a special-case xref:insts:fence_tso.adoc#udb:doc:inst:fence_tso[fence.tso]. xref:insts:fence_tso.adoc#udb:doc:inst:fence_tso[fence.tso] oxders all load operations
9700+
then the instruction acts as a special-case xref:insts:fence_tso.adoc#udb:doc:inst:fence_tso[fence.tso]. xref:insts:fence_tso.adoc#udb:doc:inst:fence_tso[fence.tso] orders all load operations
97019701
in its predecessor set before all memory operations in its successor set, and all store operations
97029702
in its predecessor set before all store operations in its successor set. This leaves non-AMO store
9703-
operations in the 'fence.tso's predecessor set unoxdered with non-AMO loads in its successor set.
9703+
operations in the 'fence.tso's predecessor set unordered with non-AMO loads in its successor set.
97049704

97059705
When mode field _fm_ is not `0001`, or when mode field _fm_ is `0001` but the _pred_ and
97069706
_succ_ fields are not both 'RW' (0x3), then the fence acts as a baseline fence (_e.g._, _fm_ is
@@ -37910,7 +37910,7 @@ vsetvli xd, xs1, vtypei
3791037910
Encoding::
3791137911
[wavedrom, ,svg,subs='attributes',width="100%"]
3791237912
....
37913-
{"reg":[{"bits":7,"name": 0x57,"type":2},{"bits":5,"name": "xd","type":4},{"bits":3,"name": 0x7,"type":2},{"bits":5,"name": "xs1","type":4},{"bits":11,"name": "xs1","type":4},{"bits":1,"name": 0x0,"type":2}]}
37913+
{"reg":[{"bits":7,"name": 0x57,"type":2},{"bits":5,"name": "xd","type":4},{"bits":3,"name": 0x7,"type":2},{"bits":5,"name": "xs1","type":4},{"bits":11,"name": "zimm","type":4},{"bits":1,"name": 0x0,"type":2}]}
3791437914
....
3791537915

3791637916
Description::
@@ -37921,7 +37921,7 @@ Decode Variables::
3792137921
[width="100%", cols="1,2", options="header"]
3792237922
|===
3792337923
|Variable Name |Location
37924-
|xs1 |$encoding[30:20]
37924+
|zimm |$encoding[30:20]
3792537925
|xs1 |$encoding[19:15]
3792637926
|xd |$encoding[11:7]
3792737927
|===

0 commit comments

Comments
 (0)