cuiweixie opened PR #12843 from cuiweixie:fix/pulley-xdiv32u-trap-opcode to bytecodealliance:main:
Summary
Fix a copy-paste bug in the Pulley interpreter:
xdiv32_ureported divide-by-zero traps with the wrong opcode type parameter (XDiv64Uinstead ofXDiv32U).Testing
- Change is a one-line opcode fix aligned with
xdiv64_uand other 32-bit ops; no behavioral change to trapping itself beyond correct trap metadata.
cuiweixie requested cfallin for a review on PR #12843.
cuiweixie requested wasmtime-default-reviewers for a review on PR #12843.
github-actions[bot] added the label pulley on PR #12843.
github-actions[bot] commented on PR #12843:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "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>
cfallin submitted PR review:
Thanks!
cfallin added PR #12843 pulley: fix XDiv32U opcode in xdiv32_u divide-by-zero trap to the merge queue.
cfallin merged PR #12843.
cfallin removed PR #12843 pulley: fix XDiv32U opcode in xdiv32_u divide-by-zero trap from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC