{"type":"module","line":1,"filename":"endianness.0.wasm"}
loaded
{"type":"assert_return","line":133,"action":{"type":"invoke","field":"i32_load16_s","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"4294967295"}]}
(assert_return (invoke "i32_load16_s" (i32.const -1)) (i32.const -1))
ok, result
{"type":"assert_return","line":134,"action":{"type":"invoke","field":"i32_load16_s","args":[{"type":"i32","value":"4294963054"}]},"expected":[{"type":"i32","value":"4294963054"}]}
(assert_return (invoke "i32_load16_s" (i32.const -4242)) (i32.const -4242))
ok, result
{"type":"assert_return","line":135,"action":{"type":"invoke","field":"i32_load16_s","args":[{"type":"i32","value":"42"}]},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "i32_load16_s" (i32.const 42)) (i32.const 42))
ok, result
{"type":"assert_return","line":136,"action":{"type":"invoke","field":"i32_load16_s","args":[{"type":"i32","value":"12816"}]},"expected":[{"type":"i32","value":"12816"}]}
(assert_return (invoke "i32_load16_s" (i32.const 0x3210)) (i32.const 0x3210))
ok, result
{"type":"assert_return","line":138,"action":{"type":"invoke","field":"i32_load16_u","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"65535"}]}
(assert_return (invoke "i32_load16_u" (i32.const -1)) (i32.const 0xFFFF))
ok, result
{"type":"assert_return","line":139,"action":{"type":"invoke","field":"i32_load16_u","args":[{"type":"i32","value":"4294963054"}]},"expected":[{"type":"i32","value":"61294"}]}
(assert_return (invoke "i32_load16_u" (i32.const -4242)) (i32.const 61294))
ok, result
{"type":"assert_return","line":140,"action":{"type":"invoke","field":"i32_load16_u","args":[{"type":"i32","value":"42"}]},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "i32_load16_u" (i32.const 42)) (i32.const 42))
ok, result
{"type":"assert_return","line":141,"action":{"type":"invoke","field":"i32_load16_u","args":[{"type":"i32","value":"51966"}]},"expected":[{"type":"i32","value":"51966"}]}
(assert_return (invoke "i32_load16_u" (i32.const 0xCAFE)) (i32.const 0xCAFE))
ok, result
{"type":"assert_return","line":143,"action":{"type":"invoke","field":"i32_load","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"4294967295"}]}
(assert_return (invoke "i32_load" (i32.const -1)) (i32.const -1))
ok, result
{"type":"assert_return","line":144,"action":{"type":"invoke","field":"i32_load","args":[{"type":"i32","value":"4252543054"}]},"expected":[{"type":"i32","value":"4252543054"}]}
(assert_return (invoke "i32_load" (i32.const -42424242)) (i32.const -42424242))
ok, result
{"type":"assert_return","line":145,"action":{"type":"invoke","field":"i32_load","args":[{"type":"i32","value":"42424242"}]},"expected":[{"type":"i32","value":"42424242"}]}
(assert_return (invoke "i32_load" (i32.const 42424242)) (i32.const 42424242))
ok, result
{"type":"assert_return","line":146,"action":{"type":"invoke","field":"i32_load","args":[{"type":"i32","value":"2880249322"}]},"expected":[{"type":"i32","value":"2880249322"}]}
(assert_return (invoke "i32_load" (i32.const 0xABAD1DEA)) (i32.const 0xABAD1DEA))
ok, result
{"type":"assert_return","line":148,"action":{"type":"invoke","field":"i64_load16_s","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64_load16_s" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":149,"action":{"type":"invoke","field":"i64_load16_s","args":[{"type":"i64","value":"18446744073709547374"}]},"expected":[{"type":"i64","value":"18446744073709547374"}]}
(assert_return (invoke "i64_load16_s" (i64.const -4242)) (i64.const -4242))
ok, result
{"type":"assert_return","line":150,"action":{"type":"invoke","field":"i64_load16_s","args":[{"type":"i64","value":"42"}]},"expected":[{"type":"i64","value":"42"}]}
(assert_return (invoke "i64_load16_s" (i64.const 42)) (i64.const 42))
ok, result
{"type":"assert_return","line":151,"action":{"type":"invoke","field":"i64_load16_s","args":[{"type":"i64","value":"12816"}]},"expected":[{"type":"i64","value":"12816"}]}
(assert_return (invoke "i64_load16_s" (i64.const 0x3210)) (i64.const 0x3210))
ok, result
{"type":"assert_return","line":153,"action":{"type":"invoke","field":"i64_load16_u","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"65535"}]}
(assert_return (invoke "i64_load16_u" (i64.const -1)) (i64.const 0xFFFF))
ok, result
{"type":"assert_return","line":154,"action":{"type":"invoke","field":"i64_load16_u","args":[{"type":"i64","value":"18446744073709547374"}]},"expected":[{"type":"i64","value":"61294"}]}
(assert_return (invoke "i64_load16_u" (i64.const -4242)) (i64.const 61294))
ok, result
{"type":"assert_return","line":155,"action":{"type":"invoke","field":"i64_load16_u","args":[{"type":"i64","value":"42"}]},"expected":[{"type":"i64","value":"42"}]}
(assert_return (invoke "i64_load16_u" (i64.const 42)) (i64.const 42))
ok, result
{"type":"assert_return","line":156,"action":{"type":"invoke","field":"i64_load16_u","args":[{"type":"i64","value":"51966"}]},"expected":[{"type":"i64","value":"51966"}]}
(assert_return (invoke "i64_load16_u" (i64.const 0xCAFE)) (i64.const 0xCAFE))
ok, result
{"type":"assert_return","line":158,"action":{"type":"invoke","field":"i64_load32_s","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64_load32_s" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":159,"action":{"type":"invoke","field":"i64_load32_s","args":[{"type":"i64","value":"18446744073667127374"}]},"expected":[{"type":"i64","value":"18446744073667127374"}]}
(assert_return (invoke "i64_load32_s" (i64.const -42424242)) (i64.const -42424242))
ok, result
{"type":"assert_return","line":160,"action":{"type":"invoke","field":"i64_load32_s","args":[{"type":"i64","value":"42424242"}]},"expected":[{"type":"i64","value":"42424242"}]}
(assert_return (invoke "i64_load32_s" (i64.const 42424242)) (i64.const 42424242))
ok, result
{"type":"assert_return","line":161,"action":{"type":"invoke","field":"i64_load32_s","args":[{"type":"i64","value":"305419896"}]},"expected":[{"type":"i64","value":"305419896"}]}
(assert_return (invoke "i64_load32_s" (i64.const 0x12345678)) (i64.const 0x12345678))
ok, result
{"type":"assert_return","line":163,"action":{"type":"invoke","field":"i64_load32_u","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"4294967295"}]}
(assert_return (invoke "i64_load32_u" (i64.const -1)) (i64.const 0xFFFFFFFF))
ok, result
{"type":"assert_return","line":164,"action":{"type":"invoke","field":"i64_load32_u","args":[{"type":"i64","value":"18446744073667127374"}]},"expected":[{"type":"i64","value":"4252543054"}]}
(assert_return (invoke "i64_load32_u" (i64.const -42424242)) (i64.const 4252543054))
ok, result
{"type":"assert_return","line":165,"action":{"type":"invoke","field":"i64_load32_u","args":[{"type":"i64","value":"42424242"}]},"expected":[{"type":"i64","value":"42424242"}]}
(assert_return (invoke "i64_load32_u" (i64.const 42424242)) (i64.const 42424242))
ok, result
{"type":"assert_return","line":166,"action":{"type":"invoke","field":"i64_load32_u","args":[{"type":"i64","value":"2880249322"}]},"expected":[{"type":"i64","value":"2880249322"}]}
(assert_return (invoke "i64_load32_u" (i64.const 0xABAD1DEA)) (i64.const 0xABAD1DEA))
ok, result
{"type":"assert_return","line":168,"action":{"type":"invoke","field":"i64_load","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64_load" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":169,"action":{"type":"invoke","field":"i64_load","args":[{"type":"i64","value":"18446744073667127374"}]},"expected":[{"type":"i64","value":"18446744073667127374"}]}
(assert_return (invoke "i64_load" (i64.const -42424242)) (i64.const -42424242))
ok, result
{"type":"assert_return","line":170,"action":{"type":"invoke","field":"i64_load","args":[{"type":"i64","value":"2880249322"}]},"expected":[{"type":"i64","value":"2880249322"}]}
(assert_return (invoke "i64_load" (i64.const 0xABAD1DEA)) (i64.const 0xABAD1DEA))
ok, result
{"type":"assert_return","line":171,"action":{"type":"invoke","field":"i64_load","args":[{"type":"i64","value":"12370766947463011818"}]},"expected":[{"type":"i64","value":"12370766947463011818"}]}
(assert_return (invoke "i64_load" (i64.const 0xABADCAFEDEAD1DEA)) (i64.const 0xABADCAFEDEAD1DEA))
ok, result
{"type":"assert_return","line":173,"action":{"type":"invoke","field":"f32_load","args":[{"type":"f32","value":"3212836864"}]},"expected":[{"type":"f32","value":"3212836864"}]}
(assert_return (invoke "f32_load" (f32.const -1)) (f32.const -1))
exception: todo, execute instruction zcl_wasm_i32_reinterpret_f32
{"type":"assert_return","line":174,"action":{"type":"invoke","field":"f32_load","args":[{"type":"f32","value":"1011494326"}]},"expected":[{"type":"f32","value":"1011494326"}]}
(assert_return (invoke "f32_load" (f32.const 1234e-5)) (f32.const 1234e-5))
exception: todo, execute instruction zcl_wasm_i32_reinterpret_f32
{"type":"assert_return","line":175,"action":{"type":"invoke","field":"f32_load","args":[{"type":"f32","value":"1166316389"}]},"expected":[{"type":"f32","value":"1166316389"}]}
(assert_return (invoke "f32_load" (f32.const 4242.4242)) (f32.const 4242.4242))
exception: todo, execute instruction zcl_wasm_i32_reinterpret_f32
{"type":"assert_return","line":176,"action":{"type":"invoke","field":"f32_load","args":[{"type":"f32","value":"2139095039"}]},"expected":[{"type":"f32","value":"2139095039"}]}
(assert_return (invoke "f32_load" (f32.const 0x1.fffffep+127)) (f32.const 0x1.fffffep+127))
exception: todo, execute instruction zcl_wasm_i32_reinterpret_f32
{"type":"assert_return","line":178,"action":{"type":"invoke","field":"f64_load","args":[{"type":"f64","value":"13830554455654793216"}]},"expected":[{"type":"f64","value":"13830554455654793216"}]}
(assert_return (invoke "f64_load" (f64.const -1)) (f64.const -1))
exception: i64, from_unsigned, value too long, todo, "13830554455654793216"
{"type":"assert_return","line":179,"action":{"type":"invoke","field":"f64_load","args":[{"type":"f64","value":"4653144502447687399"}]},"expected":[{"type":"f64","value":"4653144502447687399"}]}
(assert_return (invoke "f64_load" (f64.const 123456789e-5)) (f64.const 123456789e-5))
exception: i64, from_unsigned, value too long, todo, "4653144502447687399"
{"type":"assert_return","line":180,"action":{"type":"invoke","field":"f64_load","args":[{"type":"f64","value":"4691032041816096430"}]},"expected":[{"type":"f64","value":"4691032041816096430"}]}
(assert_return (invoke "f64_load" (f64.const 424242.424242)) (f64.const 424242.424242))
exception: i64, from_unsigned, value too long, todo, "4691032041816096430"
{"type":"assert_return","line":181,"action":{"type":"invoke","field":"f64_load","args":[{"type":"f64","value":"9218868437227405311"}]},"expected":[{"type":"f64","value":"9218868437227405311"}]}
(assert_return (invoke "f64_load" (f64.const 0x1.fffffffffffffp+1023)) (f64.const 0x1.fffffffffffffp+1023))
exception: i64, from_unsigned, value too long, todo, "9218868437227405311"
{"type":"assert_return","line":184,"action":{"type":"invoke","field":"i32_store16","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"65535"}]}
(assert_return (invoke "i32_store16" (i32.const -1)) (i32.const 0xFFFF))
ok, result
{"type":"assert_return","line":185,"action":{"type":"invoke","field":"i32_store16","args":[{"type":"i32","value":"4294963054"}]},"expected":[{"type":"i32","value":"61294"}]}
(assert_return (invoke "i32_store16" (i32.const -4242)) (i32.const 61294))
ok, result
{"type":"assert_return","line":186,"action":{"type":"invoke","field":"i32_store16","args":[{"type":"i32","value":"42"}]},"expected":[{"type":"i32","value":"42"}]}
(assert_return (invoke "i32_store16" (i32.const 42)) (i32.const 42))
ok, result
{"type":"assert_return","line":187,"action":{"type":"invoke","field":"i32_store16","args":[{"type":"i32","value":"51966"}]},"expected":[{"type":"i32","value":"51966"}]}
(assert_return (invoke "i32_store16" (i32.const 0xCAFE)) (i32.const 0xCAFE))
ok, result
{"type":"assert_return","line":189,"action":{"type":"invoke","field":"i32_store","args":[{"type":"i32","value":"4294967295"}]},"expected":[{"type":"i32","value":"4294967295"}]}
(assert_return (invoke "i32_store" (i32.const -1)) (i32.const -1))
ok, result
{"type":"assert_return","line":190,"action":{"type":"invoke","field":"i32_store","args":[{"type":"i32","value":"4294963054"}]},"expected":[{"type":"i32","value":"4294963054"}]}
(assert_return (invoke "i32_store" (i32.const -4242)) (i32.const -4242))
ok, result
{"type":"assert_return","line":191,"action":{"type":"invoke","field":"i32_store","args":[{"type":"i32","value":"42424242"}]},"expected":[{"type":"i32","value":"42424242"}]}
(assert_return (invoke "i32_store" (i32.const 42424242)) (i32.const 42424242))
ok, result
{"type":"assert_return","line":192,"action":{"type":"invoke","field":"i32_store","args":[{"type":"i32","value":"3735931646"}]},"expected":[{"type":"i32","value":"3735931646"}]}
(assert_return (invoke "i32_store" (i32.const 0xDEADCAFE)) (i32.const 0xDEADCAFE))
ok, result
{"type":"assert_return","line":194,"action":{"type":"invoke","field":"i64_store16","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"65535"}]}
(assert_return (invoke "i64_store16" (i64.const -1)) (i64.const 0xFFFF))
ok, result
{"type":"assert_return","line":195,"action":{"type":"invoke","field":"i64_store16","args":[{"type":"i64","value":"18446744073709547374"}]},"expected":[{"type":"i64","value":"61294"}]}
(assert_return (invoke "i64_store16" (i64.const -4242)) (i64.const 61294))
ok, result
{"type":"assert_return","line":196,"action":{"type":"invoke","field":"i64_store16","args":[{"type":"i64","value":"42"}]},"expected":[{"type":"i64","value":"42"}]}
(assert_return (invoke "i64_store16" (i64.const 42)) (i64.const 42))
ok, result
{"type":"assert_return","line":197,"action":{"type":"invoke","field":"i64_store16","args":[{"type":"i64","value":"51966"}]},"expected":[{"type":"i64","value":"51966"}]}
(assert_return (invoke "i64_store16" (i64.const 0xCAFE)) (i64.const 0xCAFE))
ok, result
{"type":"assert_return","line":199,"action":{"type":"invoke","field":"i64_store32","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"4294967295"}]}
(assert_return (invoke "i64_store32" (i64.const -1)) (i64.const 0xFFFFFFFF))
ok, result
{"type":"assert_return","line":200,"action":{"type":"invoke","field":"i64_store32","args":[{"type":"i64","value":"18446744073709547374"}]},"expected":[{"type":"i64","value":"4294963054"}]}
(assert_return (invoke "i64_store32" (i64.const -4242)) (i64.const 4294963054))
ok, result
{"type":"assert_return","line":201,"action":{"type":"invoke","field":"i64_store32","args":[{"type":"i64","value":"42424242"}]},"expected":[{"type":"i64","value":"42424242"}]}
(assert_return (invoke "i64_store32" (i64.const 42424242)) (i64.const 42424242))
ok, result
{"type":"assert_return","line":202,"action":{"type":"invoke","field":"i64_store32","args":[{"type":"i64","value":"3735931646"}]},"expected":[{"type":"i64","value":"3735931646"}]}
(assert_return (invoke "i64_store32" (i64.const 0xDEADCAFE)) (i64.const 0xDEADCAFE))
ok, result
{"type":"assert_return","line":204,"action":{"type":"invoke","field":"i64_store","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "i64_store" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":205,"action":{"type":"invoke","field":"i64_store","args":[{"type":"i64","value":"18446744073667127374"}]},"expected":[{"type":"i64","value":"18446744073667127374"}]}
(assert_return (invoke "i64_store" (i64.const -42424242)) (i64.const -42424242))
ok, result
{"type":"assert_return","line":206,"action":{"type":"invoke","field":"i64_store","args":[{"type":"i64","value":"2880249322"}]},"expected":[{"type":"i64","value":"2880249322"}]}
(assert_return (invoke "i64_store" (i64.const 0xABAD1DEA)) (i64.const 0xABAD1DEA))
ok, result
{"type":"assert_return","line":207,"action":{"type":"invoke","field":"i64_store","args":[{"type":"i64","value":"12370766947463011818"}]},"expected":[{"type":"i64","value":"12370766947463011818"}]}
(assert_return (invoke "i64_store" (i64.const 0xABADCAFEDEAD1DEA)) (i64.const 0xABADCAFEDEAD1DEA))
ok, result
{"type":"assert_return","line":209,"action":{"type":"invoke","field":"f32_store","args":[{"type":"f32","value":"3212836864"}]},"expected":[{"type":"f32","value":"3212836864"}]}
(assert_return (invoke "f32_store" (f32.const -1)) (f32.const -1))
exception: todo, execute instruction zcl_wasm_f32_reinterpret_i32
{"type":"assert_return","line":210,"action":{"type":"invoke","field":"f32_store","args":[{"type":"f32","value":"1011494326"}]},"expected":[{"type":"f32","value":"1011494326"}]}
(assert_return (invoke "f32_store" (f32.const 1234e-5)) (f32.const 1234e-5))
exception: todo, execute instruction zcl_wasm_f32_reinterpret_i32
{"type":"assert_return","line":211,"action":{"type":"invoke","field":"f32_store","args":[{"type":"f32","value":"1166316389"}]},"expected":[{"type":"f32","value":"1166316389"}]}
(assert_return (invoke "f32_store" (f32.const 4242.4242)) (f32.const 4242.4242))
exception: todo, execute instruction zcl_wasm_f32_reinterpret_i32
{"type":"assert_return","line":212,"action":{"type":"invoke","field":"f32_store","args":[{"type":"f32","value":"2139095039"}]},"expected":[{"type":"f32","value":"2139095039"}]}
(assert_return (invoke "f32_store" (f32.const 0x1.fffffep+127)) (f32.const 0x1.fffffep+127))
exception: todo, execute instruction zcl_wasm_f32_reinterpret_i32
{"type":"assert_return","line":214,"action":{"type":"invoke","field":"f64_store","args":[{"type":"f64","value":"13830554455654793216"}]},"expected":[{"type":"f64","value":"13830554455654793216"}]}
(assert_return (invoke "f64_store" (f64.const -1)) (f64.const -1))
exception: i64, from_unsigned, value too long, todo, "13830554455654793216"
{"type":"assert_return","line":215,"action":{"type":"invoke","field":"f64_store","args":[{"type":"f64","value":"4653144502447687399"}]},"expected":[{"type":"f64","value":"4653144502447687399"}]}
(assert_return (invoke "f64_store" (f64.const 123456789e-5)) (f64.const 123456789e-5))
exception: i64, from_unsigned, value too long, todo, "4653144502447687399"
{"type":"assert_return","line":216,"action":{"type":"invoke","field":"f64_store","args":[{"type":"f64","value":"4691032041816096430"}]},"expected":[{"type":"f64","value":"4691032041816096430"}]}
(assert_return (invoke "f64_store" (f64.const 424242.424242)) (f64.const 424242.424242))
exception: i64, from_unsigned, value too long, todo, "4691032041816096430"
{"type":"assert_return","line":217,"action":{"type":"invoke","field":"f64_store","args":[{"type":"f64","value":"9218868437227405311"}]},"expected":[{"type":"f64","value":"9218868437227405311"}]}
(assert_return (invoke "f64_store" (f64.const 0x1.fffffffffffffp+1023)) (f64.const 0x1.fffffffffffffp+1023))
exception: i64, from_unsigned, value too long, todo, "9218868437227405311"
Generated at 2024-09-05T14:37:48