generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename AUIPCC, CJ* and J* instructions (#104)
Continued renaming of opcodes: - Rename AUIPCC to AUIPC - Rename CJ* to J* and JALR.PCC/JALR.CAP to JALR.MODE - Fix minor issues in C.FSDSP/C.FSDSP introduced in previous commits See #80
- Loading branch information
1 parent
a44de86
commit ce6d9ce
Showing
31 changed files
with
138 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<<< | ||
|
||
[#csetmode] | ||
[#csetmode, reftext="CSETMODE"] | ||
==== CSETMODE | ||
|
||
ifdef::cheri_v9_annotations[] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,38 @@ | ||
<<< | ||
//[#insns-cj_j-16bit,reftext="Conditional branches (C.CJ,C.J), 16-bit encodings"] | ||
|
||
[#C_J,reftext="C.J"] | ||
==== C.J | ||
|
||
See <<C.CJ>>. | ||
|
||
[#C_CJ,reftext="C.CJ"] | ||
==== C.CJ | ||
|
||
Synopsis:: | ||
Register based jumps without link, 16-bit encodings | ||
|
||
Capability Mode Mnemonic:: | ||
`c.cj offset` | ||
Mnemonic:: | ||
`c.j offset` | ||
|
||
Capability Mode Expansion:: | ||
`cjal c0, offset` | ||
|
||
Legacy Mode Mnemonic:: | ||
`c.j offset` | ||
`jal c0, offset` | ||
|
||
Legacy Mode Expansion:: | ||
`jal x0, offset` | ||
|
||
Encoding:: | ||
include::wavedrom/c-cj-format-ls.adoc[] | ||
include::wavedrom/c-j-format-ls.adoc[] | ||
|
||
Description:: | ||
Set the next PC following the standard `jal` definition. | ||
Check a minimum length instruction is in <<pcc>> bounds at the target PC, take a CHERI Length Violation exception on error. | ||
*There is no difference in Capability Mode or Legacy Mode execution for this instruction.* | ||
|
||
Exceptions:: | ||
See <<CJAL>>, <<JAL>> | ||
See <<JAL>> | ||
|
||
include::pcrel_debug_warning.adoc[] | ||
|
||
Prerequisites for C.CJ:: | ||
Prerequisites for Capability Mode:: | ||
{c_cheri_base_ext_names} | ||
|
||
Prerequisites for C.J:: | ||
Prerequisites for Legacy Mode:: | ||
{c_cheri_legacy_ext_names} | ||
|
||
Operation (after expansion to 32-bit encodings):: | ||
See <<CJAL>>, <<JAL>> | ||
See <<JAL>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.