minirop opened PR #9810 from minirop:pulley-fcopysign
to bytecodealliance:main
:
I made test
issue4890.wast
pass by handlingfcopysign
.cc #9783
minirop requested wasmtime-compiler-reviewers for a review on PR #9810.
minirop requested abrown for a review on PR #9810.
minirop requested wasmtime-default-reviewers for a review on PR #9810.
alexcrichton commented on PR #9810:
Thanks for this! To get past CI I think you'll need two minor changes as well:
- Update
crates/wast-util/src/lib.rs
to flag the test as now-passing.- Update
pulley/src/interp/float_ext.rs
to have a#![no_std]
implementation ofcopysign
. For that you should be able to uselibm::copysign
andlibm::copysignf
alexcrichton requested alexcrichton for a review on PR #9810.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Ah as another comment, mind using
operands: BinaryOperands<FReg>
here? That'll match how other binops work and make this a bit more compact. Additionally mind updating the docs here? (looks copy/pasted from elsewhere)
minirop requested wasmtime-core-reviewers for a review on PR #9810.
minirop requested dicej for a review on PR #9810.
minirop updated PR #9810.
alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #9810.
alexcrichton merged PR #9810.
Last updated: Dec 23 2024 at 13:07 UTC