eagr opened PR #9904 from eagr:16x8-arth
to bytecodealliance:main
:
Helps #9783
eagr requested cfallin for a review on PR #9904.
eagr requested wasmtime-compiler-reviewers for a review on PR #9904.
eagr requested dicej for a review on PR #9904.
eagr requested wasmtime-core-reviewers for a review on PR #9904.
eagr requested wasmtime-default-reviewers for a review on PR #9904.
github-actions[bot] commented on PR #9904:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "pulley"Thus the following users have been cc'd because of the following labels:
- fitzgen: pulley
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton submitted PR review:
Thanks for this!
alexcrichton created PR review comment:
Could this perhaps be written as
*a = (u32::from(a) + u32::from(b) + 1) / 2
? Basically the more classical version of an average which explicitly takes advantage of wider-precision arithmetic to avoid overflow issues.
eagr submitted PR review.
eagr created PR review comment:
instantly convinced :))
eagr updated PR #9904.
eagr updated PR #9904.
eagr updated PR #9904.
alexcrichton merged PR #9904.
Last updated: Jan 24 2025 at 00:11 UTC