afonso360 opened PR #6985 from afonso360:interp-fix-some-simd-ops
to bytecodealliance:main
:
:wave: Hey,
This PR fixes the
v{all,any}_true
andvhigh_bits
for floats in the cranelift interpreter. Since these are all bitwise operations, the fix was similar for all of them, convert the type to an equivalent sized integer type and proceed with the operation as normal.Additionally this PR also restricts the return types for
vhigh_bits
down to scalar integers. It currently allows returning SIMD integer types which looks like an oversight since it clearly states that it returns a scalar integer in the docs. (Let me know if you'd like me to pull this into a separate PR)Finally, these instructions are also enabled in the fuzzgen fuzzer.
afonso360 requested cfallin for a review on PR #6985.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #6985.
Last updated: Nov 22 2024 at 16:03 UTC