-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebase #30
Rebase #30
Commits on Jun 17, 2024
-
Assembly for hint instructions needs spaces after mnemonics
Signed-off-by: Paul A. Clarke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c72b5b1 - Browse repository at this point
Copy the full SHA c72b5b1View commit details -
Produces JSON representation of instructions, operands, opcode layouts, etc. Not claimed to be exhaustive. Depends on https://github.com/ThinkOpenly/riscvdecode. Signed-off-by: Paul A. Clarke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 532cfca - Browse repository at this point
Copy the full SHA 532cfcaView commit details -
Start tagging extensions uniformly
Also add a few names, descriptions, and formats.
Configuration menu - View commit details
-
Copy full SHA for 383846e - Browse repository at this point
Copy the full SHA 383846eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f11e46f - Browse repository at this point
Copy the full SHA f11e46fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc4f28f - Browse repository at this point
Copy the full SHA dc4f28fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e21590f - Browse repository at this point
Copy the full SHA e21590fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3389eca - Browse repository at this point
Copy the full SHA 3389ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc680e5 - Browse repository at this point
Copy the full SHA cc680e5View commit details -
Use extension discriminator for "A" and "M" extensions
More support for #4. Using the `extension()` function in `mapping clause encdec` expressions for extensions allows a parser to clearly know when a function is part of an extension (or set of extensions).
Configuration menu - View commit details
-
Copy full SHA for edb07a9 - Browse repository at this point
Copy the full SHA edb07a9View commit details -
Added names and descriptions for some instructions in riscv_insts_bas…
…e.sail Added instruction names and descriptions * Adds names for instructions in `riscv_insts_base.sail` using the attributes approach * Descriptions are added to instructions in the same file using the doc comments approach
Configuration menu - View commit details
-
Copy full SHA for 78ba6a6 - Browse repository at this point
Copy the full SHA 78ba6a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for afc175f - Browse repository at this point
Copy the full SHA afc175fView commit details -
[JSON] Suppress command echo to stdout
Currently, when executing `make json`, the command itself is echoed, causing issues with the JSON representation. This PR Suppress this echoing, ensuring a proper JSON output without the need for any manual editing later on.
Configuration menu - View commit details
-
Copy full SHA for 5500f38 - Browse repository at this point
Copy the full SHA 5500f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5afa30e - Browse repository at this point
Copy the full SHA 5afa30eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a85b7fc - Browse repository at this point
Copy the full SHA a85b7fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b03fc7 - Browse repository at this point
Copy the full SHA 3b03fc7View commit details -
Add names for some instructions within groups
Some instructions are grouped in a single `mapping clause assembly` where the respective mnemonics are embedded within a separate `mapping`. For instructions which are _not_ grouped, the name of the instruction can be added as an attribute to any of the instruction-specific constructs. For grouped instructions, the attribute needs to be added to a construct at the granularity of the specific instruction. Here, we attach the attribute within the individual element of the `mapping` that includes the actual instruction mnemonic. This approach is still insufficient for mnemonics that are constructed: ``` mapping clause assembly = VLSEGTYPE(nf, vm, rs1, width, vd) <-> "vl" ^ nfields_string(nf) ^ "e" ^ vlewidth_bitsnumberstr(width) ^ ".v" [...] ``` ...so more thought is needed here. Also, I'm settling on a convention of using lower case (not Leading Caps), at least for now. This matches how the instruction names are written in the ISA specification, at least for those instructions for which the name is actually provided. :-/
Configuration menu - View commit details
-
Copy full SHA for 7335c61 - Browse repository at this point
Copy the full SHA 7335c61View commit details -
Make use of extension() instead of have*()
* Move definition of function of `extension` * Utilize extension() instead of `haveZmmul()` * Utilize extension() instead of `haveUsrMode()` * Utilize extension() instead of `haveSupMode()` * Utilize extension() instead of `haveNExt()` * Utilize extension() instead of `haveZkr()` * Utilize extension() instead of `haveUsrMode()` * Move comments from `have*` functions into `extension` function * Delete all unused `have*` definitions of various extensions Fixes #4 .
Configuration menu - View commit details
-
Copy full SHA for 11a2af8 - Browse repository at this point
Copy the full SHA 11a2af8View commit details -
Add compilation steps to README.md
Authored-by: Joydeep Tripathy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8291be5 - Browse repository at this point
Copy the full SHA 8291be5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aed0935 - Browse repository at this point
Copy the full SHA aed0935View commit details -
GitHub CI is complaining: ``` fix end of files.....................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing doc/JSON.md [...] All changes made by hooks: diff --git a/doc/JSON.md b/doc/JSON.md index 82170ef..fc7f9cc 100644 [...] -4. Within that clone : `make json` \ No newline at end of file +4. Within that clone : `make json` Error: Process completed with exit code 1. ```
Configuration menu - View commit details
-
Copy full SHA for b021578 - Browse repository at this point
Copy the full SHA b021578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f41034 - Browse repository at this point
Copy the full SHA 5f41034View commit details -
Configuration menu - View commit details
-
Copy full SHA for acef250 - Browse repository at this point
Copy the full SHA acef250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e0a892 - Browse repository at this point
Copy the full SHA 9e0a892View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a67bf16 - Browse repository at this point
Copy the full SHA a67bf16View commit details