Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: refactor instruction encoding macros
This commit replaces `TR_RISCV_?TYPE()` macros with (inline) functions and provide overloaded versions for easier use. This provides a nicer instruction encoding interface for encoding snippets. Signed-off-by: Jan Vrany <jan.vrany@fit.cvut.cz>
- Loading branch information
Showing
2 changed files
with
95 additions
and
44 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