Skip to content

feat: add rv64im transpiler#2448

Merged
876pol merged 4 commits intodevelop-v1.8.0from
rv64-transpiler-final-update
Mar 3, 2026
Merged

feat: add rv64im transpiler#2448
876pol merged 4 commits intodevelop-v1.8.0from
rv64-transpiler-final-update

Conversation

@876pol
Copy link
Copy Markdown
Contributor

@876pol 876pol commented Feb 20, 2026

Resolves INT-6044.

Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

  • Code that was hardcoded for RV32 has been changed to RV64.
  • rrs-lib was removed as a dependency, and all crates now use crates/toolchain/decoder.
  • Some tests have been added to test the RV64 transpiler, but these tests are still messy -- this will be fixed in the ticket involving the integration tests for the full toolchain and interpreter flow.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can delete the rv32im transpiler

Copy link
Copy Markdown
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after fixing typo

876pol added a commit that referenced this pull request Mar 3, 2026
…64im (#2446)

Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

- Some files related to the decoding of RV32 are copied from
https://github.com/GregAC/rrs/tree/main/rrs-lib/src to
`crates/toolchain/decoder`.
- Everything in `extensions/rv32im/transpiler` has been copied to
`extensions/rv64im/transpiler`.
@876pol 876pol force-pushed the rv64-transpiler-update-rrs-lib branch from a24d5b5 to 9e0aeae Compare March 3, 2026 15:11
876pol added a commit that referenced this pull request Mar 3, 2026
Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

- Support for decoding of RV64.
Base automatically changed from rv64-transpiler-update-rrs-lib to develop-v1.8.0 March 3, 2026 15:14
@876pol 876pol force-pushed the rv64-transpiler-final-update branch from c2cabfc to b36df38 Compare March 3, 2026 15:17
@876pol 876pol merged commit ed91337 into develop-v1.8.0 Mar 3, 2026
26 of 59 checks passed
@876pol 876pol deleted the rv64-transpiler-final-update branch March 3, 2026 15:17
876pol added a commit that referenced this pull request Mar 3, 2026
…fix compilation errors (#2457)

Resolves INT-6318.

Summary:

- The `extensions/rv32im` has been moved to `extensions/riscv`.
- The old `extensions/rv32im/transpiler` module has been entirely
deleted and replaced with the transpiler module created in
#2448.
- Many objects prefixed with `Rv32` are renamed to start with `Rv64`. A
list of these objects can be found in
https://docs.google.com/document/d/1mZTHk7n2LY-N1WMrjzn_BZmSYtP4PGnflH97Xjrs9EY/edit?tab=t.0.
shuklaayush pushed a commit that referenced this pull request Apr 27, 2026
…64im (#2446)

Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

- Some files related to the decoding of RV32 are copied from
https://github.com/GregAC/rrs/tree/main/rrs-lib/src to
`crates/toolchain/decoder`.
- Everything in `extensions/rv32im/transpiler` has been copied to
`extensions/rv64im/transpiler`.
shuklaayush pushed a commit that referenced this pull request Apr 27, 2026
Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

- Support for decoding of RV64.
shuklaayush pushed a commit that referenced this pull request Apr 27, 2026
Resolves INT-6044.

Transpiler PRs should be reviewed in this order: #2446, #2447, #2448.

Summary of this PR:

- Code that was hardcoded for RV32 has been changed to RV64.
- `rrs-lib` was removed as a dependency, and all crates now use
`crates/toolchain/decoder`.
- Some tests have been added to test the RV64 transpiler, but these
tests are still messy -- this will be fixed in the ticket involving the
integration tests for the full toolchain and interpreter flow.
shuklaayush pushed a commit that referenced this pull request Apr 27, 2026
…fix compilation errors (#2457)

Resolves INT-6318.

Summary:

- The `extensions/rv32im` has been moved to `extensions/riscv`.
- The old `extensions/rv32im/transpiler` module has been entirely
deleted and replaced with the transpiler module created in
#2448.
- Many objects prefixed with `Rv32` are renamed to start with `Rv64`. A
list of these objects can be found in
https://docs.google.com/document/d/1mZTHk7n2LY-N1WMrjzn_BZmSYtP4PGnflH97Xjrs9EY/edit?tab=t.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants