Skip to content

sexpr-wasm can't commute align= offset= #17

Closed

Description

@jfbastien

Some of the torture tests fail with this because s2wasm emits them in the opposite order as wasmate, e.g.:

(f64.store align=1 offset=8 (i32.const 0) (f64.const 0))

It would be good to also update store-offset.txt adn load-offset.txt, as well as make sure that the spec repo has the same tests.

s2wasm_known_gcc_test_failures.txt has a list of expected failures. I don't run it on the bots yet (will add this afternoon), to repro:

/s/wasm/experimental/buildbot/assemble_files.py --assembler /s/wasm/experimental/buildbot/work/sexpr-wasm-prototype/out/sexpr-wasm --files /s/wasm/experimental/buildbot/work/s2wasm-out/\*.wast --fails /s/wasm/experimental/buildbot/work/sexpr-wasm-prototype/s2wasm_known_gcc_test_failures.txt --out /s/wasm/experimental/buildbot/work/sexpr-wasm-out/

Activity

  1. binji commented on Jan 5, 2016

    @binji
    Member

    sexpr-wasm matches the spec repo. See https://github.com/WebAssembly/spec/blob/master/ml-proto/host/parser.mly#L252. Maybe s2wasm should emit them in the correct order. 😄

  2. binji commented on Feb 24, 2016

    @binji
    Member

    Closing, sounds like we've decided on having a fixed order.

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