Skip to content

[spec] Bugs / questions about VLOAD in Wasm 2.0 #2244

Description

@zilinc

In the Wasm 2.0 spectec specification, the instruction VLOAD can optionally take a vloadop: https://github.com/WebAssembly/spec/blob/main/specification/wasm-2.0/1-syntax.spectec#L510
but I can't find its counterpart in the manually written spec.
There isn't a relevant typing rule for the eps case, but there're reduction rules for it: https://github.com/WebAssembly/spec/blob/main/specification/wasm-2.0/8-reduction.spectec#L505-L511

So we'd like to get some clarification on this discrepancy.

Incidentally, I think the show hints in this block are all wrong---they all take one more argument marker %: https://github.com/WebAssembly/spec/blob/main/specification/wasm-2.0/1-syntax.spectec#L506-L513

(cc: @maximelegoupil)

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