minirop opened PR #9810 from minirop:pulley-fcopysign to bytecodealliance:main:
I made test
issue4890.wastpass 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.rsto flag the test as now-passing.- Update
pulley/src/interp/float_ext.rsto have a#![no_std]implementation ofcopysign. For that you should be able to uselibm::copysignandlibm::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 06 2025 at 06:05 UTC