{"type":"module","line":3,"filename":"i64.0.wasm"}
loaded
{"type":"assert_return","line":38,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "add" (i64.const 1) (i64.const 1)) (i64.const 2))
ok, result
{"type":"assert_return","line":39,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "add" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":40,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "add" (i64.const -1) (i64.const -1)) (i64.const -2))
ok, result
{"type":"assert_return","line":41,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "add" (i64.const -1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":42,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "add" (i64.const 0x7fffffffffffffff) (i64.const 1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":43,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "add" (i64.const 0x8000000000000000) (i64.const -1)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":44,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "add" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i64.const 0))
ok, result
{"type":"assert_return","line":45,"action":{"type":"invoke","field":"add","args":[{"type":"i64","value":"1073741823"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1073741824"}]}
(assert_return (invoke "add" (i64.const 0x3fffffff) (i64.const 1)) (i64.const 0x40000000))
ok, result
{"type":"assert_return","line":47,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "sub" (i64.const 1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":48,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "sub" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":49,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "sub" (i64.const -1) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":50,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "sub" (i64.const 0x7fffffffffffffff) (i64.const -1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":51,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "sub" (i64.const 0x8000000000000000) (i64.const 1)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":52,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "sub" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i64.const 0))
ok, result
{"type":"assert_return","line":53,"action":{"type":"invoke","field":"sub","args":[{"type":"i64","value":"1073741823"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"1073741824"}]}
(assert_return (invoke "sub" (i64.const 0x3fffffff) (i64.const -1)) (i64.const 0x40000000))
ok, result
{"type":"assert_return","line":55,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "mul" (i64.const 1) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":56,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "mul" (i64.const 1) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":57,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "mul" (i64.const -1) (i64.const -1)) (i64.const 1))
error, wrong result, expected 1, got 18446744073709551617
{"type":"assert_return","line":58,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"1152921504606846976"},{"type":"i64","value":"4096"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "mul" (i64.const 0x1000000000000000) (i64.const 4096)) (i64.const 0))
ok, result
{"type":"assert_return","line":59,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "mul" (i64.const 0x8000000000000000) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":60,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "mul" (i64.const 0x8000000000000000) (i64.const -1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":61,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775809"}]}
(assert_return (invoke "mul" (i64.const 0x7fffffffffffffff) (i64.const -1)) (i64.const 0x8000000000000001))
ok, result
{"type":"assert_return","line":62,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"81985529216486895"},{"type":"i64","value":"18364758544493064720"}]},"expected":[{"type":"i64","value":"2465395958572223728"}]}
(assert_return (invoke "mul" (i64.const 0x0123456789abcdef) (i64.const 0xfedcba9876543210)) (i64.const 0x2236d88fe5618cf0))
exception: i64, from_unsigned, value too long, todo, "18364758544493064720"
{"type":"assert_return","line":63,"action":{"type":"invoke","field":"mul","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "mul" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i64.const 1))
ok, result
{"type":"assert_trap","line":65,"text":"integer divide by zero","action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_s" (i64.const 1) (i64.const 0)) "integer divide by zero")
ok, got error: i64.div_s, division by zero
{"type":"assert_trap","line":66,"text":"integer divide by zero","action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_s" (i64.const 0) (i64.const 0)) "integer divide by zero")
ok, got error: i64.div_s, division by zero
{"type":"assert_trap","line":67,"text":"integer overflow","action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_s" (i64.const 0x8000000000000000) (i64.const -1)) "integer overflow")
ok, got error: i64.div_s, signed integer overflow
{"type":"assert_trap","line":68,"text":"integer divide by zero","action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_s" (i64.const 0x8000000000000000) (i64.const 0)) "integer divide by zero")
ok, got error: i64.div_s, division by zero
{"type":"assert_return","line":69,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "div_s" (i64.const 1) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":70,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_s" (i64.const 0) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":71,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_s" (i64.const 0) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":72,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "div_s" (i64.const -1) (i64.const -1)) (i64.const 1))
ok, result
{"type":"assert_return","line":73,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"13835058055282163712"}]}
(assert_return (invoke "div_s" (i64.const 0x8000000000000000) (i64.const 2)) (i64.const 0xc000000000000000))
ok, result
{"type":"assert_return","line":74,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"9223372036854775809"},{"type":"i64","value":"1000"}]},"expected":[{"type":"i64","value":"18437520701672696841"}]}
(assert_return (invoke "div_s" (i64.const 0x8000000000000001) (i64.const 1000)) (i64.const 0xffdf3b645a1cac09))
exception: i64, todo get_unsigned, value is negative: -9223372036854776
{"type":"assert_return","line":75,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"5"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const 5) (i64.const 2)) (i64.const 2))
ok, result
{"type":"assert_return","line":76,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "div_s" (i64.const -5) (i64.const 2)) (i64.const -2))
ok, result
{"type":"assert_return","line":77,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"5"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "div_s" (i64.const 5) (i64.const -2)) (i64.const -2))
ok, result
{"type":"assert_return","line":78,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const -5) (i64.const -2)) (i64.const 2))
ok, result
{"type":"assert_return","line":79,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"7"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const 7) (i64.const 3)) (i64.const 2))
ok, result
{"type":"assert_return","line":80,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"18446744073709551609"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "div_s" (i64.const -7) (i64.const 3)) (i64.const -2))
ok, result
{"type":"assert_return","line":81,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"7"},{"type":"i64","value":"18446744073709551613"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "div_s" (i64.const 7) (i64.const -3)) (i64.const -2))
ok, result
{"type":"assert_return","line":82,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"18446744073709551609"},{"type":"i64","value":"18446744073709551613"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const -7) (i64.const -3)) (i64.const 2))
ok, result
{"type":"assert_return","line":83,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"11"},{"type":"i64","value":"5"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const 11) (i64.const 5)) (i64.const 2))
ok, result
{"type":"assert_return","line":84,"action":{"type":"invoke","field":"div_s","args":[{"type":"i64","value":"17"},{"type":"i64","value":"7"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_s" (i64.const 17) (i64.const 7)) (i64.const 2))
ok, result
{"type":"assert_trap","line":86,"text":"integer divide by zero","action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_u" (i64.const 1) (i64.const 0)) "integer divide by zero")
ok, got error: i64.div_u, division by zero
{"type":"assert_trap","line":87,"text":"integer divide by zero","action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "div_u" (i64.const 0) (i64.const 0)) "integer divide by zero")
ok, got error: i64.div_u, division by zero
{"type":"assert_return","line":88,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "div_u" (i64.const 1) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":89,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_u" (i64.const 0) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":90,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "div_u" (i64.const -1) (i64.const -1)) (i64.const 1))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":91,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_u" (i64.const 0x8000000000000000) (i64.const -1)) (i64.const 0))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":92,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"4611686018427387904"}]}
(assert_return (invoke "div_u" (i64.const 0x8000000000000000) (i64.const 2)) (i64.const 0x4000000000000000))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":93,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"10371807465568210928"},{"type":"i64","value":"4294967297"}]},"expected":[{"type":"i64","value":"2414874607"}]}
(assert_return (invoke "div_u" (i64.const 0x8ff00ff00ff00ff0) (i64.const 0x100000001)) (i64.const 0x8ff00fef))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":94,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"9223372036854775809"},{"type":"i64","value":"1000"}]},"expected":[{"type":"i64","value":"9223372036854775"}]}
(assert_return (invoke "div_u" (i64.const 0x8000000000000001) (i64.const 1000)) (i64.const 0x20c49ba5e353f7))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":95,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"5"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_u" (i64.const 5) (i64.const 2)) (i64.const 2))
ok, result
{"type":"assert_return","line":96,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"9223372036854775805"}]}
(assert_return (invoke "div_u" (i64.const -5) (i64.const 2)) (i64.const 0x7ffffffffffffffd))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":97,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"5"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_u" (i64.const 5) (i64.const -2)) (i64.const 0))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":98,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "div_u" (i64.const -5) (i64.const -2)) (i64.const 0))
exception: i64.div_u, todo negative numbers
{"type":"assert_return","line":99,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"7"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_u" (i64.const 7) (i64.const 3)) (i64.const 2))
ok, result
{"type":"assert_return","line":100,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"11"},{"type":"i64","value":"5"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_u" (i64.const 11) (i64.const 5)) (i64.const 2))
ok, result
{"type":"assert_return","line":101,"action":{"type":"invoke","field":"div_u","args":[{"type":"i64","value":"17"},{"type":"i64","value":"7"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "div_u" (i64.const 17) (i64.const 7)) (i64.const 2))
ok, result
{"type":"assert_trap","line":103,"text":"integer divide by zero","action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "rem_s" (i64.const 1) (i64.const 0)) "integer divide by zero")
ok, got error: i64.rem_s, division by zero
{"type":"assert_trap","line":104,"text":"integer divide by zero","action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "rem_s" (i64.const 0) (i64.const 0)) "integer divide by zero")
ok, got error: i64.rem_s, division by zero
{"type":"assert_return","line":105,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 0x7fffffffffffffff) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":106,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":107,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 0) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":108,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 0) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":109,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const -1) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":110,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 0x8000000000000000) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":111,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_s" (i64.const 0x8000000000000000) (i64.const 2)) (i64.const 0))
ok, result
{"type":"assert_return","line":112,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"9223372036854775809"},{"type":"i64","value":"1000"}]},"expected":[{"type":"i64","value":"18446744073709550809"}]}
(assert_return (invoke "rem_s" (i64.const 0x8000000000000001) (i64.const 1000)) (i64.const -807))
exception: i64, todo get_unsigned, value is negative: -808
{"type":"assert_return","line":113,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"5"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_s" (i64.const 5) (i64.const 2)) (i64.const 1))
ok, result
{"type":"assert_return","line":114,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rem_s" (i64.const -5) (i64.const 2)) (i64.const -1))
ok, result
{"type":"assert_return","line":115,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"5"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_s" (i64.const 5) (i64.const -2)) (i64.const 1))
ok, result
{"type":"assert_return","line":116,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rem_s" (i64.const -5) (i64.const -2)) (i64.const -1))
ok, result
{"type":"assert_return","line":117,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"7"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_s" (i64.const 7) (i64.const 3)) (i64.const 1))
ok, result
{"type":"assert_return","line":118,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"18446744073709551609"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rem_s" (i64.const -7) (i64.const 3)) (i64.const -1))
ok, result
{"type":"assert_return","line":119,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"7"},{"type":"i64","value":"18446744073709551613"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_s" (i64.const 7) (i64.const -3)) (i64.const 1))
ok, result
{"type":"assert_return","line":120,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"18446744073709551609"},{"type":"i64","value":"18446744073709551613"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rem_s" (i64.const -7) (i64.const -3)) (i64.const -1))
ok, result
{"type":"assert_return","line":121,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"11"},{"type":"i64","value":"5"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_s" (i64.const 11) (i64.const 5)) (i64.const 1))
ok, result
{"type":"assert_return","line":122,"action":{"type":"invoke","field":"rem_s","args":[{"type":"i64","value":"17"},{"type":"i64","value":"7"}]},"expected":[{"type":"i64","value":"3"}]}
(assert_return (invoke "rem_s" (i64.const 17) (i64.const 7)) (i64.const 3))
ok, result
{"type":"assert_trap","line":124,"text":"integer divide by zero","action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "rem_u" (i64.const 1) (i64.const 0)) "integer divide by zero")
ok, got error: i64.rem_u, division by zero
{"type":"assert_trap","line":125,"text":"integer divide by zero","action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64"}]}
(assert_trap (invoke "rem_u" (i64.const 0) (i64.const 0)) "integer divide by zero")
ok, got error: i64.rem_u, division by zero
{"type":"assert_return","line":126,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_u" (i64.const 1) (i64.const 1)) (i64.const 0))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":127,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_u" (i64.const 0) (i64.const 1)) (i64.const 0))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":128,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_u" (i64.const -1) (i64.const -1)) (i64.const 0))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":129,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "rem_u" (i64.const 0x8000000000000000) (i64.const -1)) (i64.const 0x8000000000000000))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":130,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "rem_u" (i64.const 0x8000000000000000) (i64.const 2)) (i64.const 0))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":131,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"10371807465568210928"},{"type":"i64","value":"4294967297"}]},"expected":[{"type":"i64","value":"2147483649"}]}
(assert_return (invoke "rem_u" (i64.const 0x8ff00ff00ff00ff0) (i64.const 0x100000001)) (i64.const 0x80000001))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":132,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"9223372036854775809"},{"type":"i64","value":"1000"}]},"expected":[{"type":"i64","value":"809"}]}
(assert_return (invoke "rem_u" (i64.const 0x8000000000000001) (i64.const 1000)) (i64.const 809))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":133,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"5"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_u" (i64.const 5) (i64.const 2)) (i64.const 1))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":134,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_u" (i64.const -5) (i64.const 2)) (i64.const 1))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":135,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"5"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"5"}]}
(assert_return (invoke "rem_u" (i64.const 5) (i64.const -2)) (i64.const 5))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":136,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"18446744073709551611"},{"type":"i64","value":"18446744073709551614"}]},"expected":[{"type":"i64","value":"18446744073709551611"}]}
(assert_return (invoke "rem_u" (i64.const -5) (i64.const -2)) (i64.const -5))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":137,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"7"},{"type":"i64","value":"3"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_u" (i64.const 7) (i64.const 3)) (i64.const 1))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":138,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"11"},{"type":"i64","value":"5"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rem_u" (i64.const 11) (i64.const 5)) (i64.const 1))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":139,"action":{"type":"invoke","field":"rem_u","args":[{"type":"i64","value":"17"},{"type":"i64","value":"7"}]},"expected":[{"type":"i64","value":"3"}]}
(assert_return (invoke "rem_u" (i64.const 17) (i64.const 7)) (i64.const 3))
exception: todo, execute instruction zcl_wasm_i64_rem_u
{"type":"assert_return","line":141,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "and" (i64.const 1) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":142,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "and" (i64.const 0) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":143,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "and" (i64.const 1) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":144,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "and" (i64.const 0) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":145,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "and" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i64.const 0))
ok, result
{"type":"assert_return","line":146,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "and" (i64.const 0x7fffffffffffffff) (i64.const -1)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":147,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"4042326015"},{"type":"i64","value":"4294963440"}]},"expected":[{"type":"i64","value":"4042322160"}]}
(assert_return (invoke "and" (i64.const 0xf0f0ffff) (i64.const 0xfffff0f0)) (i64.const 0xf0f0f0f0))
ok, result
{"type":"assert_return","line":148,"action":{"type":"invoke","field":"and","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "and" (i64.const 0xffffffffffffffff) (i64.const 0xffffffffffffffff)) (i64.const 0xffffffffffffffff))
ok, result
{"type":"assert_return","line":150,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "or" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":151,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "or" (i64.const 0) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":152,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "or" (i64.const 1) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":153,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "or" (i64.const 0) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":154,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "or" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i64.const -1))
ok, result
{"type":"assert_return","line":155,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "or" (i64.const 0x8000000000000000) (i64.const 0)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":156,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"4042326015"},{"type":"i64","value":"4294963440"}]},"expected":[{"type":"i64","value":"4294967295"}]}
(assert_return (invoke "or" (i64.const 0xf0f0ffff) (i64.const 0xfffff0f0)) (i64.const 0xffffffff))
ok, result
{"type":"assert_return","line":157,"action":{"type":"invoke","field":"or","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "or" (i64.const 0xffffffffffffffff) (i64.const 0xffffffffffffffff)) (i64.const 0xffffffffffffffff))
ok, result
{"type":"assert_return","line":159,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "xor" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":160,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "xor" (i64.const 0) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":161,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "xor" (i64.const 1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":162,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "xor" (i64.const 0) (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":163,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "xor" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i64.const -1))
ok, result
{"type":"assert_return","line":164,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "xor" (i64.const 0x8000000000000000) (i64.const 0)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":165,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "xor" (i64.const -1) (i64.const 0x8000000000000000)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":166,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "xor" (i64.const -1) (i64.const 0x7fffffffffffffff)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":167,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"4042326015"},{"type":"i64","value":"4294963440"}]},"expected":[{"type":"i64","value":"252645135"}]}
(assert_return (invoke "xor" (i64.const 0xf0f0ffff) (i64.const 0xfffff0f0)) (i64.const 0x0f0f0f0f))
ok, result
{"type":"assert_return","line":168,"action":{"type":"invoke","field":"xor","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "xor" (i64.const 0xffffffffffffffff) (i64.const 0xffffffffffffffff)) (i64.const 0))
ok, result
{"type":"assert_return","line":170,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 1)) (i64.const 2))
ok, result
{"type":"assert_return","line":171,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":172,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "shl" (i64.const 0x7fffffffffffffff) (i64.const 1)) (i64.const 0xfffffffffffffffe))
ok, result
{"type":"assert_return","line":173,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"18446744073709551614"}]}
(assert_return (invoke "shl" (i64.const 0xffffffffffffffff) (i64.const 1)) (i64.const 0xfffffffffffffffe))
ok, result
{"type":"assert_return","line":174,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shl" (i64.const 0x8000000000000000) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":175,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"4611686018427387904"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "shl" (i64.const 0x4000000000000000) (i64.const 1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":176,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 63)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":177,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 64)) (i64.const 1))
ok, result
{"type":"assert_return","line":178,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"65"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 65)) (i64.const 2))
ok, result
{"type":"assert_return","line":179,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const -1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":180,"action":{"type":"invoke","field":"shl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "shl" (i64.const 1) (i64.const 0x7fffffffffffffff)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":182,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":183,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":184,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const 1)) (i64.const -1))
ok, result
{"type":"assert_return","line":185,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"4611686018427387903"}]}
(assert_return (invoke "shr_s" (i64.const 0x7fffffffffffffff) (i64.const 1)) (i64.const 0x3fffffffffffffff))
ok, result
{"type":"assert_return","line":186,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"13835058055282163712"}]}
(assert_return (invoke "shr_s" (i64.const 0x8000000000000000) (i64.const 1)) (i64.const 0xc000000000000000))
ok, result
{"type":"assert_return","line":187,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"4611686018427387904"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"2305843009213693952"}]}
(assert_return (invoke "shr_s" (i64.const 0x4000000000000000) (i64.const 1)) (i64.const 0x2000000000000000))
ok, result
{"type":"assert_return","line":188,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 64)) (i64.const 1))
ok, result
{"type":"assert_return","line":189,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"65"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 65)) (i64.const 0))
ok, result
{"type":"assert_return","line":190,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":191,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 0x7fffffffffffffff)) (i64.const 0))
ok, result
{"type":"assert_return","line":192,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_s" (i64.const 1) (i64.const 0x8000000000000000)) (i64.const 1))
ok, result
{"type":"assert_return","line":193,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const 0x8000000000000000) (i64.const 63)) (i64.const -1))
ok, result
{"type":"assert_return","line":194,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const 64)) (i64.const -1))
ok, result
{"type":"assert_return","line":195,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"65"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const 65)) (i64.const -1))
ok, result
{"type":"assert_return","line":196,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":197,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const 0x7fffffffffffffff)) (i64.const -1))
ok, result
{"type":"assert_return","line":198,"action":{"type":"invoke","field":"shr_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_s" (i64.const -1) (i64.const 0x8000000000000000)) (i64.const -1))
ok, result
{"type":"assert_return","line":200,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 1)) (i64.const 0))
ok, result
{"type":"assert_return","line":201,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":202,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const 1)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":203,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"4611686018427387903"}]}
(assert_return (invoke "shr_u" (i64.const 0x7fffffffffffffff) (i64.const 1)) (i64.const 0x3fffffffffffffff))
ok, result
{"type":"assert_return","line":204,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"4611686018427387904"}]}
(assert_return (invoke "shr_u" (i64.const 0x8000000000000000) (i64.const 1)) (i64.const 0x4000000000000000))
ok, result
{"type":"assert_return","line":205,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"4611686018427387904"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"2305843009213693952"}]}
(assert_return (invoke "shr_u" (i64.const 0x4000000000000000) (i64.const 1)) (i64.const 0x2000000000000000))
ok, result
{"type":"assert_return","line":206,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 64)) (i64.const 1))
ok, result
{"type":"assert_return","line":207,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"65"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 65)) (i64.const 0))
ok, result
{"type":"assert_return","line":208,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":209,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 0x7fffffffffffffff)) (i64.const 0))
ok, result
{"type":"assert_return","line":210,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const 1) (i64.const 0x8000000000000000)) (i64.const 1))
ok, result
{"type":"assert_return","line":211,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const 0x8000000000000000) (i64.const 63)) (i64.const 1))
ok, result
{"type":"assert_return","line":212,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const 64)) (i64.const -1))
ok, result
{"type":"assert_return","line":213,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"65"}]},"expected":[{"type":"i64","value":"9223372036854775807"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const 65)) (i64.const 0x7fffffffffffffff))
ok, result
{"type":"assert_return","line":214,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const -1)) (i64.const 1))
ok, result
{"type":"assert_return","line":215,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const 0x7fffffffffffffff)) (i64.const 1))
ok, result
{"type":"assert_return","line":216,"action":{"type":"invoke","field":"shr_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "shr_u" (i64.const -1) (i64.const 0x8000000000000000)) (i64.const -1))
ok, result
{"type":"assert_return","line":218,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "rotl" (i64.const 1) (i64.const 1)) (i64.const 2))
ok, result
{"type":"assert_return","line":219,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotl" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":220,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rotl" (i64.const -1) (i64.const 1)) (i64.const -1))
ok, result
{"type":"assert_return","line":221,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotl" (i64.const 1) (i64.const 64)) (i64.const 1))
ok, result
{"type":"assert_return","line":222,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12379718583323101902"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"6312693092936652189"}]}
(assert_return (invoke "rotl" (i64.const 0xabcd987602468ace) (i64.const 1)) (i64.const 0x579b30ec048d159d))
ok, result
{"type":"assert_return","line":223,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"18302628889324683264"},{"type":"i64","value":"4"}]},"expected":[{"type":"i64","value":"16140901123551657999"}]}
(assert_return (invoke "rotl" (i64.const 0xfe000000dc000000) (i64.const 4)) (i64.const 0xe000000dc000000f))
exception: i64, from_unsigned, value too long, todo, "18302628889324683264"
{"type":"assert_return","line":224,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12379570969274382345"},{"type":"i64","value":"53"}]},"expected":[{"type":"i64","value":"87109505680009935"}]}
(assert_return (invoke "rotl" (i64.const 0xabcd1234ef567809) (i64.const 53)) (i64.const 0x013579a2469deacf))
exception: i64, from_unsigned, value too long, todo, "12379570969274382345"
{"type":"assert_return","line":225,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12380715672649826460"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"6190357836324913230"}]}
(assert_return (invoke "rotl" (i64.const 0xabd1234ef567809c) (i64.const 63)) (i64.const 0x55e891a77ab3c04e))
exception: i64, from_unsigned, value too long, todo, "12380715672649826460"
{"type":"assert_return","line":226,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12379570969274382345"},{"type":"i64","value":"245"}]},"expected":[{"type":"i64","value":"87109505680009935"}]}
(assert_return (invoke "rotl" (i64.const 0xabcd1234ef567809) (i64.const 0xf5)) (i64.const 0x013579a2469deacf))
exception: i64, from_unsigned, value too long, todo, "12379570969274382345"
{"type":"assert_return","line":227,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12379676934707509257"},{"type":"i64","value":"18446744073709551597"}]},"expected":[{"type":"i64","value":"14916262237559758314"}]}
(assert_return (invoke "rotl" (i64.const 0xabcd7294ef567809) (i64.const 0xffffffffffffffed)) (i64.const 0xcf013579ae529dea))
exception: i64, from_unsigned, value too long, todo, "12379676934707509257"
{"type":"assert_return","line":228,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"12380715672649826460"},{"type":"i64","value":"9223372036854775871"}]},"expected":[{"type":"i64","value":"6190357836324913230"}]}
(assert_return (invoke "rotl" (i64.const 0xabd1234ef567809c) (i64.const 0x800000000000003f)) (i64.const 0x55e891a77ab3c04e))
exception: i64, from_unsigned, value too long, todo, "12380715672649826460"
{"type":"assert_return","line":229,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"1"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "rotl" (i64.const 1) (i64.const 63)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":230,"action":{"type":"invoke","field":"rotl","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotl" (i64.const 0x8000000000000000) (i64.const 1)) (i64.const 1))
ok, result
{"type":"assert_return","line":232,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"9223372036854775808"}]}
(assert_return (invoke "rotr" (i64.const 1) (i64.const 1)) (i64.const 0x8000000000000000))
ok, result
{"type":"assert_return","line":233,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotr" (i64.const 1) (i64.const 0)) (i64.const 1))
ok, result
{"type":"assert_return","line":234,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "rotr" (i64.const -1) (i64.const 1)) (i64.const -1))
ok, result
{"type":"assert_return","line":235,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"1"},{"type":"i64","value":"64"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotr" (i64.const 1) (i64.const 64)) (i64.const 1))
ok, result
{"type":"assert_return","line":236,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12379718583323101902"},{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"6189859291661550951"}]}
(assert_return (invoke "rotr" (i64.const 0xabcd987602468ace) (i64.const 1)) (i64.const 0x55e6cc3b01234567))
ok, result
{"type":"assert_return","line":237,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"18302628889324683264"},{"type":"i64","value":"4"}]},"expected":[{"type":"i64","value":"1143914305582792704"}]}
(assert_return (invoke "rotr" (i64.const 0xfe000000dc000000) (i64.const 4)) (i64.const 0x0fe000000dc00000))
exception: i64, from_unsigned, value too long, todo, "18302628889324683264"
{"type":"assert_return","line":238,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12379570969274382345"},{"type":"i64","value":"53"}]},"expected":[{"type":"i64","value":"7534987797011123550"}]}
(assert_return (invoke "rotr" (i64.const 0xabcd1234ef567809) (i64.const 53)) (i64.const 0x6891a77ab3c04d5e))
exception: i64, from_unsigned, value too long, todo, "12379570969274382345"
{"type":"assert_return","line":239,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12380715672649826460"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"6314687271590101305"}]}
(assert_return (invoke "rotr" (i64.const 0xabd1234ef567809c) (i64.const 63)) (i64.const 0x57a2469deacf0139))
exception: i64, from_unsigned, value too long, todo, "12380715672649826460"
{"type":"assert_return","line":240,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12379570969274382345"},{"type":"i64","value":"245"}]},"expected":[{"type":"i64","value":"7534987797011123550"}]}
(assert_return (invoke "rotr" (i64.const 0xabcd1234ef567809) (i64.const 0xf5)) (i64.const 0x6891a77ab3c04d5e))
exception: i64, from_unsigned, value too long, todo, "12379570969274382345"
{"type":"assert_return","line":241,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12379676934707509257"},{"type":"i64","value":"18446744073709551597"}]},"expected":[{"type":"i64","value":"10711665151168044651"}]}
(assert_return (invoke "rotr" (i64.const 0xabcd7294ef567809) (i64.const 0xffffffffffffffed)) (i64.const 0x94a77ab3c04d5e6b))
exception: i64, from_unsigned, value too long, todo, "12379676934707509257"
{"type":"assert_return","line":242,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"12380715672649826460"},{"type":"i64","value":"9223372036854775871"}]},"expected":[{"type":"i64","value":"6314687271590101305"}]}
(assert_return (invoke "rotr" (i64.const 0xabd1234ef567809c) (i64.const 0x800000000000003f)) (i64.const 0x57a2469deacf0139))
exception: i64, from_unsigned, value too long, todo, "12380715672649826460"
{"type":"assert_return","line":243,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"1"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"2"}]}
(assert_return (invoke "rotr" (i64.const 1) (i64.const 63)) (i64.const 2))
ok, result
{"type":"assert_return","line":244,"action":{"type":"invoke","field":"rotr","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"63"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "rotr" (i64.const 0x8000000000000000) (i64.const 63)) (i64.const 1))
ok, result
{"type":"assert_return","line":246,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "clz" (i64.const 0xffffffffffffffff)) (i64.const 0))
ok, result
{"type":"assert_return","line":247,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"64"}]}
(assert_return (invoke "clz" (i64.const 0)) (i64.const 64))
ok, result
{"type":"assert_return","line":248,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"32768"}]},"expected":[{"type":"i64","value":"48"}]}
(assert_return (invoke "clz" (i64.const 0x00008000)) (i64.const 48))
ok, result
{"type":"assert_return","line":249,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"255"}]},"expected":[{"type":"i64","value":"56"}]}
(assert_return (invoke "clz" (i64.const 0xff)) (i64.const 56))
ok, result
{"type":"assert_return","line":250,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "clz" (i64.const 0x8000000000000000)) (i64.const 0))
ok, result
{"type":"assert_return","line":251,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"1"}]},"expected":[{"type":"i64","value":"63"}]}
(assert_return (invoke "clz" (i64.const 1)) (i64.const 63))
ok, result
{"type":"assert_return","line":252,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"2"}]},"expected":[{"type":"i64","value":"62"}]}
(assert_return (invoke "clz" (i64.const 2)) (i64.const 62))
ok, result
{"type":"assert_return","line":253,"action":{"type":"invoke","field":"clz","args":[{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "clz" (i64.const 0x7fffffffffffffff)) (i64.const 1))
ok, result
{"type":"assert_return","line":255,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "ctz" (i64.const -1)) (i64.const 0))
ok, result
{"type":"assert_return","line":256,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"64"}]}
(assert_return (invoke "ctz" (i64.const 0)) (i64.const 64))
ok, result
{"type":"assert_return","line":257,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"32768"}]},"expected":[{"type":"i64","value":"15"}]}
(assert_return (invoke "ctz" (i64.const 0x00008000)) (i64.const 15))
ok, result
{"type":"assert_return","line":258,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"65536"}]},"expected":[{"type":"i64","value":"16"}]}
(assert_return (invoke "ctz" (i64.const 0x00010000)) (i64.const 16))
ok, result
{"type":"assert_return","line":259,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i64","value":"63"}]}
(assert_return (invoke "ctz" (i64.const 0x8000000000000000)) (i64.const 63))
ok, result
{"type":"assert_return","line":260,"action":{"type":"invoke","field":"ctz","args":[{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "ctz" (i64.const 0x7fffffffffffffff)) (i64.const 0))
ok, result
{"type":"assert_return","line":262,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"64"}]}
(assert_return (invoke "popcnt" (i64.const -1)) (i64.const 64))
ok, result
{"type":"assert_return","line":263,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "popcnt" (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":264,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"32768"}]},"expected":[{"type":"i64","value":"1"}]}
(assert_return (invoke "popcnt" (i64.const 0x00008000)) (i64.const 1))
ok, result
{"type":"assert_return","line":265,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"9223512776490647552"}]},"expected":[{"type":"i64","value":"4"}]}
(assert_return (invoke "popcnt" (i64.const 0x8000800080008000)) (i64.const 4))
exception: i64, from_unsigned, value too long, todo, "9223512776490647552"
{"type":"assert_return","line":266,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i64","value":"63"}]}
(assert_return (invoke "popcnt" (i64.const 0x7fffffffffffffff)) (i64.const 63))
ok, result
{"type":"assert_return","line":267,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"12297829381041378645"}]},"expected":[{"type":"i64","value":"32"}]}
(assert_return (invoke "popcnt" (i64.const 0xAAAAAAAA55555555)) (i64.const 32))
ok, result
{"type":"assert_return","line":268,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"11068046444512062122"}]},"expected":[{"type":"i64","value":"32"}]}
(assert_return (invoke "popcnt" (i64.const 0x99999999AAAAAAAA)) (i64.const 32))
exception: i64, from_unsigned, value too long, todo, "11068046444512062122"
{"type":"assert_return","line":269,"action":{"type":"invoke","field":"popcnt","args":[{"type":"i64","value":"16045690984833335023"}]},"expected":[{"type":"i64","value":"48"}]}
(assert_return (invoke "popcnt" (i64.const 0xDEADBEEFDEADBEEF)) (i64.const 48))
exception: i64, from_unsigned, value too long, todo, "16045690984833335023"
{"type":"assert_return","line":271,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend8_s" (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":272,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"127"}]},"expected":[{"type":"i64","value":"127"}]}
(assert_return (invoke "extend8_s" (i64.const 0x7f)) (i64.const 127))
ok, result
{"type":"assert_return","line":273,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"128"}]},"expected":[{"type":"i64","value":"18446744073709551488"}]}
(assert_return (invoke "extend8_s" (i64.const 0x80)) (i64.const -128))
ok, result
{"type":"assert_return","line":274,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"255"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend8_s" (i64.const 0xff)) (i64.const -1))
ok, result
{"type":"assert_return","line":275,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"81985529216486656"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend8_s" (i64.const 0x01234567_89abcd_00)) (i64.const 0))
ok, result
{"type":"assert_return","line":276,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"18364758544493064832"}]},"expected":[{"type":"i64","value":"18446744073709551488"}]}
(assert_return (invoke "extend8_s" (i64.const 0xfedcba98_765432_80)) (i64.const -0x80))
exception: i64, from_unsigned, value too long, todo, "18364758544493064832"
{"type":"assert_return","line":277,"action":{"type":"invoke","field":"extend8_s","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend8_s" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":279,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend16_s" (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":280,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"32767"}]},"expected":[{"type":"i64","value":"32767"}]}
(assert_return (invoke "extend16_s" (i64.const 0x7fff)) (i64.const 32767))
ok, result
{"type":"assert_return","line":281,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"32768"}]},"expected":[{"type":"i64","value":"18446744073709518848"}]}
(assert_return (invoke "extend16_s" (i64.const 0x8000)) (i64.const -32768))
ok, result
{"type":"assert_return","line":282,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"65535"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend16_s" (i64.const 0xffff)) (i64.const -1))
ok, result
{"type":"assert_return","line":283,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"1311768467463733248"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend16_s" (i64.const 0x12345678_9abc_0000)) (i64.const 0))
ok, result
{"type":"assert_return","line":284,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"18364758544493084672"}]},"expected":[{"type":"i64","value":"18446744073709518848"}]}
(assert_return (invoke "extend16_s" (i64.const 0xfedcba98_7654_8000)) (i64.const -0x8000))
exception: i64, from_unsigned, value too long, todo, "18364758544493084672"
{"type":"assert_return","line":285,"action":{"type":"invoke","field":"extend16_s","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend16_s" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":287,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend32_s" (i64.const 0)) (i64.const 0))
ok, result
{"type":"assert_return","line":288,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"32767"}]},"expected":[{"type":"i64","value":"32767"}]}
(assert_return (invoke "extend32_s" (i64.const 0x7fff)) (i64.const 32767))
ok, result
{"type":"assert_return","line":289,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"32768"}]},"expected":[{"type":"i64","value":"32768"}]}
(assert_return (invoke "extend32_s" (i64.const 0x8000)) (i64.const 32768))
ok, result
{"type":"assert_return","line":290,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"65535"}]},"expected":[{"type":"i64","value":"65535"}]}
(assert_return (invoke "extend32_s" (i64.const 0xffff)) (i64.const 65535))
ok, result
{"type":"assert_return","line":291,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"2147483647"}]},"expected":[{"type":"i64","value":"2147483647"}]}
(assert_return (invoke "extend32_s" (i64.const 0x7fffffff)) (i64.const 0x7fffffff))
ok, result
{"type":"assert_return","line":292,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"2147483648"}]},"expected":[{"type":"i64","value":"18446744071562067968"}]}
(assert_return (invoke "extend32_s" (i64.const 0x80000000)) (i64.const -0x80000000))
exception: i64, todo get_unsigned, value is negative: -2147483648
{"type":"assert_return","line":293,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"4294967295"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend32_s" (i64.const 0xffffffff)) (i64.const -1))
ok, result
{"type":"assert_return","line":294,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"81985526906748928"}]},"expected":[{"type":"i64","value":"0"}]}
(assert_return (invoke "extend32_s" (i64.const 0x01234567_00000000)) (i64.const 0))
ok, result
{"type":"assert_return","line":295,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"18364758544655319040"}]},"expected":[{"type":"i64","value":"18446744071562067968"}]}
(assert_return (invoke "extend32_s" (i64.const 0xfedcba98_80000000)) (i64.const -0x80000000))
exception: i64, from_unsigned, value too long, todo, "18364758544655319040"
{"type":"assert_return","line":296,"action":{"type":"invoke","field":"extend32_s","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i64","value":"18446744073709551615"}]}
(assert_return (invoke "extend32_s" (i64.const -1)) (i64.const -1))
ok, result
{"type":"assert_return","line":298,"action":{"type":"invoke","field":"eqz","args":[{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eqz" (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":299,"action":{"type":"invoke","field":"eqz","args":[{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eqz" (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":300,"action":{"type":"invoke","field":"eqz","args":[{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eqz" (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":301,"action":{"type":"invoke","field":"eqz","args":[{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eqz" (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":302,"action":{"type":"invoke","field":"eqz","args":[{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eqz" (i64.const 0xffffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":304,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eq" (i64.const 0) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":305,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eq" (i64.const 1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":306,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const -1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":307,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eq" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":308,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eq" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":309,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "eq" (i64.const -1) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":310,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 1) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":311,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":312,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":313,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":314,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":315,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":316,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":317,"action":{"type":"invoke","field":"eq","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "eq" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":319,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ne" (i64.const 0) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":320,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ne" (i64.const 1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":321,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const -1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":322,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ne" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":323,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ne" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":324,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ne" (i64.const -1) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":325,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 1) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":326,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":327,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":328,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":329,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":330,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":331,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":332,"action":{"type":"invoke","field":"ne","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ne" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":334,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 0) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":335,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":336,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_s" (i64.const -1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":337,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":338,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":339,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const -1) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":340,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 1) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":341,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_s" (i64.const 0) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":342,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_s" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":343,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":344,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_s" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":345,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":346,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_s" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":347,"action":{"type":"invoke","field":"lt_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_s" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":349,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 0) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":350,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":351,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const -1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":352,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":353,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":354,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const -1) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":355,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 1) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":356,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_u" (i64.const 0) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":357,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":358,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_u" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":359,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_u" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":360,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":361,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "lt_u" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":362,"action":{"type":"invoke","field":"lt_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "lt_u" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":364,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":365,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":366,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const -1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":367,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":368,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":369,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const -1) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":370,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_s" (i64.const 1) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":371,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":372,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":373,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_s" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":374,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":375,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_s" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":376,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_s" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":377,"action":{"type":"invoke","field":"le_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_s" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":379,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":380,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":381,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_u" (i64.const -1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":382,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":383,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":384,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const -1) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":385,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_u" (i64.const 1) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":386,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":387,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_u" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":388,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":389,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":390,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_u" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":391,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "le_u" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":392,"action":{"type":"invoke","field":"le_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "le_u" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":394,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":395,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":396,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const -1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":397,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":398,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":399,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const -1) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":400,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_s" (i64.const 1) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":401,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":402,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":403,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_s" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":404,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":405,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_s" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":406,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_s" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":407,"action":{"type":"invoke","field":"gt_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_s" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":409,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":410,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":411,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_u" (i64.const -1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":412,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":413,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":414,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const -1) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":415,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_u" (i64.const 1) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":416,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":417,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_u" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":418,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":419,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":420,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_u" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":421,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "gt_u" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":422,"action":{"type":"invoke","field":"gt_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "gt_u" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":424,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 0) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":425,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":426,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_s" (i64.const -1) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":427,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":428,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":429,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const -1) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":430,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 1) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":431,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_s" (i64.const 0) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":432,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_s" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 0))
ok, result
{"type":"assert_return","line":433,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":434,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_s" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":435,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":436,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_s" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 0))
ok, result
{"type":"assert_return","line":437,"action":{"type":"invoke","field":"ge_s","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_s" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":439,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 0) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":440,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":441,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const -1) (i64.const 1)) (i32.const 1))
ok, result
{"type":"assert_return","line":442,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 0x8000000000000000) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":443,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 0x7fffffffffffffff) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":444,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const -1) (i64.const -1)) (i32.const 1))
ok, result
{"type":"assert_return","line":445,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"1"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 1) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":446,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"1"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_u" (i64.const 0) (i64.const 1)) (i32.const 0))
ok, result
{"type":"assert_return","line":447,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"0"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 0x8000000000000000) (i64.const 0)) (i32.const 1))
ok, result
{"type":"assert_return","line":448,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"0"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_u" (i64.const 0) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_return","line":449,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"18446744073709551615"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_u" (i64.const 0x8000000000000000) (i64.const -1)) (i32.const 0))
ok, result
{"type":"assert_return","line":450,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"18446744073709551615"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const -1) (i64.const 0x8000000000000000)) (i32.const 1))
ok, result
{"type":"assert_return","line":451,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775808"},{"type":"i64","value":"9223372036854775807"}]},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "ge_u" (i64.const 0x8000000000000000) (i64.const 0x7fffffffffffffff)) (i32.const 1))
ok, result
{"type":"assert_return","line":452,"action":{"type":"invoke","field":"ge_u","args":[{"type":"i64","value":"9223372036854775807"},{"type":"i64","value":"9223372036854775808"}]},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "ge_u" (i64.const 0x7fffffffffffffff) (i64.const 0x8000000000000000)) (i32.const 0))
ok, result
{"type":"assert_invalid","line":457,"filename":"i64.1.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":458,"filename":"i64.2.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":459,"filename":"i64.3.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":460,"filename":"i64.4.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":461,"filename":"i64.5.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":462,"filename":"i64.6.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":463,"filename":"i64.7.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":464,"filename":"i64.8.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":465,"filename":"i64.9.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":466,"filename":"i64.10.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":467,"filename":"i64.11.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":468,"filename":"i64.12.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":469,"filename":"i64.13.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":470,"filename":"i64.14.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":471,"filename":"i64.15.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":472,"filename":"i64.16.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":473,"filename":"i64.17.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":474,"filename":"i64.18.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":475,"filename":"i64.19.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":476,"filename":"i64.20.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":477,"filename":"i64.21.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":478,"filename":"i64.22.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":479,"filename":"i64.23.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":480,"filename":"i64.24.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":481,"filename":"i64.25.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":482,"filename":"i64.26.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":483,"filename":"i64.27.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":484,"filename":"i64.28.wasm","text":"type mismatch"}
expected error
{"type":"assert_invalid","line":485,"filename":"i64.29.wasm","text":"type mismatch"}
expected error
{"type":"assert_malformed","line":488,"filename":"i64.30.wat","text":"unexpected token"}
got error: unexpected magic number
{"type":"assert_malformed","line":492,"filename":"i64.31.wat","text":"unexpected token"}
got error: unexpected magic number
Generated at 2024-09-05T14:38:16