afonso360 requested wasmtime-default-reviewers for a review on PR #6924.
afonso360 requested elliottt for a review on PR #6924.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #6924.
afonso360 edited PR #6924:
:wave: Hey,
This PR implements the floating point conversion instructions (
fvdemote
,fvpromote_low
,fcvt_{to,from}_{u,s}int{,_sat}
) on the RISC-V backend.All of the underlying instructions were implemented in #6920, so we don't need to introduce new ones.
:tada: With this PR we now have SIMD fully implemented for RISC-V:tada:
There is 1 test that is not passing yet, but I think that is due to a NaN payload bit mismatch that is allowed by the spec. But I'm going to open a separate issue to confirm that.
(This PR is built on top of #6920 so we need to merge that one first)
afonso360 opened PR #6924 from afonso360:riscv-simd-ftoi
to bytecodealliance:main
:
:wave: Hey,
This PR implements the floating point conversion instructions (
fvdemote
,fvpromote_low
,fcvt_{to,from}_{u,s}int{,_sat}
) on the RISC-V backend.All of the underlying instructions were implemented in #6920, so we don't need to introduce new ones.
:tada: With this PR we now have SIMD fully implemented for RISC-V:tada:
There is 1 test that is not passing yet, but I think that is due to a NaN payload bit mismatch that is allowed by the spec. But I'm going to open a separate issue to confirm that.
(This PR is built on top of #6920 so we need to merge that one first)
afonso360 edited PR #6924:
:wave: Hey,
This PR implements the floating point conversion instructions (
fvdemote
,fvpromote_low
,fcvt_{to,from}_{u,s}int{,_sat}
) on the RISC-V backend.All of the underlying instructions were implemented in #6920, so we don't need to introduce new ones.
Almost all instructions match 1-to-1 with the WASM spec, except
fcvt_to_{u,s}int_sat
, where NaN's need to be manually zeroed out. And onfvdemote
RISC-V leaves the upper lanes undefined, so we also zero them out manually.
:tada: With this PR we now have SIMD fully implemented for RISC-V:tada:
There is 1 test that is not passing yet, but I think that is due to a NaN payload bit mismatch that is allowed by the spec. But I'm going to open a separate issue to confirm that.
(This PR is built on top of #6920 so we need to merge that one first)
afonso360 updated PR #6924.
afonso360 edited PR #6924:
:wave: Hey,
This PR implements the floating point conversion instructions (
fvdemote
,fvpromote_low
,fcvt_{to,from}_{u,s}int{,_sat}
) on the RISC-V backend.Almost all instructions match 1-to-1 with the WASM spec, except
fcvt_to_{u,s}int_sat
, where NaN's need to be manually zeroed out. And onfvdemote
RISC-V leaves the upper lanes undefined, so we also zero them out manually.
:tada: With this PR we now have SIMD fully implemented for RISC-V:tada:
There is 1 test that is not passing yet, but I think that is due to a NaN payload bit mismatch that is allowed by the spec. But I'm going to open a separate issue to confirm that.
(This PR is built on top of #6920 so we need to merge that one first)
alexcrichton submitted PR review:
:confetti: nice!
You've done quite a lot of work on this backend and it's very much appreciated, thank you!
alexcrichton has enabled auto merge for PR #6924.
alexcrichton merged PR #6924.
Last updated: Nov 22 2024 at 16:03 UTC