Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LLVM relocations and SIMD operations on aarch64 #5196

Closed
xdoardo opened this issue Oct 30, 2024 — with Linear · 0 comments · Fixed by #5207 or #5210
Closed

Fix LLVM relocations and SIMD operations on aarch64 #5196

xdoardo opened this issue Oct 30, 2024 — with Linear · 0 comments · Fixed by #5207 or #5210
Assignees
Labels
bug Something isn't working 📦 lib-compiler-llvm About wasmer-compiler-llvm

Comments

Copy link
Contributor

xdoardo commented Oct 30, 2024

Some of the required relocations for LLVM on aarch64 (ELF) are missing. Furthermore, some of the WAST tests related to SIMD instructions fail, for example:

--- STDERR:              wasmer-workspace::compilers wast::spec::simd_lane::llvm::universal ---
Error: Failed directives on tests/wast/spec/simd_lane.wast:
  • expected Core(V128(I8x16([0, 0, 0, 0, 0, 0, 0, 0, -16, -16, -16, -16, -16, -16, -16, -16]))), got I8x16([0, 0, 0, -13, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) (v128 bits: 3302611746816) (357:1)
  • expected Core(V128(I8x16([85, -1, 85, -1, 85, -1, 85, -1, 85, -1, 85, -1, 85, -1, 85, -1]))), got I8x16([0, 0, 0, 0, 0, 85, 85, 0, 0, 85, -1, 0, -1, 0, 85, 0]) (v128 bits: 441365436465578971007971732593049600) (696:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 📦 lib-compiler-llvm About wasmer-compiler-llvm
Projects
None yet
1 participant