Home

Errors: 23

Warnings: 0

Successes: 74


br.wast

{"type":"module","line":3,"filename":"br.0.wasm"}

loaded

{"type":"assert_return","line":372,"action":{"type":"invoke","field":"type-i32"}}
(assert_return (invoke "type-i32"))

ok, result

{"type":"assert_return","line":373,"action":{"type":"invoke","field":"type-i64"}}
(assert_return (invoke "type-i64"))

ok, result

{"type":"assert_return","line":374,"action":{"type":"invoke","field":"type-f32"}}
(assert_return (invoke "type-f32"))

ok, result

{"type":"assert_return","line":375,"action":{"type":"invoke","field":"type-f64"}}
(assert_return (invoke "type-f64"))

ok, result

{"type":"assert_return","line":376,"action":{"type":"invoke","field":"type-i32-i32"}}
(assert_return (invoke "type-i32-i32"))

ok, result

{"type":"assert_return","line":377,"action":{"type":"invoke","field":"type-i64-i64"}}
(assert_return (invoke "type-i64-i64"))

ok, result

{"type":"assert_return","line":378,"action":{"type":"invoke","field":"type-f32-f32"}}
(assert_return (invoke "type-f32-f32"))

ok, result

{"type":"assert_return","line":379,"action":{"type":"invoke","field":"type-f64-f64"}}
(assert_return (invoke "type-f64-f64"))

ok, result

