Skip to content

How can I disable sign-extension opcode #19121

Description

@cardinalblues7

Hi I'm currently working on a project which has a custom wasm loader, it does not have support for sign-extension.When I compiled my code to wasm and instantiate with its loader, it showed error message like : invalid opcode 192, which pointed to sign-extension. After some googling I found that I could add -mno-sign-ext to disable sign extension.But when I do, the generated wasm still has opcode like i32.extends_8. My question is , how do I completely disable this family of the opcodes, or at least get a warning about its location. Thank you in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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