-
Notifications
You must be signed in to change notification settings - Fork 729
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
wasm2c/spec/simd_address.txt fails on non-x86 #2240
Comments
Thanks as always for these reports! I think this particular one is expected and "disclosed" here: https://github.com/WebAssembly/wabt/blob/main/src/template/wasm2c_simd.declarations.c#L6 The root issue here is that:
Would happily take a contribution of the appropriate asm for aarch64 (possibly "w" per https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html) if somebody is able to test and say it works... I do wish we had CI tests on aarch64 given the interest in this architecture. |
Should we update the TODO such that it will #warning or #error when building on unsupported arch? Also, I guess we should skip these tests on those platforms too.. |
@rathann do you actually care about using the SIMD support in wasm2c on arm64 or are you just interested in getting the tests to pass? |
Personally, it's the latter. We do have a growing interest in WebAssembly in Fedora, so others might actually be interested. I'll ask the other SIG members. |
I see this on ppc64le and s390x, too. |
Looks like this is fixed on s390x, now that I'm running the tests using |
indeed, s390x doesn't use guard pages and falls back to range checking, while this issue only occurs with guard pages. #2545 would fix it everywhere. |
When running the test suite of wabt-1.0.33 on aarch64 on Fedora 38, I get this (new) test failure:
The text was updated successfully, but these errors were encountered: