Skip to content

Support BINARYEN_TRAP_MODEs for upstream wasm backend #1143

@dschuff

Description

@dschuff

Currently the implementation of clamping and JS mode for trapping float->int conversions and division is in asm2wasm. But it we should support this functionality with the wasm backend as well. Probably we can just move the implementation from asm2wasm into a Binaryen pass, and support it in s2wasm as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions