Skip to content

Commit

Permalink
py/asmrv32: Add RISC-V RV32IMC native code emitter.
Browse files Browse the repository at this point in the history
This adds a native code generation backend for RISC-V RV32I CPUs, currently
limited to the I, M, and C instruction sets.

Signed-off-by: Alessandro Gatti <[email protected]>
  • Loading branch information
agatti authored and dpgeorge committed Jun 21, 2024
1 parent 5a778eb commit 8338f66
Show file tree
Hide file tree
Showing 11 changed files with 1,152 additions and 3 deletions.
1 change: 1 addition & 0 deletions py/asmbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#define MICROPY_INCLUDED_PY_ASMBASE_H

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#define MP_ASM_PASS_COMPUTE (1)
Expand Down
Loading

0 comments on commit 8338f66

Please sign in to comment.