-
Notifications
You must be signed in to change notification settings - Fork 551
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
Wasm SIMD unsupported #2934
Comments
What CPU do you have? |
AMD Athlon(tm) II X3 455 Processor |
We dropped in #2871 the non-simd version of wasm. Now @Simkav is reporting an issue, because his 14 year old processor does not work with wasm simd. Should we revert #2871? |
I think we would need to revert #2871, and possibly ship in v7. @nodejs/build is there a minimum requirement for the CPU of Node.js? Can we expect simd to be there? |
I guess it's the same issue as nodejs/citgm#1050 ? |
power8 platform is under Tier 2 support: https://github.com/nodejs/node/blob/main/BUILDING.md#platform-list |
/cc @richardlau |
Generally there's been no minimum requirement -- in the past it's probably been more dictated by V8. I think Power is the only architecture we currently specify the version for. There's obviously a balancing act around the hardware we have access to in Build and what is obtainable. |
To add to the discussion, another factor is which versions customer still use and are supported by distros, Power 8 is still in enough use that shipping distros support it and we want Node.js to support it. |
In terms of requiring SIMD, would an option be to make that based on platform so that the decision can be made/influenced by those with insight into which cpu levels are in active use or not? |
we had that option and we removed it thinking most CPU in use had SIMD, given than V8 had WASM support for SIMD. We were mistaken. |
Bug Description
When using last version 6.7.0 on request\fetch getting error
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[CompileError: WebAssembly.compile(): Compiling function #66 failed: Wasm SIMD unsupported @+5368]
Reproducible By
npm i undici
call request or fetch function
Expected Behavior
Expect to get response)
Logs & Screenshots
Environment
Ubuntu 22.04.1 LTS
Node 20.11.1 || 18.7.0
undici 6.7.0
Additional context
If using previos version 6.6.2 everything work
The text was updated successfully, but these errors were encountered: