Skip to content

Enable LoongArch target#4037

Open
wenyongh wants to merge 6 commits intobytecodealliance:mainfrom
wenyongh:dev/enable_aot_loongarch
Open

Enable LoongArch target#4037
wenyongh wants to merge 6 commits intobytecodealliance:mainfrom
wenyongh:dev/enable_aot_loongarch

Conversation

@wenyongh
Copy link
Collaborator

Enable LoongArch target for interpreter and AOT, add the basic framework now.
TODO:

  • Implement invokeNative_loongarch.S
  • Implement aot_reloc_loongarch.c

#define EM_M32R 88 /* Renesas M32R */
#define EM_XTENSA 94 /* Tensilica Xtensa */
#define EM_RISCV 243 /* RISC-V */
#define EM_LOONGARCH 253 /* LoongArch */
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be 258

@wenyongh wenyongh marked this pull request as ready for review March 4, 2025 10:52
"repo_ssh": "git@github.com:espressif/llvm-project.git",
"branch": "xtensa_release_17.0.1",
},
"loongarch": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should also add loongarch to --platform option list

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