diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-07-24 18:03:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 18:03:03 -0700 |
commit | 9f10757fab31ca82ad16f128c14549508e2baf24 (patch) | |
tree | 8259d61f93464a614102ec627ebddd3a914200ea | |
parent | b68cf27cd9da31e0579382cb51969f954a5181a6 (diff) | |
download | riscv-isa-manual-riscv-isa-release-b68cf27-2024-07-25.zip riscv-isa-manual-riscv-isa-release-b68cf27-2024-07-25.tar.gz riscv-isa-manual-riscv-isa-release-b68cf27-2024-07-25.tar.bz2 |
Add missing "else" in SSAMOSWAP pseudocode (#1560)riscv-isa-release-b68cf27-2024-07-25riscv-isa-release-9f10757-2024-07-25
This doesn't change the meaning of the pseudocode because "raise" is presumably
a terminal statement, but it makes the code easier to read.
h/t @tsaiyenting
-rw-r--r-- | src/unpriv-cfi.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unpriv-cfi.adoc b/src/unpriv-cfi.adoc index a700715..ed17e74 100644 --- a/src/unpriv-cfi.adoc +++ b/src/unpriv-cfi.adoc @@ -773,7 +773,7 @@ data values. ---- if privilege_mode != M && menvcfg.SSE == 0 raise illegal-instruction exception - if S-mode not implemented + else if S-mode not implemented raise illegal-instruction exception else if privilege_mode == U && senvcfg.SSE == 0 raise illegal-instruction exception @@ -797,7 +797,7 @@ address in `rs1`. ---- if privilege_mode != M && menvcfg.SSE == 0 raise illegal-instruction exception - if S-mode not implemented + else if S-mode not implemented raise illegal-instruction exception else if privilege_mode == U && senvcfg.SSE == 0 raise illegal-instruction exception |