{"type":"assert_return","line":381,"action":{"type":"invoke","field":"type-i32-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "type-i32-value") (i32.const 1))

ok, result

{"type":"assert_return","line":382,"action":{"type":"invoke","field":"type-i64-value"},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "type-i64-value") (i64.const 2))

ok, result

{"type":"assert_return","line":383,"action":{"type":"invoke","field":"type-f32-value"},"expected":[{"type":"f32","value":"1077936128"}]}
(assert_return (invoke "type-f32-value") (f32.const 3))

ok, result

{"type":"assert_return","line":384,"action":{"type":"invoke","field":"type-f64-value"},"expected":[{"type":"f64","value":"4616189618054758400"}]}
(assert_return (invoke "type-f64-value") (f64.const 4))

error, wrong result, expected 4616189618054758400, got 4160

{"type":"assert_return","line":385,"action":{"type":"invoke","field":"type-f64-f64-value"},"expected":[{"type":"f64","value":"4616189618054758400"},{"type":"f64","value":"4617315517961601024"}]}
(assert_return (invoke "type-f64-f64-value") (f64.const 4) (f64.const 5))

error, wrong result, expected 4616189618054758400, got 4160

{"type":"assert_return","line":387,"action":{"type":"invoke","field":"as-block-first"}}
(assert_return (invoke "as-block-first"))

ok, result

{"type":"assert_return","line":388,"action":{"type":"invoke","field":"as-block-mid"}}
(assert_return (invoke "as-block-mid"))

ok, result

{"type":"assert_return","line":389,"action":{"type":"invoke","field":"as-block-last"}}
(assert_return (invoke "as-block-last"))

ok, result

{"type":"assert_return","line":390,"action":{"type":"invoke","field":"as-block-value"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-block-value") (i32.const 2))

ok, result

{"type":"assert_return","line":392,"action":{"type":"invoke","field":"as-loop-first"},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-loop-first") (i32.const 3))

ok, result

{"type":"assert_return","line":393,"action":{"type":"invoke","field":"as-loop-mid"},"expected":[{"type":"i32","value":"4"}]}
(assert_return (invoke "as-loop-mid") (i32.const 4))

ok, result

{"type":"assert_return","line":394,"action":{"type":"invoke","field":"as-loop-last"},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-loop-last") (i32.const 5))

ok, result

{"type":"assert_return","line":396,"action":{"type":"invoke","field":"as-br-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "as-br-value") (i32.const 9))

ok, result

{"type":"assert_return","line":398,"action":{"type":"invoke","field":"as-br_if-cond"}}
(assert_return (invoke "as-br_if-cond"))

ok, result

{"type":"assert_return","line":399,"action":{"type":"invoke","field":"as-br_if-value"},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "as-br_if-value") (i32.const 8))

ok, result

{"type":"assert_return","line":400,"action":{"type":"invoke","field":"as-br_if-value-cond"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "as-br_if-value-cond") (i32.const 9))

ok, result

{"type":"assert_return","line":402,"action":{"type":"invoke","field":"as-br_table-index"}}
(assert_return (invoke "as-br_table-index"))

ok, result

{"type":"assert_return","line":403,"action":{"type":"invoke","field":"as-br_table-value"},"expected":[{"type":"i32","value":"10"}]}
(assert_return (invoke "as-br_table-value") (i32.const 10))

ok, result

{"type":"assert_return","line":404,"action":{"type":"invoke","field":"as-br_table-value-index"},"expected":[{"type":"i32","value":"11"}]}
(assert_return (invoke "as-br_table-value-index") (i32.const 11))

ok, result

{"type":"assert_return","line":406,"action":{"type":"invoke","field":"as-return-value"},"expected":[{"type":"i64","value":"7"}]}
(assert_return (invoke "as-return-value") (i64.const 7))

ok, result

{"type":"assert_return","line":407,"action":{"type":"invoke","field":"as-return-values"},"expected":[{"type":"i32","value":"2"},{"type":"i64","value":"7"}]}
(assert_return (invoke "as-return-values") (i32.const 2) (i64.const 7))

ok, result

{"type":"assert_return","line":409,"action":{"type":"invoke","field":"as-if-cond"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-if-cond") (i32.const 2))

ok, result

{"type":"assert_return","line":410,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-if-then" (i32.const 1) (i32.const 6)) (i32.const 3))

ok, result

{"type":"assert_return","line":411,"action":{"type":"invoke","field":"as-if-then","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-then" (i32.const 0) (i32.const 6)) (i32.const 6))

ok, result

{"type":"assert_return","line":412,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"4"}]}
(assert_return (invoke "as-if-else" (i32.const 0) (i32.const 6)) (i32.const 4))

ok, result

{"type":"assert_return","line":413,"action":{"type":"invoke","field":"as-if-else","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-else" (i32.const 1) (i32.const 6)) (i32.const 6))

ok, result

{"type":"assert_return","line":415,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-select-first" (i32.const 0) (i32.const 6)) (i32.const 5))

ok, result

{"type":"assert_return","line":416,"action":{"type":"invoke","field":"as-select-first","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"5"}]}
(assert_return (invoke "as-select-first" (i32.const 1) (i32.const 6)) (i32.const 5))

ok, result

{"type":"assert_return","line":417,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"0"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-select-second" (i32.const 0) (i32.const 6)) (i32.const 6))

ok, result

{"type":"assert_return","line":418,"action":{"type":"invoke","field":"as-select-second","args":[{"type":"i32","value":"1"},{"type":"i32","value":"6"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-select-second" (i32.const 1) (i32.const 6)) (i32.const 6))

ok, result

{"type":"assert_return","line":419,"action":{"type":"invoke","field":"as-select-cond"},"expected":[{"type":"i32","value":"7"}]}
(assert_return (invoke "as-select-cond") (i32.const 7))

ok, result

{"type":"assert_return","line":420,"action":{"type":"invoke","field":"as-select-all"},"expected":[{"type":"i32","value":"8"}]}
(assert_return (invoke "as-select-all") (i32.const 8))

ok, result

{"type":"assert_return","line":422,"action":{"type":"invoke","field":"as-call-first"},"expected":[{"type":"i32","value":"12"}]}
(assert_return (invoke "as-call-first") (i32.const 12))

ok, result

{"type":"assert_return","line":423,"action":{"type":"invoke","field":"as-call-mid"},"expected":[{"type":"i32","value":"13"}]}
(assert_return (invoke "as-call-mid") (i32.const 13))

ok, result

{"type":"assert_return","line":424,"action":{"type":"invoke","field":"as-call-last"},"expected":[{"type":"i32","value":"14"}]}
(assert_return (invoke "as-call-last") (i32.const 14))

ok, result

{"type":"assert_return","line":425,"action":{"type":"invoke","field":"as-call-all"},"expected":[{"type":"i32","value":"15"}]}
(assert_return (invoke "as-call-all") (i32.const 15))

ok, result

{"type":"assert_return","line":427,"action":{"type":"invoke","field":"as-call_indirect-func"},"expected":[{"type":"i32","value":"20"}]}
(assert_return (invoke "as-call_indirect-func") (i32.const 20))

ok, result

{"type":"assert_return","line":428,"action":{"type":"invoke","field":"as-call_indirect-first"},"expected":[{"type":"i32","value":"21"}]}
(assert_return (invoke "as-call_indirect-first") (i32.const 21))

ok, result

{"type":"assert_return","line":429,"action":{"type":"invoke","field":"as-call_indirect-mid"},"expected":[{"type":"i32","value":"22"}]}
(assert_return (invoke "as-call_indirect-mid") (i32.const 22))

ok, result

{"type":"assert_return","line":430,"action":{"type":"invoke","field":"as-call_indirect-last"},"expected":[{"type":"i32","value":"23"}]}
(assert_return (invoke "as-call_indirect-last") (i32.const 23))

ok, result

{"type":"assert_return","line":431,"action":{"type":"invoke","field":"as-call_indirect-all"},"expected":[{"type":"i32","value":"24"}]}
(assert_return (invoke "as-call_indirect-all") (i32.const 24))

ok, result

{"type":"assert_return","line":433,"action":{"type":"invoke","field":"as-local.set-value"},"expected":[{"type":"i32","value":"17"}]}
(assert_return (invoke "as-local.set-value") (i32.const 17))

ok, result

{"type":"assert_return","line":434,"action":{"type":"invoke","field":"as-local.tee-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-local.tee-value") (i32.const 1))

ok, result

{"type":"assert_return","line":435,"action":{"type":"invoke","field":"as-global.set-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-global.set-value") (i32.const 1))

ok, result

{"type":"assert_return","line":437,"action":{"type":"invoke","field":"as-load-address"},"expected":[{"type":"f32","value":"1071225242"}]}
(assert_return (invoke "as-load-address") (f32.const 1.7))

ok, result

{"type":"assert_return","line":438,"action":{"type":"invoke","field":"as-loadN-address"},"expected":[{"type":"i64","value":"30"}]}
(assert_return (invoke "as-loadN-address") (i64.const 30))

ok, result

{"type":"assert_return","line":440,"action":{"type":"invoke","field":"as-store-address"},"expected":[{"type":"i32","value":"30"}]}
(assert_return (invoke "as-store-address") (i32.const 30))

ok, result

{"type":"assert_return","line":441,"action":{"type":"invoke","field":"as-store-value"},"expected":[{"type":"i32","value":"31"}]}
(assert_return (invoke "as-store-value") (i32.const 31))

ok, result

{"type":"assert_return","line":442,"action":{"type":"invoke","field":"as-store-both"},"expected":[{"type":"i32","value":"32"}]}
(assert_return (invoke "as-store-both") (i32.const 32))

ok, result

{"type":"assert_return","line":443,"action":{"type":"invoke","field":"as-storeN-address"},"expected":[{"type":"i32","value":"32"}]}
(assert_return (invoke "as-storeN-address") (i32.const 32))

ok, result

{"type":"assert_return","line":444,"action":{"type":"invoke","field":"as-storeN-value"},"expected":[{"type":"i32","value":"33"}]}
(assert_return (invoke "as-storeN-value") (i32.const 33))

ok, result

{"type":"assert_return","line":445,"action":{"type":"invoke","field":"as-storeN-both"},"expected":[{"type":"i32","value":"34"}]}
(assert_return (invoke "as-storeN-both") (i32.const 34))

ok, result

{"type":"assert_return","line":447,"action":{"type":"invoke","field":"as-unary-operand"},"expected":[{"type":"f32","value":"1079613850"}]}
(assert_return (invoke "as-unary-operand") (f32.const 3.4))

error, wrong result, expected 1079613850, got 1079613849

{"type":"assert_return","line":449,"action":{"type":"invoke","field":"as-binary-left"},"expected":[{"type":"i32","value":"3"}]}
(assert_return (invoke "as-binary-left") (i32.const 3))

ok, result

{"type":"assert_return","line":450,"action":{"type":"invoke","field":"as-binary-right"},"expected":[{"type":"i64","value":"45"}]}
(assert_return (invoke "as-binary-right") (i64.const 45))

ok, result

{"type":"assert_return","line":451,"action":{"type":"invoke","field":"as-binary-both"},"expected":[{"type":"i32","value":"46"}]}
(assert_return (invoke "as-binary-both") (i32.const 46))

ok, result

{"type":"assert_return","line":453,"action":{"type":"invoke","field":"as-test-operand"},"expected":[{"type":"i32","value":"44"}]}
(assert_return (invoke "as-test-operand") (i32.const 44))

ok, result

{"type":"assert_return","line":455,"action":{"type":"invoke","field":"as-compare-left"},"expected":[{"type":"i32","value":"43"}]}
(assert_return (invoke "as-compare-left") (i32.const 43))

ok, result

{"type":"assert_return","line":456,"action":{"type":"invoke","field":"as-compare-right"},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "as-compare-right") (i32.const 42))

ok, result

{"type":"assert_return","line":457,"action":{"type":"invoke","field":"as-compare-both"},"expected":[{"type":"i32","value":"44"}]}
(assert_return (invoke "as-compare-both") (i32.const 44))

ok, result

{"type":"assert_return","line":459,"action":{"type":"invoke","field":"as-convert-operand"},"expected":[{"type":"i32","value":"41"}]}
(assert_return (invoke "as-convert-operand") (i32.const 41))

ok, result

{"type":"assert_return","line":461,"action":{"type":"invoke","field":"as-memory.grow-size"},"expected":[{"type":"i32","value":"40"}]}
(assert_return (invoke "as-memory.grow-size") (i32.const 40))

ok, result

{"type":"assert_return","line":463,"action":{"type":"invoke","field":"nested-block-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-block-value") (i32.const 9))

ok, result

{"type":"assert_return","line":464,"action":{"type":"invoke","field":"nested-br-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br-value") (i32.const 9))

ok, result

{"type":"assert_return","line":465,"action":{"type":"invoke","field":"nested-br_if-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value") (i32.const 9))

ok, result

{"type":"assert_return","line":466,"action":{"type":"invoke","field":"nested-br_if-value-cond"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_if-value-cond") (i32.const 9))

ok, result

{"type":"assert_return","line":467,"action":{"type":"invoke","field":"nested-br_table-value"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value") (i32.const 9))

ok, result

{"type":"assert_return","line":468,"action":{"type":"invoke","field":"nested-br_table-value-index"},"expected":[{"type":"i32","value":"9"}]}
(assert_return (invoke "nested-br_table-value-index") (i32.const 9))

ok, result

{"type":"assert_invalid","line":471,"filename":"br.1.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":478,"filename":"br.2.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":484,"filename":"br.3.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":490,"filename":"br.4.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":497,"filename":"br.5.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":506,"filename":"br.6.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":515,"filename":"br.7.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":524,"filename":"br.8.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":535,"filename":"br.9.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":546,"filename":"br.10.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":558,"filename":"br.11.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":574,"filename":"br.12.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":586,"filename":"br.13.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":598,"filename":"br.14.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":610,"filename":"br.15.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":622,"filename":"br.16.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":634,"filename":"br.17.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":647,"filename":"br.18.wasm","text":"unknown label"}

expected error

{"type":"assert_invalid","line":651,"filename":"br.19.wasm","text":"unknown label"}

expected error

{"type":"assert_invalid","line":655,"filename":"br.20.wasm","text":"unknown label"}

expected error

Generated at 2024-09-05T14:37:34