Stream: git-wasmtime

Topic: wasmtime / issue #4141 Cranelift: division/remainder CLIF...


view this post on Zulip Wasmtime GitHub notifications bot (May 11 2022 at 18:15):

bjorn3 commented on issue #4141:

Cranelift not supporting them means cg_clif has to polyfill them even if the backend could technically support them: https://github.com/bjorn3/rustc_codegen_cranelift/blob/343c532f4f8bda436bf75250f9eb06d5aee245b4/src/intrinsics/simd.rs#L276

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2022 at 18:45):

cfallin commented on issue #4141:

@bjorn3 you're welcome to contribute implementations to the backends, as always! Sometimes decisions like this have to be made on the basis of how much work something would take, and the folks available to do it; Cranelift cannot always achieve "every possible feature is supported" even if it would be nice. I'd be happy to review PRs from anyone who wants to fill this gap.

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2022 at 18:52):

bjorn3 commented on issue #4141:

I guess so. Maybe I will open a PR once I actually start to use vector instructions everywhere in cg_clif.


Last updated: Nov 22 2024 at 17:03 UTC