Stream: git-wasmtime

Topic: wasmtime / issue #3336 x64: Different results with simd d...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2021 at 00:06):

alexcrichton opened issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))%

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2021 at 00:06):

alexcrichton labeled issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))%

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2021 at 00:06):

alexcrichton labeled issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))%

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2021 at 00:06):

alexcrichton labeled issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))%

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2021 at 00:06):

alexcrichton labeled issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))%

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 20:34):

alexcrichton edited issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630

view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2021 at 16:13):

alexcrichton commented on issue #3336:

cc @jlb6740

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2021 at 18:01):

fitzgen closed issue #3336:

This input file:

(module
  (type (;0;) (func (result v128)))
  (func (;0;) (type 0) (result v128)
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.abs
    i64x2.bitmask
    i8x16.splat
    v128.const i32x4 0x733c3e67 0x3c3e6776 0x3e677673 0x6776733c
    i64x2.ge_s
    f32x4.floor
    v128.not
    i16x8.extadd_pairwise_i8x16_u)
  (export "x" (func 0)))

currently yields:

$ cargo run -q testcase0.wat --wasm-features all --invoke x --opt-level 0
warning: using `--invoke` with a function that returns values is experimental and may break in the future
0
$ cargo -q run testcase0.wat --wasm-features all --invoke x --opt-level 2
warning: using `--invoke` with a function that returns values is experimental and may break in the future
2648111804832205941349218734877573630


Last updated: Nov 22 2024 at 16:03 UTC