Skip to content

Add support for Hexagon architecture#4933

Open
androm3da wants to merge 5 commits intobytecodealliance:mainfrom
androm3da:hexagon-upstream-v2
Open

Add support for Hexagon architecture#4933
androm3da wants to merge 5 commits intobytecodealliance:mainfrom
androm3da:hexagon-upstream-v2

Conversation

@androm3da
Copy link
Copy Markdown

No description provided.

@androm3da androm3da force-pushed the hexagon-upstream-v2 branch 2 times, most recently from 839559e to ed70858 Compare May 3, 2026 04:41
androm3da added 2 commits May 3, 2026 07:26
Split V128 memory access (LOAD_V128/STORE_V128) into a separate
three-way guard independent of the scalar unaligned-access flag,
and add a target_supports_unaligned_simd field to AOTCompContext.
Add interpreter and AOT execution support for Qualcomm Hexagon DSP:
invokeNative trampoline, ELF relocation handler with PLT stubs,
wamrc --target=hexagon with auto -small-data, SIMD enablement, and
cross-compilation platform cmake.
@androm3da androm3da force-pushed the hexagon-upstream-v2 branch from da93e51 to 7d9c4ff Compare May 3, 2026 14:27
@androm3da androm3da force-pushed the hexagon-upstream-v2 branch from 7d9c4ff to 9c87a7e Compare May 3, 2026 16:51
androm3da added 2 commits May 3, 2026 19:38
Add E_MACHINE_HEXAGON (164) to the AOT loader's machine type switch
so that Hexagon AOT modules are recognized during loading.
Fix three issues in the spec test harness for qemu-hexagon user-mode:

- runtest.py: handle None return from invoke() on timeout instead of
  crashing with TypeError, and fix undefined variable r.buf -> runner.buf
- all.py: only pass --qemu/--qemu-firmware to runtest.py when firmware
  is set (user-mode QEMU has no firmware); always increase timeouts to
  120s when qemu_flag is active
- test_wamr.sh: always pass --qemu to all.py when -Q is set, not only
  when -F (firmware) is also provided
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.

1 participant