Skip to content

Commit 8338f66

Browse files
agattidpgeorge
authored andcommitted
py/asmrv32: Add RISC-V RV32IMC native code emitter.
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]>
1 parent 5a778eb commit 8338f66

File tree

11 files changed

+1152
-3
lines changed

11 files changed

+1152
-3
lines changed

py/asmbase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#define MICROPY_INCLUDED_PY_ASMBASE_H
2828

2929
#include <stdint.h>
30+
#include <stddef.h>
3031
#include <stdbool.h>
3132

3233
#define MP_ASM_PASS_COMPUTE (1)

0 commit comments

Comments
 (0)