diff options
52 files changed, 3562 insertions, 3558 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 082cbed1a..67ec557ef 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -285,8 +285,9 @@ class S2WasmBuilder { Name getAssign() { skipWhitespace(); if (*s != '$') return Name(); - std::string str; const char *before = s; + s++; + std::string str; while (*s && *s != '=' && *s != '\n' && *s != ',') { str += *s; s++; @@ -486,7 +487,7 @@ class S2WasmBuilder { unsigned nextId = 0; auto getNextId = [&nextId]() { - return cashew::IString(('$' + std::to_string(nextId++)).c_str(), false); + return cashew::IString(std::to_string(nextId++).c_str(), false); }; wasm::Builder builder(*wasm); std::vector<NameType> params; @@ -564,11 +565,14 @@ class S2WasmBuilder { if (match("$pop")) { skipToSep(); inputs[i] = nullptr; - } else { + } else if (*s == '$') { + s++; auto curr = allocator->alloc<GetLocal>(); curr->index = func->getLocalIndex(getStrToSep()); curr->type = func->getLocalType(curr->index); inputs[i] = curr; + } else { + abort_on("bad input register"); } if (*s == ')') s++; // tolerate 0(argument) syntax, where we started at the 'a' if (*s == ':') { // tolerate :attribute=value syntax (see getAttributes) @@ -586,9 +590,9 @@ class S2WasmBuilder { return getInputs(1)[0]; }; auto setOutput = [&](Expression* curr, Name assign) { - if (assign.isNull() || assign.str[1] == 'd') { // discard + if (assign.isNull() || assign.str[0] == 'd') { // drop addToBlock(curr); - } else if (assign.str[1] == 'p') { // push + } else if (assign.str[0] == 'p') { // push push(curr); } else { // set to a local auto set = allocator->alloc<SetLocal>(); diff --git a/src/wasm-linker.cpp b/src/wasm-linker.cpp index 7f8aee887..bf65ef615 100644 --- a/src/wasm-linker.cpp +++ b/src/wasm-linker.cpp @@ -355,7 +355,7 @@ void Linker::makeDynCallThunks() { std::vector<NameType> params; params.emplace_back("fptr", i32); // function pointer param int p = 0; - for (const auto& ty : funcType->params) params.emplace_back("$" + std::to_string(p++), ty); + for (const auto& ty : funcType->params) params.emplace_back(std::to_string(p++), ty); Function* f = wasmBuilder.makeFunction(std::string("dynCall_") + sig, std::move(params), funcType->result, {}); Expression* fptr = wasmBuilder.makeGetLocal(0, i32); std::vector<Expression*> args; diff --git a/test/dot_s/alias.wast b/test/dot_s/alias.wast index 64a58a94c..d1e08e136 100644 --- a/test/dot_s/alias.wast +++ b/test/dot_s/alias.wast @@ -7,7 +7,7 @@ (export "dynCall_v" $dynCall_v) (table $__exit) (func $__exit (type $FUNCSIG$v) - (local $$0 i32) + (local $0 i32) (return) ) (func $__needs_exit (result i32) diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast index bc3951633..222e2a0a5 100644 --- a/test/dot_s/basics.wast +++ b/test/dot_s/basics.wast @@ -11,7 +11,7 @@ (export "main" $main) (export "dynCall_iii" $dynCall_iii) (table $main) - (func $main (type $FUNCSIG$iii) (param $$0 i32) (param $$1 i32) (result i32) + (func $main (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) (call_import $puts (i32.const 16) ) @@ -20,13 +20,13 @@ (br_if $label$1 (i32.ne (i32.sub - (get_local $$0) + (get_local $0) (i32.and (i32.add - (get_local $$0) + (get_local $0) (i32.shr_u (i32.shr_s - (get_local $$0) + (get_local $0) (i32.const 31) ) (i32.const 30) @@ -39,39 +39,39 @@ ) ) (loop $label$3 $label$2 - (set_local $$0 + (set_local $0 (i32.add (i32.gt_s - (get_local $$0) + (get_local $0) (i32.const 10) ) - (get_local $$0) + (get_local $0) ) ) (block $label$4 (br_if $label$4 (i32.ne (i32.rem_s - (get_local $$0) + (get_local $0) (i32.const 5) ) (i32.const 3) ) ) - (set_local $$0 + (set_local $0 (i32.add (i32.rem_s - (get_local $$0) + (get_local $0) (i32.const 111) ) - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$1 (i32.eq (i32.rem_s - (get_local $$0) + (get_local $0) (i32.const 7) ) (i32.const 0) @@ -80,24 +80,24 @@ (br $label$2) ) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) + (get_local $0) (i32.const -12) ) ) (i32.const 0) ) (return - (get_local $$0) + (get_local $0) ) ) - (func $dynCall_iii (param $fptr i32) (param $$0 i32) (param $$1 i32) (result i32) + (func $dynCall_iii (param $fptr i32) (param $0 i32) (param $1 i32) (result i32) (return (call_indirect $FUNCSIG$iii (get_local $fptr) - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) diff --git a/test/dot_s/bcp-1.wast b/test/dot_s/bcp-1.wast index 659f9c7b7..e2a625c3f 100644 --- a/test/dot_s/bcp-1.wast +++ b/test/dot_s/bcp-1.wast @@ -46,17 +46,17 @@ (i32.const 0) ) ) - (func $bad2 (type $FUNCSIG$ii) (param $$0 i32) (result i32) + (func $bad2 (type $FUNCSIG$ii) (param $0 i32) (result i32) (return (i32.const 0) ) ) - (func $bad3 (type $FUNCSIG$ii) (param $$0 i32) (result i32) + (func $bad3 (type $FUNCSIG$ii) (param $0 i32) (result i32) (return (i32.const 0) ) ) - (func $bad4 (type $FUNCSIG$ii) (param $$0 i32) (result i32) + (func $bad4 (type $FUNCSIG$ii) (param $0 i32) (result i32) (return (i32.const 0) ) @@ -66,7 +66,7 @@ (i32.const 0) ) ) - (func $bad6 (type $FUNCSIG$ii) (param $$0 i32) (result i32) + (func $bad6 (type $FUNCSIG$ii) (param $0 i32) (result i32) (return (i32.const 0) ) @@ -81,7 +81,7 @@ (i32.const 0) ) ) - (func $bad9 (type $FUNCSIG$ii) (param $$0 i32) (result i32) + (func $bad9 (type $FUNCSIG$ii) (param $0 i32) (result i32) (return (i32.const 0) ) @@ -122,107 +122,107 @@ ) ) (func $main (result i32) - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (set_local $0 (i32.const 0) ) (block $label$0 (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=16 - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=20 - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=24 - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=28 - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=32 - (get_local $$0) + (get_local $0) ) ) ) (br_if $label$0 (call_indirect $FUNCSIG$i (i32.load offset=36 - (get_local $$0) + (get_local $0) ) ) ) - (set_local $$1 + (set_local $1 (i32.load offset=40 - (get_local $$0) + (get_local $0) ) ) - (set_local $$2 + (set_local $2 (i32.const 1) ) (block $label$1 (br_if $label$1 (call_indirect $FUNCSIG$ii - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) (br_if $label$1 (call_indirect $FUNCSIG$ii (i32.load offset=44 - (get_local $$0) + (get_local $0) ) - (get_local $$2) + (get_local $2) ) ) (br_if $label$1 (call_indirect $FUNCSIG$ii (i32.load offset=48 - (get_local $$0) + (get_local $0) ) - (get_local $$2) + (get_local $2) ) ) - (set_local $$1 + (set_local $1 (i32.load offset=52 - (get_local $$0) + (get_local $0) ) ) - (set_local $$2 + (set_local $2 (i32.const 96) ) (block $label$2 (br_if $label$2 (call_indirect $FUNCSIG$ii - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) (br_if $label$2 (call_indirect $FUNCSIG$ii (i32.load offset=56 - (get_local $$0) + (get_local $0) ) - (get_local $$2) + (get_local $2) ) ) (block $label$3 @@ -230,7 +230,7 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=60 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) @@ -240,7 +240,7 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=64 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) @@ -250,7 +250,7 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=68 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) @@ -261,7 +261,7 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=72 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) @@ -271,7 +271,7 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=76 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) @@ -281,14 +281,14 @@ (i32.eq (call_indirect $FUNCSIG$i (i32.load offset=80 - (get_local $$0) + (get_local $0) ) ) (i32.const 0) ) ) (call_import $exit - (get_local $$0) + (get_local $0) ) (unreachable) ) @@ -314,11 +314,11 @@ ) ) ) - (func $dynCall_ii (param $fptr i32) (param $$0 i32) (result i32) + (func $dynCall_ii (param $fptr i32) (param $0 i32) (result i32) (return (call_indirect $FUNCSIG$ii (get_local $fptr) - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/dot_s/dyncall.wast b/test/dot_s/dyncall.wast index 3d82924f2..0dd49aba7 100644 --- a/test/dot_s/dyncall.wast +++ b/test/dot_s/dyncall.wast @@ -21,20 +21,20 @@ (i32.const 0) ) ) - (func $jf (type $FUNCSIG$jf) (param $$0 f32) (result i64) + (func $jf (type $FUNCSIG$jf) (param $0 f32) (result i64) (return (i64.const 0) ) ) - (func $vd (type $FUNCSIG$vd) (param $$0 f64) + (func $vd (type $FUNCSIG$vd) (param $0 f64) (return) ) - (func $ffjjdi (type $FUNCSIG$ffjjdi) (param $$0 f32) (param $$1 i64) (param $$2 i64) (param $$3 f64) (param $$4 i32) (result f32) + (func $ffjjdi (type $FUNCSIG$ffjjdi) (param $0 f32) (param $1 i64) (param $2 i64) (param $3 f64) (param $4 i32) (result f32) (return (f32.const 0) ) ) - (func $vd2 (type $FUNCSIG$vd) (param $$0 f64) + (func $vd2 (type $FUNCSIG$vd) (param $0 f64) (return) ) (func $main (result i32) @@ -54,29 +54,29 @@ ) ) ) - (func $dynCall_jf (param $fptr i32) (param $$0 f32) (result i64) + (func $dynCall_jf (param $fptr i32) (param $0 f32) (result i64) (return (call_indirect $FUNCSIG$jf (get_local $fptr) - (get_local $$0) + (get_local $0) ) ) ) - (func $dynCall_vd (param $fptr i32) (param $$0 f64) + (func $dynCall_vd (param $fptr i32) (param $0 f64) (call_indirect $FUNCSIG$vd (get_local $fptr) - (get_local $$0) + (get_local $0) ) ) - (func $dynCall_ffjjdi (param $fptr i32) (param $$0 f32) (param $$1 i64) (param $$2 i64) (param $$3 f64) (param $$4 i32) (result f32) + (func $dynCall_ffjjdi (param $fptr i32) (param $0 f32) (param $1 i64) (param $2 i64) (param $3 f64) (param $4 i32) (result f32) (return (call_indirect $FUNCSIG$ffjjdi (get_local $fptr) - (get_local $$0) - (get_local $$1) - (get_local $$2) - (get_local $$3) - (get_local $$4) + (get_local $0) + (get_local $1) + (get_local $2) + (get_local $3) + (get_local $4) ) ) ) diff --git a/test/dot_s/exit.wast b/test/dot_s/exit.wast index 77fb13b0b..445021b56 100644 --- a/test/dot_s/exit.wast +++ b/test/dot_s/exit.wast @@ -5,7 +5,7 @@ (import $exit "env" "exit" (param i32)) (export "main" $main) (func $main (result i32) - (local $$0 i32) + (local $0 i32) (call_import $exit (i32.const 0) ) diff --git a/test/dot_s/function-data-sections.wast b/test/dot_s/function-data-sections.wast index 784e42d97..82aa6f8c9 100644 --- a/test/dot_s/function-data-sections.wast +++ b/test/dot_s/function-data-sections.wast @@ -11,16 +11,16 @@ (func $foo (return) ) - (func $bar (param $$0 i32) (result i32) + (func $bar (param $0 i32) (result i32) (return - (get_local $$0) + (get_local $0) ) ) - (func $qux (param $$0 f64) (param $$1 f64) (result f64) + (func $qux (param $0 f64) (param $1 f64) (result f64) (return (f64.add - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) diff --git a/test/dot_s/macClangMetaData.wast b/test/dot_s/macClangMetaData.wast index 032f78620..ed41e459c 100644 --- a/test/dot_s/macClangMetaData.wast +++ b/test/dot_s/macClangMetaData.wast @@ -6,7 +6,7 @@ (type $FUNCSIG$ii (func (param i32) (result i32))) (import $puts "env" "puts" (param i32) (result i32)) (export "main" $main) - (func $main (param $$0 i32) (param $$1 i32) (result i32) + (func $main (param $0 i32) (param $1 i32) (result i32) (call_import $puts (i32.const 16) ) diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast index 124cafd68..07d5caec3 100644 --- a/test/dot_s/memops.wast +++ b/test/dot_s/memops.wast @@ -6,10 +6,10 @@ (type $FUNCSIG$vi (func (param i32))) (import $emscripten_asm_const_vi "env" "emscripten_asm_const_vi" (param i32)) (export "main" $main) - (func $_Z6reporti (param $$0 i32) + (func $_Z6reporti (param $0 i32) (i32.store (i32.const 8) - (get_local $$0) + (get_local $0) ) (call_import $emscripten_asm_const_vi (i32.const 0) @@ -17,147 +17,147 @@ (return) ) (func $main (result i32) - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (local $$6 i32) - (local $$7 i32) - (local $$8 i32) - (local $$9 i32) - (local $$10 i32) - (local $$11 i32) - (local $$12 i32) - (set_local $$7 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (local $10 i32) + (local $11 i32) + (local $12 i32) + (set_local $7 (i32.const 0) ) - (set_local $$7 + (set_local $7 (i32.load - (get_local $$7) + (get_local $7) ) ) - (set_local $$8 + (set_local $8 (i32.const 1048576) ) - (set_local $$12 + (set_local $12 (i32.sub - (get_local $$7) - (get_local $$8) + (get_local $7) + (get_local $8) ) ) - (set_local $$8 + (set_local $8 (i32.const 0) ) - (set_local $$12 + (set_local $12 (i32.store - (get_local $$8) - (get_local $$12) + (get_local $8) + (get_local $12) ) ) - (set_local $$1 + (set_local $1 (i32.const 0) ) - (set_local $$0 - (get_local $$1) + (set_local $0 + (get_local $1) ) - (set_local $$6 - (get_local $$1) + (set_local $6 + (get_local $1) ) (loop $label$1 $label$0 - (set_local $$4 - (get_local $$1) + (set_local $4 + (get_local $1) ) (loop $label$3 $label$2 - (set_local $$10 + (set_local $10 (i32.const 0) ) - (set_local $$10 + (set_local $10 (i32.add - (get_local $$12) - (get_local $$10) + (get_local $12) + (get_local $10) ) ) (i32.store8 (i32.add - (get_local $$10) - (get_local $$4) + (get_local $10) + (get_local $4) ) (i32.add - (get_local $$6) - (get_local $$4) + (get_local $6) + (get_local $4) ) ) - (set_local $$2 + (set_local $2 (i32.const 1) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) - (get_local $$2) + (get_local $4) + (get_local $2) ) ) - (set_local $$3 + (set_local $3 (i32.const 1048576) ) - (set_local $$5 - (get_local $$1) + (set_local $5 + (get_local $1) ) (br_if $label$2 (i32.ne - (get_local $$4) - (get_local $$3) + (get_local $4) + (get_local $3) ) ) ) (loop $label$5 $label$4 - (set_local $$11 + (set_local $11 (i32.const 0) ) - (set_local $$11 + (set_local $11 (i32.add - (get_local $$12) - (get_local $$11) + (get_local $12) + (get_local $11) ) ) - (set_local $$6 + (set_local $6 (i32.add (i32.and (i32.load8_u (i32.add - (get_local $$11) - (get_local $$5) + (get_local $11) + (get_local $5) ) ) - (get_local $$2) + (get_local $2) ) - (get_local $$6) + (get_local $6) ) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$5) - (get_local $$2) + (get_local $5) + (get_local $2) ) ) (br_if $label$4 (i32.ne - (get_local $$5) - (get_local $$3) + (get_local $5) + (get_local $3) ) ) ) - (set_local $$6 + (set_local $6 (i32.and (i32.add (i32.add (i32.mul - (get_local $$6) + (get_local $6) (i32.const 3) ) (i32.div_s - (get_local $$6) + (get_local $6) (i32.const 5) ) ) @@ -166,38 +166,38 @@ (i32.const 65535) ) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) - (get_local $$2) + (get_local $0) + (get_local $2) ) ) (br_if $label$0 (i32.ne - (get_local $$0) + (get_local $0) (i32.const 100) ) ) ) (call $_Z6reporti - (get_local $$6) + (get_local $6) ) - (set_local $$9 + (set_local $9 (i32.const 1048576) ) - (set_local $$12 + (set_local $12 (i32.add - (get_local $$12) - (get_local $$9) + (get_local $12) + (get_local $9) ) ) - (set_local $$9 + (set_local $9 (i32.const 0) ) - (set_local $$12 + (set_local $12 (i32.store - (get_local $$9) - (get_local $$12) + (get_local $9) + (get_local $12) ) ) (return diff --git a/test/dot_s/relocation.wast b/test/dot_s/relocation.wast index 22b79d572..35fcd1562 100644 --- a/test/dot_s/relocation.wast +++ b/test/dot_s/relocation.wast @@ -6,7 +6,7 @@ (export "memory" memory) (export "main" $main) (func $main (result i32) - (local $$0 i32) + (local $0 i32) (return (i32.load (i32.const 16) diff --git a/test/dot_s/start_main2.wast b/test/dot_s/start_main2.wast index ed1bf6935..ab8bc56dd 100644 --- a/test/dot_s/start_main2.wast +++ b/test/dot_s/start_main2.wast @@ -4,9 +4,9 @@ (start $_start) (export "main" $main) (export "_start" $_start) - (func $main (param $$0 i32) (param $$1 i32) (result i32) + (func $main (param $0 i32) (param $1 i32) (result i32) (return - (get_local $$0) + (get_local $0) ) ) (func $_start diff --git a/test/dot_s/symbolic-offset.wast b/test/dot_s/symbolic-offset.wast index 9cf6b3b3e..15ec8f1be 100644 --- a/test/dot_s/symbolic-offset.wast +++ b/test/dot_s/symbolic-offset.wast @@ -4,10 +4,10 @@ ) (export "memory" memory) (export "f" $f) - (func $f (param $$0 i32) (param $$1 i32) + (func $f (param $0 i32) (param $1 i32) (i32.store offset=16 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/llvm_autogenerated/byval.wast b/test/llvm_autogenerated/byval.wast index 82c43ea1a..edacb3d3b 100644 --- a/test/llvm_autogenerated/byval.wast +++ b/test/llvm_autogenerated/byval.wast @@ -14,379 +14,379 @@ (export "byval_arg_double" $byval_arg_double) (export "byval_arg_big" $byval_arg_big) (export "byval_param" $byval_param) - (func $byval_arg (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (set_local $$1 + (func $byval_arg (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$5 + (set_local $5 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$5 + (set_local $5 (i32.store - (get_local $$2) - (get_local $$5) + (get_local $2) + (get_local $5) ) ) (i32.store offset=12 - (get_local $$5) + (get_local $5) (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$4 + (set_local $4 (i32.const 12) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$5) - (get_local $$4) + (get_local $5) + (get_local $4) ) ) (call_import $ext_byval_func - (get_local $$4) + (get_local $4) ) - (set_local $$3 + (set_local $3 (i32.const 16) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$5) - (get_local $$3) + (get_local $5) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$5 + (set_local $5 (i32.store - (get_local $$3) - (get_local $$5) + (get_local $3) + (get_local $5) ) ) (return) ) - (func $byval_arg_align8 (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (set_local $$1 + (func $byval_arg_align8 (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$5 + (set_local $5 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$5 + (set_local $5 (i32.store - (get_local $$2) - (get_local $$5) + (get_local $2) + (get_local $5) ) ) (i32.store offset=8 align=8 - (get_local $$5) + (get_local $5) (i32.load align=8 - (get_local $$0) + (get_local $0) ) ) - (set_local $$4 + (set_local $4 (i32.const 8) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$5) - (get_local $$4) + (get_local $5) + (get_local $4) ) ) (call_import $ext_byval_func_align8 - (get_local $$4) + (get_local $4) ) - (set_local $$3 + (set_local $3 (i32.const 16) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$5) - (get_local $$3) + (get_local $5) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$5 + (set_local $5 (i32.store - (get_local $$3) - (get_local $$5) + (get_local $3) + (get_local $5) ) ) (return) ) - (func $byval_arg_double (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$1 + (func $byval_arg_double (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$4 + (set_local $4 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) (i64.store (i32.add - (get_local $$4) + (get_local $4) (i32.const 8) ) (i64.load (i32.add - (get_local $$0) + (get_local $0) (i32.const 8) ) ) ) (i64.store - (get_local $$4) + (get_local $4) (i64.load - (get_local $$0) + (get_local $0) ) ) (call_import $ext_byval_func_alignedstruct - (get_local $$4) + (get_local $4) ) - (set_local $$3 + (set_local $3 (i32.const 16) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) - (get_local $$3) + (get_local $4) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$3) - (get_local $$4) + (get_local $3) + (get_local $4) ) ) (return) ) - (func $byval_arg_big (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (local $$6 i32) - (local $$7 i32) - (local $$8 i32) - (local $$9 i32) - (set_local $$1 + (func $byval_arg_big (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (local $9 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 48) ) - (set_local $$9 + (set_local $9 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$9 + (set_local $9 (i32.store - (get_local $$2) - (get_local $$9) + (get_local $2) + (get_local $9) ) ) - (set_local $$4 + (set_local $4 (i32.const 12) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$9) - (get_local $$4) + (get_local $9) + (get_local $4) ) ) (i32.store8 align=4 (i32.add - (get_local $$4) + (get_local $4) (i32.const 32) ) (i32.load8_u (i32.add - (get_local $$0) + (get_local $0) (i32.const 32) ) ) ) - (set_local $$5 + (set_local $5 (i32.const 12) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$9) - (get_local $$5) + (get_local $9) + (get_local $5) ) ) (i64.store align=4 (i32.add - (get_local $$5) + (get_local $5) (i32.const 24) ) (i64.load align=1 (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) ) ) - (set_local $$6 + (set_local $6 (i32.const 12) ) - (set_local $$6 + (set_local $6 (i32.add - (get_local $$9) - (get_local $$6) + (get_local $9) + (get_local $6) ) ) (i64.store align=4 (i32.add - (get_local $$6) + (get_local $6) (i32.const 16) ) (i64.load align=1 (i32.add - (get_local $$0) + (get_local $0) (i32.const 16) ) ) ) - (set_local $$7 + (set_local $7 (i32.const 12) ) - (set_local $$7 + (set_local $7 (i32.add - (get_local $$9) - (get_local $$7) + (get_local $9) + (get_local $7) ) ) (i64.store align=4 (i32.add - (get_local $$7) + (get_local $7) (i32.const 8) ) (i64.load align=1 (i32.add - (get_local $$0) + (get_local $0) (i32.const 8) ) ) ) (i64.store offset=12 align=4 - (get_local $$9) + (get_local $9) (i64.load align=1 - (get_local $$0) + (get_local $0) ) ) - (set_local $$8 + (set_local $8 (i32.const 12) ) - (set_local $$8 + (set_local $8 (i32.add - (get_local $$9) - (get_local $$8) + (get_local $9) + (get_local $8) ) ) (call_import $ext_byval_func_bigarray - (get_local $$8) + (get_local $8) ) - (set_local $$3 + (set_local $3 (i32.const 48) ) - (set_local $$9 + (set_local $9 (i32.add - (get_local $$9) - (get_local $$3) + (get_local $9) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$9 + (set_local $9 (i32.store - (get_local $$3) - (get_local $$9) + (get_local $3) + (get_local $9) ) ) (return) ) - (func $byval_param (param $$0 i32) + (func $byval_param (param $0 i32) (call_import $ext_func - (get_local $$0) + (get_local $0) ) (return) ) diff --git a/test/llvm_autogenerated/call.wast b/test/llvm_autogenerated/call.wast index abaa2454f..812667aec 100644 --- a/test/llvm_autogenerated/call.wast +++ b/test/llvm_autogenerated/call.wast @@ -53,31 +53,31 @@ (call_import $void_nullary) (return) ) - (func $call_i32_unary (param $$0 i32) (result i32) + (func $call_i32_unary (param $0 i32) (result i32) (return (call_import $i32_unary - (get_local $$0) + (get_local $0) ) ) ) - (func $call_i32_binary (param $$0 i32) (param $$1 i32) (result i32) + (func $call_i32_binary (param $0 i32) (param $1 i32) (result i32) (return (call_import $i32_binary - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $call_indirect_void (param $$0 i32) + (func $call_indirect_void (param $0 i32) (call_indirect $FUNCSIG$v - (get_local $$0) + (get_local $0) ) (return) ) - (func $call_indirect_i32 (param $$0 i32) (result i32) + (func $call_indirect_i32 (param $0 i32) (result i32) (return (call_indirect $FUNCSIG$i - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/cfg-stackify.wast b/test/llvm_autogenerated/cfg-stackify.wast index 18475333c..8f2f58820 100644 --- a/test/llvm_autogenerated/cfg-stackify.wast +++ b/test/llvm_autogenerated/cfg-stackify.wast @@ -32,22 +32,22 @@ (export "test12" $test12) (export "test13" $test13) (export "test14" $test14) - (func $test0 (param $$0 i32) - (local $$1 i32) - (set_local $$1 + (func $test0 (param $0 i32) + (local $1 i32) + (set_local $1 (i32.const 0) ) (loop $label$1 $label$0 - (set_local $$1 + (set_local $1 (i32.add - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (br_if $label$1 (i32.ge_s - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) (call_import $something) @@ -55,22 +55,22 @@ ) (return) ) - (func $test1 (param $$0 i32) - (local $$1 i32) - (set_local $$1 + (func $test1 (param $0 i32) + (local $1 i32) + (set_local $1 (i32.const 0) ) (loop $label$1 $label$0 - (set_local $$1 + (set_local $1 (i32.add - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (br_if $label$1 (i32.ge_s - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) (call_import $something) @@ -78,317 +78,317 @@ ) (return) ) - (func $test2 (param $$0 i32) (param $$1 i32) + (func $test2 (param $0 i32) (param $1 i32) (block $label$0 (br_if $label$0 (i32.lt_s - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (loop $label$2 $label$1 - (set_local $$1 + (set_local $1 (i32.add - (get_local $$1) + (get_local $1) (i32.const -1) ) ) (f64.store - (get_local $$0) + (get_local $0) (f64.mul (f64.load - (get_local $$0) + (get_local $0) ) (f64.const 3.2) ) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) + (get_local $0) (i32.const 8) ) ) (br_if $label$1 - (get_local $$1) + (get_local $1) ) ) ) (return) ) - (func $doublediamond (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $doublediamond (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (i32.store - (get_local $$2) + (get_local $2) (i32.const 0) ) (block $label$0 (block $label$1 (br_if $label$1 - (get_local $$0) + (get_local $0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 1) ) (br $label$0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 2) ) (block $label$2 (br_if $label$2 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 3) ) (br $label$0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 4) ) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 5) ) (return (i32.const 0) ) ) - (func $triangle (param $$0 i32) (param $$1 i32) (result i32) - (local $$2 i32) - (set_local $$2 + (func $triangle (param $0 i32) (param $1 i32) (result i32) + (local $2 i32) + (set_local $2 (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) ) (block $label$0 (br_if $label$0 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 2) ) (return - (get_local $$2) + (get_local $2) ) ) - (func $diamond (param $$0 i32) (param $$1 i32) (result i32) + (func $diamond (param $0 i32) (param $1 i32) (result i32) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (block $label$0 (block $label$1 (br_if $label$1 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) (br $label$0) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 2) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 3) ) (return (i32.const 0) ) ) - (func $single_block (param $$0 i32) (result i32) + (func $single_block (param $0 i32) (result i32) (return (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) ) ) - (func $minimal_loop (param $$0 i32) (result i32) + (func $minimal_loop (param $0 i32) (result i32) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (loop $label$1 $label$0 (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) (br $label$0) ) ) - (func $simple_loop (param $$0 i32) (param $$1 i32) (result i32) + (func $simple_loop (param $0 i32) (param $1 i32) (result i32) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (loop $label$1 $label$0 (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) (br_if $label$0 (i32.eq - (get_local $$1) + (get_local $1) (i32.const 0) ) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 2) ) (return (i32.const 0) ) ) - (func $doubletriangle (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) - (local $$3 i32) - (set_local $$3 + (func $doubletriangle (param $0 i32) (param $1 i32) (param $2 i32) (result i32) + (local $3 i32) + (set_local $3 (i32.store - (get_local $$2) + (get_local $2) (i32.const 0) ) ) (block $label$0 (br_if $label$0 - (get_local $$0) + (get_local $0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 2) ) (block $label$1 (br_if $label$1 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 3) ) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 4) ) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 5) ) (return - (get_local $$3) + (get_local $3) ) ) - (func $ifelse_earlyexits (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $ifelse_earlyexits (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (i32.store - (get_local $$2) + (get_local $2) (i32.const 0) ) (block $label$0 (block $label$1 (br_if $label$1 - (get_local $$0) + (get_local $0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 1) ) (br $label$0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 2) ) (br_if $label$0 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 3) ) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 4) ) (return (i32.const 0) ) ) - (func $doublediamond_in_a_loop (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $doublediamond_in_a_loop (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (loop $label$1 $label$0 (i32.store - (get_local $$2) + (get_local $2) (i32.const 0) ) (block $label$2 (block $label$3 (br_if $label$3 - (get_local $$0) + (get_local $0) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 1) ) (br $label$2) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 2) ) (block $label$4 (br_if $label$4 - (get_local $$1) + (get_local $1) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 3) ) (br $label$2) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 4) ) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 5) ) (br $label$0) ) ) - (func $test3 (param $$0 i32) + (func $test3 (param $0 i32) (block $label$0 (br_if $label$0 (i32.const 0) ) (loop $label$2 $label$1 (br_if $label$2 - (get_local $$0) + (get_local $0) ) (loop $label$4 $label$3 (br_if $label$3 (i32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) ) ) @@ -399,26 +399,26 @@ ) (return) ) - (func $test4 (param $$0 i32) + (func $test4 (param $0 i32) (block $label$0 (block $label$1 (block $label$2 (br_if $label$2 (i32.gt_s - (get_local $$0) + (get_local $0) (i32.const 3) ) ) (block $label$3 (br_if $label$3 (i32.eq - (get_local $$0) + (get_local $0) (i32.const 0) ) ) (br_if $label$1 (i32.ne - (get_local $$0) + (get_local $0) (i32.const 2) ) ) @@ -427,13 +427,13 @@ ) (br_if $label$0 (i32.eq - (get_local $$0) + (get_local $0) (i32.const 4) ) ) (br_if $label$1 (i32.ne - (get_local $$0) + (get_local $0) (i32.const 622) ) ) @@ -443,23 +443,23 @@ ) (return) ) - (func $test5 (param $$0 i32) (param $$1 i32) - (local $$2 i32) - (set_local $$0 + (func $test5 (param $0 i32) (param $1 i32) + (local $2 i32) + (set_local $0 (i32.and - (get_local $$0) + (get_local $0) (i32.const 1) ) ) - (set_local $$2 + (set_local $2 (i32.and - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (block $label$0 (loop $label$2 $label$1 - (set_local $$1 + (set_local $1 (i32.store (i32.const 0) (i32.const 0) @@ -467,16 +467,16 @@ ) (br_if $label$0 (i32.eq - (get_local $$0) + (get_local $0) (i32.const 0) ) ) (i32.store - (get_local $$1) + (get_local $1) (i32.const 1) ) (br_if $label$1 - (get_local $$2) + (get_local $2) ) ) (i32.store @@ -491,20 +491,20 @@ ) (return) ) - (func $test6 (param $$0 i32) (param $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$2 + (func $test6 (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $2 (i32.and - (get_local $$0) + (get_local $0) (i32.const 1) ) ) (block $label$0 (block $label$1 (loop $label$3 $label$2 - (set_local $$0 + (set_local $0 (i32.store (i32.const 0) (i32.const 0) @@ -512,18 +512,18 @@ ) (br_if $label$0 (i32.eq - (get_local $$2) + (get_local $2) (i32.const 0) ) ) (br_if $label$1 (i32.eq - (set_local $$3 + (set_local $3 (i32.and - (get_local $$1) - (set_local $$4 + (get_local $1) + (set_local $4 (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) ) @@ -533,11 +533,11 @@ ) ) (i32.store - (get_local $$0) - (get_local $$4) + (get_local $0) + (get_local $4) ) (br_if $label$2 - (get_local $$3) + (get_local $3) ) ) (i32.store @@ -557,40 +557,40 @@ ) (return) ) - (func $test7 (param $$0 i32) (param $$1 i32) - (local $$2 i32) - (local $$3 i32) - (set_local $$2 + (func $test7 (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i32) + (set_local $2 (i32.store (i32.const 0) (i32.const 0) ) ) - (set_local $$3 + (set_local $3 (i32.and - (get_local $$0) + (get_local $0) (i32.const 1) ) ) (loop $label$1 $label$0 - (set_local $$0 + (set_local $0 (i32.store - (get_local $$2) + (get_local $2) (i32.const 1) ) ) (block $label$2 (br_if $label$2 - (get_local $$3) + (get_local $3) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 2) ) (br_if $label$0 (i32.and - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) (i32.store @@ -600,13 +600,13 @@ (unreachable) ) (i32.store - (get_local $$2) + (get_local $2) (i32.const 3) ) (br_if $label$0 (i32.and - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) ) @@ -641,9 +641,9 @@ ) ) (func $test9 - (local $$0 i32) - (local $$1 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (set_local $0 (i32.store (i32.const 0) (i32.const 0) @@ -653,9 +653,9 @@ (br_if $label$1 (i32.eq (i32.and - (set_local $$1 + (set_local $1 (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) ) @@ -666,7 +666,7 @@ ) (loop $label$3 $label$2 (i32.store - (get_local $$0) + (get_local $0) (i32.const 2) ) (block $label$4 @@ -674,31 +674,31 @@ (i32.eq (i32.and (call_import $a) - (get_local $$1) + (get_local $1) ) (i32.const 0) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 3) ) (br_if $label$2 (i32.and (call_import $a) - (get_local $$1) + (get_local $1) ) ) (br $label$0) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 4) ) (br_if $label$2 (i32.and (call_import $a) - (get_local $$1) + (get_local $1) ) ) (br $label$0) @@ -711,75 +711,75 @@ (return) ) (func $test10 - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $0 (i32.const 2) ) (loop $label$1 $label$0 - (set_local $$4 - (get_local $$1) + (set_local $4 + (get_local $1) ) - (set_local $$3 - (get_local $$0) + (set_local $3 + (get_local $0) ) - (set_local $$1 + (set_local $1 (i32.const 0) ) - (set_local $$0 + (set_local $0 (i32.const 3) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) (br_if $label$0 - (get_local $$4) + (get_local $4) ) (block $label$2 (loop $label$4 $label$3 - (set_local $$4 - (get_local $$3) + (set_local $4 + (get_local $3) ) - (set_local $$3 - (get_local $$2) + (set_local $3 + (get_local $2) ) (loop $label$6 $label$5 - (set_local $$2 - (get_local $$4) + (set_local $2 + (get_local $4) ) (br_if $label$0 (i32.gt_u - (get_local $$2) + (get_local $2) (i32.const 4) ) ) - (set_local $$4 - (get_local $$3) + (set_local $4 + (get_local $3) ) (br_table $label$5 $label$6 $label$0 $label$3 $label$2 $label$5 - (get_local $$2) + (get_local $2) ) ) ) (return) ) - (set_local $$1 + (set_local $1 (i32.const 1) ) (br $label$0) ) ) (func $test11 - (local $$0 i32) + (local $0 i32) (block $label$0 (block $label$1 (block $label$2 (block $label$3 (br_if $label$3 - (set_local $$0 + (set_local $0 (i32.store (i32.const 0) (i32.const 0) @@ -787,12 +787,12 @@ ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 1) ) (block $label$4 (br_if $label$4 - (get_local $$0) + (get_local $0) ) (i32.store (i32.const 0) @@ -809,11 +809,11 @@ (return) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 4) ) (br_if $label$0 - (get_local $$0) + (get_local $0) ) (i32.store (i32.const 0) @@ -844,17 +844,17 @@ ) (return) ) - (func $test12 (param $$0 i32) - (local $$1 i32) + (func $test12 (param $0 i32) + (local $1 i32) (loop $label$1 $label$0 (block $label$2 (block $label$3 (block $label$4 (br_if $label$4 (i32.gt_s - (set_local $$1 + (set_local $1 (i32.load8_u - (get_local $$0) + (get_local $0) ) ) (i32.const 103) @@ -862,13 +862,13 @@ ) (br_if $label$2 (i32.eq - (get_local $$1) + (get_local $1) (i32.const 42) ) ) (br_if $label$2 (i32.eq - (get_local $$1) + (get_local $1) (i32.const 76) ) ) @@ -876,22 +876,22 @@ ) (br_if $label$2 (i32.eq - (get_local $$1) + (get_local $1) (i32.const 108) ) ) (br_if $label$2 (i32.eq - (get_local $$1) + (get_local $1) (i32.const 104) ) ) ) (return) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) + (get_local $0) (i32.const 1) ) ) @@ -899,7 +899,7 @@ ) ) (func $test13 - (local $$0 i32) + (local $0 i32) (block $label$0 (br_if $label$0 (i32.eq @@ -909,14 +909,14 @@ ) (return) ) - (set_local $$0 + (set_local $0 (i32.const 0) ) (block $label$1 (br_if $label$1 (i32.const 0) ) - (set_local $$0 + (set_local $0 (i32.const 0) ) ) @@ -924,7 +924,7 @@ (br_if $label$2 (i32.eq (i32.and - (get_local $$0) + (get_local $0) (i32.const 1) ) (i32.const 0) diff --git a/test/llvm_autogenerated/comparisons_f32.wast b/test/llvm_autogenerated/comparisons_f32.wast index cf50ff5fa..2ab127beb 100644 --- a/test/llvm_autogenerated/comparisons_f32.wast +++ b/test/llvm_autogenerated/comparisons_f32.wast @@ -17,197 +17,197 @@ (export "ule_f32" $ule_f32) (export "ugt_f32" $ugt_f32) (export "uge_f32" $uge_f32) - (func $ord_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ord_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.and (f32.eq - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.eq - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) - (func $uno_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $uno_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) - (func $oeq_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $oeq_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $une_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $une_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $olt_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $olt_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.lt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ole_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ole_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.le - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ogt_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ogt_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.gt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $oge_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $oge_f32 (param $0 f32) (param $1 f32) (result i32) (return (f32.ge - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ueq_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ueq_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $one_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $one_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.and (f32.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.and (f32.eq - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.eq - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ult_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ult_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.lt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ule_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ule_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.le - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ugt_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $ugt_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.gt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $uge_f32 (param $$0 f32) (param $$1 f32) (result i32) + (func $uge_f32 (param $0 f32) (param $1 f32) (result i32) (return (i32.or (f32.ge - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f32.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f32.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/comparisons_f64.wast b/test/llvm_autogenerated/comparisons_f64.wast index d2af5822e..8d9ddf0c0 100644 --- a/test/llvm_autogenerated/comparisons_f64.wast +++ b/test/llvm_autogenerated/comparisons_f64.wast @@ -17,197 +17,197 @@ (export "ule_f64" $ule_f64) (export "ugt_f64" $ugt_f64) (export "uge_f64" $uge_f64) - (func $ord_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ord_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.and (f64.eq - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.eq - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) - (func $uno_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $uno_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) - (func $oeq_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $oeq_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $une_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $une_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $olt_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $olt_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.lt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ole_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ole_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.le - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ogt_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ogt_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.gt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $oge_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $oge_f64 (param $0 f64) (param $1 f64) (result i32) (return (f64.ge - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ueq_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ueq_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $one_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $one_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.and (f64.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.and (f64.eq - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.eq - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ult_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ult_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.lt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ule_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ule_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.le - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $ugt_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $ugt_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.gt - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) ) ) - (func $uge_f64 (param $$0 f64) (param $$1 f64) (result i32) + (func $uge_f64 (param $0 f64) (param $1 f64) (result i32) (return (i32.or (f64.ge - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.or (f64.ne - (get_local $$0) - (get_local $$0) + (get_local $0) + (get_local $0) ) (f64.ne - (get_local $$1) - (get_local $$1) + (get_local $1) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/comparisons_i32.wast b/test/llvm_autogenerated/comparisons_i32.wast index 6664e214a..2e9a074ee 100644 --- a/test/llvm_autogenerated/comparisons_i32.wast +++ b/test/llvm_autogenerated/comparisons_i32.wast @@ -13,83 +13,83 @@ (export "sge_i32" $sge_i32) (export "ugt_i32" $ugt_i32) (export "uge_i32" $uge_i32) - (func $eq_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $eq_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ne_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $ne_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $slt_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $slt_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.lt_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sle_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sle_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.le_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ult_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $ult_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.lt_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ule_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $ule_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.le_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sgt_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sgt_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.gt_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sge_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sge_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.ge_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ugt_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $ugt_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.gt_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $uge_i32 (param $$0 i32) (param $$1 i32) (result i32) + (func $uge_i32 (param $0 i32) (param $1 i32) (result i32) (return (i32.ge_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/comparisons_i64.wast b/test/llvm_autogenerated/comparisons_i64.wast index ea1c2c607..2bf520862 100644 --- a/test/llvm_autogenerated/comparisons_i64.wast +++ b/test/llvm_autogenerated/comparisons_i64.wast @@ -13,83 +13,83 @@ (export "sge_i64" $sge_i64) (export "ugt_i64" $ugt_i64) (export "uge_i64" $uge_i64) - (func $eq_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $eq_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.eq - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ne_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $ne_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.ne - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $slt_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $slt_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.lt_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sle_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $sle_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.le_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ult_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $ult_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.lt_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ule_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $ule_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.le_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sgt_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $sgt_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.gt_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sge_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $sge_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.ge_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $ugt_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $ugt_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.gt_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $uge_i64 (param $$0 i64) (param $$1 i64) (result i32) + (func $uge_i64 (param $0 i64) (param $1 i64) (result i32) (return (i64.ge_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/conv.wast b/test/llvm_autogenerated/conv.wast index a537d8371..273217a23 100644 --- a/test/llvm_autogenerated/conv.wast +++ b/test/llvm_autogenerated/conv.wast @@ -29,188 +29,188 @@ (export "bitcast_float_to_i32" $bitcast_float_to_i32) (export "bitcast_i64_to_double" $bitcast_i64_to_double) (export "bitcast_double_to_i64" $bitcast_double_to_i64) - (func $i32_wrap_i64 (param $$0 i64) (result i32) + (func $i32_wrap_i64 (param $0 i64) (result i32) (return (i32.wrap/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_extend_s_i32 (param $$0 i32) (result i64) + (func $i64_extend_s_i32 (param $0 i32) (result i64) (return (i64.extend_s/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_extend_u_i32 (param $$0 i32) (result i64) + (func $i64_extend_u_i32 (param $0 i32) (result i64) (return (i64.extend_u/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i32_trunc_s_f32 (param $$0 f32) (result i32) + (func $i32_trunc_s_f32 (param $0 f32) (result i32) (return (i32.trunc_s/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i32_trunc_u_f32 (param $$0 f32) (result i32) + (func $i32_trunc_u_f32 (param $0 f32) (result i32) (return (i32.trunc_u/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i32_trunc_s_f64 (param $$0 f64) (result i32) + (func $i32_trunc_s_f64 (param $0 f64) (result i32) (return (i32.trunc_s/f64 - (get_local $$0) + (get_local $0) ) ) ) - (func $i32_trunc_u_f64 (param $$0 f64) (result i32) + (func $i32_trunc_u_f64 (param $0 f64) (result i32) (return (i32.trunc_u/f64 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_trunc_s_f32 (param $$0 f32) (result i64) + (func $i64_trunc_s_f32 (param $0 f32) (result i64) (return (i64.trunc_s/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_trunc_u_f32 (param $$0 f32) (result i64) + (func $i64_trunc_u_f32 (param $0 f32) (result i64) (return (i64.trunc_u/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_trunc_s_f64 (param $$0 f64) (result i64) + (func $i64_trunc_s_f64 (param $0 f64) (result i64) (return (i64.trunc_s/f64 - (get_local $$0) + (get_local $0) ) ) ) - (func $i64_trunc_u_f64 (param $$0 f64) (result i64) + (func $i64_trunc_u_f64 (param $0 f64) (result i64) (return (i64.trunc_u/f64 - (get_local $$0) + (get_local $0) ) ) ) - (func $f32_convert_s_i32 (param $$0 i32) (result f32) + (func $f32_convert_s_i32 (param $0 i32) (result f32) (return (f32.convert_s/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $f32_convert_u_i32 (param $$0 i32) (result f32) + (func $f32_convert_u_i32 (param $0 i32) (result f32) (return (f32.convert_u/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $f64_convert_s_i32 (param $$0 i32) (result f64) + (func $f64_convert_s_i32 (param $0 i32) (result f64) (return (f64.convert_s/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $f64_convert_u_i32 (param $$0 i32) (result f64) + (func $f64_convert_u_i32 (param $0 i32) (result f64) (return (f64.convert_u/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $f32_convert_s_i64 (param $$0 i64) (result f32) + (func $f32_convert_s_i64 (param $0 i64) (result f32) (return (f32.convert_s/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $f32_convert_u_i64 (param $$0 i64) (result f32) + (func $f32_convert_u_i64 (param $0 i64) (result f32) (return (f32.convert_u/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $f64_convert_s_i64 (param $$0 i64) (result f64) + (func $f64_convert_s_i64 (param $0 i64) (result f64) (return (f64.convert_s/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $f64_convert_u_i64 (param $$0 i64) (result f64) + (func $f64_convert_u_i64 (param $0 i64) (result f64) (return (f64.convert_u/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $f64_promote_f32 (param $$0 f32) (result f64) + (func $f64_promote_f32 (param $0 f32) (result f64) (return (f64.promote/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $f32_demote_f64 (param $$0 f64) (result f32) + (func $f32_demote_f64 (param $0 f64) (result f32) (return (f32.demote/f64 - (get_local $$0) + (get_local $0) ) ) ) - (func $anyext (param $$0 i32) (result i64) + (func $anyext (param $0 i32) (result i64) (return (i64.shl (i64.extend_u/i32 - (get_local $$0) + (get_local $0) ) (i64.const 32) ) ) ) - (func $bitcast_i32_to_float (param $$0 i32) (result f32) + (func $bitcast_i32_to_float (param $0 i32) (result f32) (return (f32.reinterpret/i32 - (get_local $$0) + (get_local $0) ) ) ) - (func $bitcast_float_to_i32 (param $$0 f32) (result i32) + (func $bitcast_float_to_i32 (param $0 f32) (result i32) (return (i32.reinterpret/f32 - (get_local $$0) + (get_local $0) ) ) ) - (func $bitcast_i64_to_double (param $$0 i64) (result f64) + (func $bitcast_i64_to_double (param $0 i64) (result f64) (return (f64.reinterpret/i64 - (get_local $$0) + (get_local $0) ) ) ) - (func $bitcast_double_to_i64 (param $$0 f64) (result i64) + (func $bitcast_double_to_i64 (param $0 f64) (result i64) (return (i64.reinterpret/f64 - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/copysign-casts.wast b/test/llvm_autogenerated/copysign-casts.wast index bb6a5f214..fb443e015 100644 --- a/test/llvm_autogenerated/copysign-casts.wast +++ b/test/llvm_autogenerated/copysign-casts.wast @@ -5,22 +5,22 @@ (export "memory" memory) (export "fold_promote" $fold_promote) (export "fold_demote" $fold_demote) - (func $fold_promote (param $$0 f64) (param $$1 f32) (result f64) + (func $fold_promote (param $0 f64) (param $1 f32) (result f64) (return (f64.copysign - (get_local $$0) + (get_local $0) (f64.promote/f32 - (get_local $$1) + (get_local $1) ) ) ) ) - (func $fold_demote (param $$0 f32) (param $$1 f64) (result f32) + (func $fold_demote (param $0 f32) (param $1 f64) (result f32) (return (f32.copysign - (get_local $$0) + (get_local $0) (f32.demote/f64 - (get_local $$1) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/cpus.wast b/test/llvm_autogenerated/cpus.wast index ecddf0c98..c96149c99 100644 --- a/test/llvm_autogenerated/cpus.wast +++ b/test/llvm_autogenerated/cpus.wast @@ -4,9 +4,9 @@ ) (export "memory" memory) (export "f" $f) - (func $f (param $$0 i32) (result i32) + (func $f (param $0 i32) (result i32) (return - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/dead-vreg.wast b/test/llvm_autogenerated/dead-vreg.wast index 69c5dde27..5a1c1cb31 100644 --- a/test/llvm_autogenerated/dead-vreg.wast +++ b/test/llvm_autogenerated/dead-vreg.wast @@ -4,93 +4,93 @@ ) (export "memory" memory) (export "foo" $foo) - (func $foo (param $$0 i32) (param $$1 i32) (param $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (local $$6 i32) - (local $$7 i32) - (local $$8 i32) + (func $foo (param $0 i32) (param $1 i32) (param $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) (block $label$0 (br_if $label$0 (i32.lt_s - (get_local $$2) + (get_local $2) (i32.const 1) ) ) - (set_local $$3 + (set_local $3 (i32.shl - (get_local $$1) + (get_local $1) (i32.const 2) ) ) - (set_local $$5 + (set_local $5 (i32.const 0) ) - (set_local $$4 + (set_local $4 (i32.lt_s - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (loop $label$2 $label$1 - (set_local $$6 + (set_local $6 (i32.const 0) ) - (set_local $$7 - (get_local $$0) + (set_local $7 + (get_local $0) ) - (set_local $$8 - (get_local $$1) + (set_local $8 + (get_local $1) ) (block $label$3 (br_if $label$3 - (get_local $$4) + (get_local $4) ) (loop $label$5 $label$4 (i32.store - (get_local $$7) - (get_local $$6) + (get_local $7) + (get_local $6) ) - (set_local $$8 + (set_local $8 (i32.add - (get_local $$8) + (get_local $8) (i32.const -1) ) ) - (set_local $$7 + (set_local $7 (i32.add - (get_local $$7) + (get_local $7) (i32.const 4) ) ) - (set_local $$6 + (set_local $6 (i32.add - (get_local $$6) - (get_local $$5) + (get_local $6) + (get_local $5) ) ) (br_if $label$4 - (get_local $$8) + (get_local $8) ) ) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$5) + (get_local $5) (i32.const 1) ) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) - (get_local $$3) + (get_local $0) + (get_local $3) ) ) (br_if $label$1 (i32.ne - (get_local $$5) - (get_local $$2) + (get_local $5) + (get_local $2) ) ) ) diff --git a/test/llvm_autogenerated/f32.wast b/test/llvm_autogenerated/f32.wast index bdad62714..03409d03b 100644 --- a/test/llvm_autogenerated/f32.wast +++ b/test/llvm_autogenerated/f32.wast @@ -21,124 +21,124 @@ (export "fmin32" $fmin32) (export "fmax32" $fmax32) (export "fma32" $fma32) - (func $fadd32 (param $$0 f32) (param $$1 f32) (result f32) + (func $fadd32 (param $0 f32) (param $1 f32) (result f32) (return (f32.add - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fsub32 (param $$0 f32) (param $$1 f32) (result f32) + (func $fsub32 (param $0 f32) (param $1 f32) (result f32) (return (f32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fmul32 (param $$0 f32) (param $$1 f32) (result f32) + (func $fmul32 (param $0 f32) (param $1 f32) (result f32) (return (f32.mul - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fdiv32 (param $$0 f32) (param $$1 f32) (result f32) + (func $fdiv32 (param $0 f32) (param $1 f32) (result f32) (return (f32.div - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fabs32 (param $$0 f32) (result f32) + (func $fabs32 (param $0 f32) (result f32) (return (f32.abs - (get_local $$0) + (get_local $0) ) ) ) - (func $fneg32 (param $$0 f32) (result f32) + (func $fneg32 (param $0 f32) (result f32) (return (f32.neg - (get_local $$0) + (get_local $0) ) ) ) - (func $copysign32 (param $$0 f32) (param $$1 f32) (result f32) + (func $copysign32 (param $0 f32) (param $1 f32) (result f32) (return (f32.copysign - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sqrt32 (param $$0 f32) (result f32) + (func $sqrt32 (param $0 f32) (result f32) (return (f32.sqrt - (get_local $$0) + (get_local $0) ) ) ) - (func $ceil32 (param $$0 f32) (result f32) + (func $ceil32 (param $0 f32) (result f32) (return (f32.ceil - (get_local $$0) + (get_local $0) ) ) ) - (func $floor32 (param $$0 f32) (result f32) + (func $floor32 (param $0 f32) (result f32) (return (f32.floor - (get_local $$0) + (get_local $0) ) ) ) - (func $trunc32 (param $$0 f32) (result f32) + (func $trunc32 (param $0 f32) (result f32) (return (f32.trunc - (get_local $$0) + (get_local $0) ) ) ) - (func $nearest32 (param $$0 f32) (result f32) + (func $nearest32 (param $0 f32) (result f32) (return (f32.nearest - (get_local $$0) + (get_local $0) ) ) ) - (func $nearest32_via_rint (param $$0 f32) (result f32) + (func $nearest32_via_rint (param $0 f32) (result f32) (return (f32.nearest - (get_local $$0) + (get_local $0) ) ) ) - (func $fmin32 (param $$0 f32) (result f32) + (func $fmin32 (param $0 f32) (result f32) (return (f32.min - (get_local $$0) + (get_local $0) (f32.const 0) ) ) ) - (func $fmax32 (param $$0 f32) (result f32) + (func $fmax32 (param $0 f32) (result f32) (return (f32.max - (get_local $$0) + (get_local $0) (f32.const 0) ) ) ) - (func $fma32 (param $$0 f32) (param $$1 f32) (param $$2 f32) (result f32) + (func $fma32 (param $0 f32) (param $1 f32) (param $2 f32) (result f32) (return (call_import $fmaf - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) diff --git a/test/llvm_autogenerated/f64.wast b/test/llvm_autogenerated/f64.wast index 2399fd22a..860d183f5 100644 --- a/test/llvm_autogenerated/f64.wast +++ b/test/llvm_autogenerated/f64.wast @@ -21,124 +21,124 @@ (export "fmin64" $fmin64) (export "fmax64" $fmax64) (export "fma64" $fma64) - (func $fadd64 (param $$0 f64) (param $$1 f64) (result f64) + (func $fadd64 (param $0 f64) (param $1 f64) (result f64) (return (f64.add - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fsub64 (param $$0 f64) (param $$1 f64) (result f64) + (func $fsub64 (param $0 f64) (param $1 f64) (result f64) (return (f64.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fmul64 (param $$0 f64) (param $$1 f64) (result f64) + (func $fmul64 (param $0 f64) (param $1 f64) (result f64) (return (f64.mul - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fdiv64 (param $$0 f64) (param $$1 f64) (result f64) + (func $fdiv64 (param $0 f64) (param $1 f64) (result f64) (return (f64.div - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $fabs64 (param $$0 f64) (result f64) + (func $fabs64 (param $0 f64) (result f64) (return (f64.abs - (get_local $$0) + (get_local $0) ) ) ) - (func $fneg64 (param $$0 f64) (result f64) + (func $fneg64 (param $0 f64) (result f64) (return (f64.neg - (get_local $$0) + (get_local $0) ) ) ) - (func $copysign64 (param $$0 f64) (param $$1 f64) (result f64) + (func $copysign64 (param $0 f64) (param $1 f64) (result f64) (return (f64.copysign - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sqrt64 (param $$0 f64) (result f64) + (func $sqrt64 (param $0 f64) (result f64) (return (f64.sqrt - (get_local $$0) + (get_local $0) ) ) ) - (func $ceil64 (param $$0 f64) (result f64) + (func $ceil64 (param $0 f64) (result f64) (return (f64.ceil - (get_local $$0) + (get_local $0) ) ) ) - (func $floor64 (param $$0 f64) (result f64) + (func $floor64 (param $0 f64) (result f64) (return (f64.floor - (get_local $$0) + (get_local $0) ) ) ) - (func $trunc64 (param $$0 f64) (result f64) + (func $trunc64 (param $0 f64) (result f64) (return (f64.trunc - (get_local $$0) + (get_local $0) ) ) ) - (func $nearest64 (param $$0 f64) (result f64) + (func $nearest64 (param $0 f64) (result f64) (return (f64.nearest - (get_local $$0) + (get_local $0) ) ) ) - (func $nearest64_via_rint (param $$0 f64) (result f64) + (func $nearest64_via_rint (param $0 f64) (result f64) (return (f64.nearest - (get_local $$0) + (get_local $0) ) ) ) - (func $fmin64 (param $$0 f64) (result f64) + (func $fmin64 (param $0 f64) (result f64) (return (f64.min - (get_local $$0) + (get_local $0) (f64.const 0) ) ) ) - (func $fmax64 (param $$0 f64) (result f64) + (func $fmax64 (param $0 f64) (result f64) (return (f64.max - (get_local $$0) + (get_local $0) (f64.const 0) ) ) ) - (func $fma64 (param $$0 f64) (param $$1 f64) (param $$2 f64) (result f64) + (func $fma64 (param $0 f64) (param $1 f64) (param $2 f64) (result f64) (return (call_import $fma - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) diff --git a/test/llvm_autogenerated/frem.wast b/test/llvm_autogenerated/frem.wast index 2d7d4be4a..15d5cc222 100644 --- a/test/llvm_autogenerated/frem.wast +++ b/test/llvm_autogenerated/frem.wast @@ -9,19 +9,19 @@ (import $fmodf "env" "fmodf" (param f32 f32) (result f32)) (export "frem32" $frem32) (export "frem64" $frem64) - (func $frem32 (param $$0 f32) (param $$1 f32) (result f32) + (func $frem32 (param $0 f32) (param $1 f32) (result f32) (return (call_import $fmodf - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $frem64 (param $$0 f64) (param $$1 f64) (result f64) + (func $frem64 (param $0 f64) (param $1 f64) (result f64) (return (call_import $fmod - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) diff --git a/test/llvm_autogenerated/func.wast b/test/llvm_autogenerated/func.wast index a3ce0d78d..5257a4062 100644 --- a/test/llvm_autogenerated/func.wast +++ b/test/llvm_autogenerated/func.wast @@ -17,20 +17,20 @@ (i32.const 0) ) ) - (func $f2 (param $$0 i32) (param $$1 f32) (result i32) + (func $f2 (param $0 i32) (param $1 f32) (result i32) (return (i32.const 0) ) ) - (func $f3 (param $$0 i32) (param $$1 f32) + (func $f3 (param $0 i32) (param $1 f32) (return) ) - (func $f4 (param $$0 i32) (result i32) + (func $f4 (param $0 i32) (result i32) (block $label$0 (br_if $label$0 (i32.eq (i32.and - (get_local $$0) + (get_local $0) (i32.const 1) ) (i32.const 0) diff --git a/test/llvm_autogenerated/global.wast b/test/llvm_autogenerated/global.wast index 441b7ce26..cbb8ac184 100644 --- a/test/llvm_autogenerated/global.wast +++ b/test/llvm_autogenerated/global.wast @@ -26,12 +26,12 @@ ) ) ) - (func $call_memcpy (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $call_memcpy (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (call_import $memcpy - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) diff --git a/test/llvm_autogenerated/i32-load-store-alignment.wast b/test/llvm_autogenerated/i32-load-store-alignment.wast index 579c83ef1..6309818af 100644 --- a/test/llvm_autogenerated/i32-load-store-alignment.wast +++ b/test/llvm_autogenerated/i32-load-store-alignment.wast @@ -23,143 +23,143 @@ (export "sti16_a1" $sti16_a1) (export "sti16_a2" $sti16_a2) (export "sti16_a4" $sti16_a4) - (func $ldi32_a1 (param $$0 i32) (result i32) + (func $ldi32_a1 (param $0 i32) (result i32) (return (i32.load align=1 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a2 (param $$0 i32) (result i32) + (func $ldi32_a2 (param $0 i32) (result i32) (return (i32.load align=2 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a4 (param $$0 i32) (result i32) + (func $ldi32_a4 (param $0 i32) (result i32) (return (i32.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32 (param $$0 i32) (result i32) + (func $ldi32 (param $0 i32) (result i32) (return (i32.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a8 (param $$0 i32) (result i32) + (func $ldi32_a8 (param $0 i32) (result i32) (return (i32.load align=8 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi8_a1 (param $$0 i32) (result i32) + (func $ldi8_a1 (param $0 i32) (result i32) (return (i32.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi8_a2 (param $$0 i32) (result i32) + (func $ldi8_a2 (param $0 i32) (result i32) (return (i32.load8_u align=2 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a1 (param $$0 i32) (result i32) + (func $ldi16_a1 (param $0 i32) (result i32) (return (i32.load16_u align=1 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a2 (param $$0 i32) (result i32) + (func $ldi16_a2 (param $0 i32) (result i32) (return (i32.load16_u - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a4 (param $$0 i32) (result i32) + (func $ldi16_a4 (param $0 i32) (result i32) (return (i32.load16_u align=4 - (get_local $$0) + (get_local $0) ) ) ) - (func $sti32_a1 (param $$0 i32) (param $$1 i32) + (func $sti32_a1 (param $0 i32) (param $1 i32) (i32.store align=1 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a2 (param $$0 i32) (param $$1 i32) + (func $sti32_a2 (param $0 i32) (param $1 i32) (i32.store align=2 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a4 (param $$0 i32) (param $$1 i32) + (func $sti32_a4 (param $0 i32) (param $1 i32) (i32.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32 (param $$0 i32) (param $$1 i32) + (func $sti32 (param $0 i32) (param $1 i32) (i32.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a8 (param $$0 i32) (param $$1 i32) + (func $sti32_a8 (param $0 i32) (param $1 i32) (i32.store align=8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti8_a1 (param $$0 i32) (param $$1 i32) + (func $sti8_a1 (param $0 i32) (param $1 i32) (i32.store8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti8_a2 (param $$0 i32) (param $$1 i32) + (func $sti8_a2 (param $0 i32) (param $1 i32) (i32.store8 align=2 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a1 (param $$0 i32) (param $$1 i32) + (func $sti16_a1 (param $0 i32) (param $1 i32) (i32.store16 align=1 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a2 (param $$0 i32) (param $$1 i32) + (func $sti16_a2 (param $0 i32) (param $1 i32) (i32.store16 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a4 (param $$0 i32) (param $$1 i32) + (func $sti16_a4 (param $0 i32) (param $1 i32) (i32.store16 align=4 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/llvm_autogenerated/i32.wast b/test/llvm_autogenerated/i32.wast index 75696b8ac..6678e8782 100644 --- a/test/llvm_autogenerated/i32.wast +++ b/test/llvm_autogenerated/i32.wast @@ -21,142 +21,142 @@ (export "ctz32" $ctz32) (export "ctz32_zero_undef" $ctz32_zero_undef) (export "popcnt32" $popcnt32) - (func $add32 (param $$0 i32) (param $$1 i32) (result i32) + (func $add32 (param $0 i32) (param $1 i32) (result i32) (return (i32.add - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sub32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sub32 (param $0 i32) (param $1 i32) (result i32) (return (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $mul32 (param $$0 i32) (param $$1 i32) (result i32) + (func $mul32 (param $0 i32) (param $1 i32) (result i32) (return (i32.mul - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sdiv32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sdiv32 (param $0 i32) (param $1 i32) (result i32) (return (i32.div_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $udiv32 (param $$0 i32) (param $$1 i32) (result i32) + (func $udiv32 (param $0 i32) (param $1 i32) (result i32) (return (i32.div_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $srem32 (param $$0 i32) (param $$1 i32) (result i32) + (func $srem32 (param $0 i32) (param $1 i32) (result i32) (return (i32.rem_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $urem32 (param $$0 i32) (param $$1 i32) (result i32) + (func $urem32 (param $0 i32) (param $1 i32) (result i32) (return (i32.rem_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $and32 (param $$0 i32) (param $$1 i32) (result i32) + (func $and32 (param $0 i32) (param $1 i32) (result i32) (return (i32.and - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $or32 (param $$0 i32) (param $$1 i32) (result i32) + (func $or32 (param $0 i32) (param $1 i32) (result i32) (return (i32.or - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $xor32 (param $$0 i32) (param $$1 i32) (result i32) + (func $xor32 (param $0 i32) (param $1 i32) (result i32) (return (i32.xor - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $shl32 (param $$0 i32) (param $$1 i32) (result i32) + (func $shl32 (param $0 i32) (param $1 i32) (result i32) (return (i32.shl - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $shr32 (param $$0 i32) (param $$1 i32) (result i32) + (func $shr32 (param $0 i32) (param $1 i32) (result i32) (return (i32.shr_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sar32 (param $$0 i32) (param $$1 i32) (result i32) + (func $sar32 (param $0 i32) (param $1 i32) (result i32) (return (i32.shr_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $clz32 (param $$0 i32) (result i32) + (func $clz32 (param $0 i32) (result i32) (return (i32.clz - (get_local $$0) + (get_local $0) ) ) ) - (func $clz32_zero_undef (param $$0 i32) (result i32) + (func $clz32_zero_undef (param $0 i32) (result i32) (return (i32.clz - (get_local $$0) + (get_local $0) ) ) ) - (func $ctz32 (param $$0 i32) (result i32) + (func $ctz32 (param $0 i32) (result i32) (return (i32.ctz - (get_local $$0) + (get_local $0) ) ) ) - (func $ctz32_zero_undef (param $$0 i32) (result i32) + (func $ctz32_zero_undef (param $0 i32) (result i32) (return (i32.ctz - (get_local $$0) + (get_local $0) ) ) ) - (func $popcnt32 (param $$0 i32) (result i32) + (func $popcnt32 (param $0 i32) (result i32) (return (i32.popcnt - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/i64-load-store-alignment.wast b/test/llvm_autogenerated/i64-load-store-alignment.wast index d6c76de7a..793439a5f 100644 --- a/test/llvm_autogenerated/i64-load-store-alignment.wast +++ b/test/llvm_autogenerated/i64-load-store-alignment.wast @@ -33,213 +33,213 @@ (export "sti32_a2" $sti32_a2) (export "sti32_a4" $sti32_a4) (export "sti32_a8" $sti32_a8) - (func $ldi64_a1 (param $$0 i32) (result i64) + (func $ldi64_a1 (param $0 i32) (result i64) (return (i64.load align=1 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64_a2 (param $$0 i32) (result i64) + (func $ldi64_a2 (param $0 i32) (result i64) (return (i64.load align=2 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64_a4 (param $$0 i32) (result i64) + (func $ldi64_a4 (param $0 i32) (result i64) (return (i64.load align=4 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64_a8 (param $$0 i32) (result i64) + (func $ldi64_a8 (param $0 i32) (result i64) (return (i64.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64 (param $$0 i32) (result i64) + (func $ldi64 (param $0 i32) (result i64) (return (i64.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64_a16 (param $$0 i32) (result i64) + (func $ldi64_a16 (param $0 i32) (result i64) (return (i64.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi8_a1 (param $$0 i32) (result i64) + (func $ldi8_a1 (param $0 i32) (result i64) (return (i64.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi8_a2 (param $$0 i32) (result i64) + (func $ldi8_a2 (param $0 i32) (result i64) (return (i64.load8_u align=2 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a1 (param $$0 i32) (result i64) + (func $ldi16_a1 (param $0 i32) (result i64) (return (i64.load16_u align=1 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a2 (param $$0 i32) (result i64) + (func $ldi16_a2 (param $0 i32) (result i64) (return (i64.load16_u - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi16_a4 (param $$0 i32) (result i64) + (func $ldi16_a4 (param $0 i32) (result i64) (return (i64.load16_u align=4 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a1 (param $$0 i32) (result i64) + (func $ldi32_a1 (param $0 i32) (result i64) (return (i64.load32_u align=1 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a2 (param $$0 i32) (result i64) + (func $ldi32_a2 (param $0 i32) (result i64) (return (i64.load32_u align=2 - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a4 (param $$0 i32) (result i64) + (func $ldi32_a4 (param $0 i32) (result i64) (return (i64.load32_u - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi32_a8 (param $$0 i32) (result i64) + (func $ldi32_a8 (param $0 i32) (result i64) (return (i64.load32_u align=8 - (get_local $$0) + (get_local $0) ) ) ) - (func $sti64_a1 (param $$0 i32) (param $$1 i64) + (func $sti64_a1 (param $0 i32) (param $1 i64) (i64.store align=1 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64_a2 (param $$0 i32) (param $$1 i64) + (func $sti64_a2 (param $0 i32) (param $1 i64) (i64.store align=2 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64_a4 (param $$0 i32) (param $$1 i64) + (func $sti64_a4 (param $0 i32) (param $1 i64) (i64.store align=4 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64_a8 (param $$0 i32) (param $$1 i64) + (func $sti64_a8 (param $0 i32) (param $1 i64) (i64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64 (param $$0 i32) (param $$1 i64) + (func $sti64 (param $0 i32) (param $1 i64) (i64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64_a16 (param $$0 i32) (param $$1 i64) + (func $sti64_a16 (param $0 i32) (param $1 i64) (i64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti8_a1 (param $$0 i32) (param $$1 i64) + (func $sti8_a1 (param $0 i32) (param $1 i64) (i64.store8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti8_a2 (param $$0 i32) (param $$1 i64) + (func $sti8_a2 (param $0 i32) (param $1 i64) (i64.store8 align=2 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a1 (param $$0 i32) (param $$1 i64) + (func $sti16_a1 (param $0 i32) (param $1 i64) (i64.store16 align=1 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a2 (param $$0 i32) (param $$1 i64) + (func $sti16_a2 (param $0 i32) (param $1 i64) (i64.store16 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti16_a4 (param $$0 i32) (param $$1 i64) + (func $sti16_a4 (param $0 i32) (param $1 i64) (i64.store16 align=4 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a1 (param $$0 i32) (param $$1 i64) + (func $sti32_a1 (param $0 i32) (param $1 i64) (i64.store32 align=1 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a2 (param $$0 i32) (param $$1 i64) + (func $sti32_a2 (param $0 i32) (param $1 i64) (i64.store32 align=2 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a4 (param $$0 i32) (param $$1 i64) + (func $sti32_a4 (param $0 i32) (param $1 i64) (i64.store32 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti32_a8 (param $$0 i32) (param $$1 i64) + (func $sti32_a8 (param $0 i32) (param $1 i64) (i64.store32 align=8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/llvm_autogenerated/i64.wast b/test/llvm_autogenerated/i64.wast index cd228e515..90d7f00d3 100644 --- a/test/llvm_autogenerated/i64.wast +++ b/test/llvm_autogenerated/i64.wast @@ -21,142 +21,142 @@ (export "ctz64" $ctz64) (export "ctz64_zero_undef" $ctz64_zero_undef) (export "popcnt64" $popcnt64) - (func $add64 (param $$0 i64) (param $$1 i64) (result i64) + (func $add64 (param $0 i64) (param $1 i64) (result i64) (return (i64.add - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sub64 (param $$0 i64) (param $$1 i64) (result i64) + (func $sub64 (param $0 i64) (param $1 i64) (result i64) (return (i64.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $mul64 (param $$0 i64) (param $$1 i64) (result i64) + (func $mul64 (param $0 i64) (param $1 i64) (result i64) (return (i64.mul - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sdiv64 (param $$0 i64) (param $$1 i64) (result i64) + (func $sdiv64 (param $0 i64) (param $1 i64) (result i64) (return (i64.div_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $udiv64 (param $$0 i64) (param $$1 i64) (result i64) + (func $udiv64 (param $0 i64) (param $1 i64) (result i64) (return (i64.div_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $srem64 (param $$0 i64) (param $$1 i64) (result i64) + (func $srem64 (param $0 i64) (param $1 i64) (result i64) (return (i64.rem_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $urem64 (param $$0 i64) (param $$1 i64) (result i64) + (func $urem64 (param $0 i64) (param $1 i64) (result i64) (return (i64.rem_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $and64 (param $$0 i64) (param $$1 i64) (result i64) + (func $and64 (param $0 i64) (param $1 i64) (result i64) (return (i64.and - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $or64 (param $$0 i64) (param $$1 i64) (result i64) + (func $or64 (param $0 i64) (param $1 i64) (result i64) (return (i64.or - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $xor64 (param $$0 i64) (param $$1 i64) (result i64) + (func $xor64 (param $0 i64) (param $1 i64) (result i64) (return (i64.xor - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $shl64 (param $$0 i64) (param $$1 i64) (result i64) + (func $shl64 (param $0 i64) (param $1 i64) (result i64) (return (i64.shl - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $shr64 (param $$0 i64) (param $$1 i64) (result i64) + (func $shr64 (param $0 i64) (param $1 i64) (result i64) (return (i64.shr_u - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $sar64 (param $$0 i64) (param $$1 i64) (result i64) + (func $sar64 (param $0 i64) (param $1 i64) (result i64) (return (i64.shr_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) ) - (func $clz64 (param $$0 i64) (result i64) + (func $clz64 (param $0 i64) (result i64) (return (i64.clz - (get_local $$0) + (get_local $0) ) ) ) - (func $clz64_zero_undef (param $$0 i64) (result i64) + (func $clz64_zero_undef (param $0 i64) (result i64) (return (i64.clz - (get_local $$0) + (get_local $0) ) ) ) - (func $ctz64 (param $$0 i64) (result i64) + (func $ctz64 (param $0 i64) (result i64) (return (i64.ctz - (get_local $$0) + (get_local $0) ) ) ) - (func $ctz64_zero_undef (param $$0 i64) (result i64) + (func $ctz64_zero_undef (param $0 i64) (result i64) (return (i64.ctz - (get_local $$0) + (get_local $0) ) ) ) - (func $popcnt64 (param $$0 i64) (result i64) + (func $popcnt64 (param $0 i64) (result i64) (return (i64.popcnt - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/legalize.wast b/test/llvm_autogenerated/legalize.wast index 0da123266..7d299ab82 100644 --- a/test/llvm_autogenerated/legalize.wast +++ b/test/llvm_autogenerated/legalize.wast @@ -12,2799 +12,2799 @@ (export "fpext_f32_f64" $fpext_f32_f64) (export "fpconv_f64_f32" $fpconv_f64_f32) (export "bigshift" $bigshift) - (func $shl_i3 (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $shl_i3 (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (i32.shl - (get_local $$0) + (get_local $0) (i32.and - (get_local $$1) + (get_local $1) (i32.const 7) ) ) ) ) - (func $shl_i53 (param $$0 i64) (param $$1 i64) (param $$2 i32) (result i64) + (func $shl_i53 (param $0 i64) (param $1 i64) (param $2 i32) (result i64) (return (i64.shl - (get_local $$0) + (get_local $0) (i64.and - (get_local $$1) + (get_local $1) (i64.const 9007199254740991) ) ) ) ) - (func $sext_in_reg_i32_i64 (param $$0 i64) (result i64) + (func $sext_in_reg_i32_i64 (param $0 i64) (result i64) (return (i64.shr_s (i64.shl - (get_local $$0) + (get_local $0) (i64.const 32) ) (i64.const 32) ) ) ) - (func $fpext_f32_f64 (param $$0 i32) (result f64) + (func $fpext_f32_f64 (param $0 i32) (result f64) (return (f64.promote/f32 (f32.load - (get_local $$0) + (get_local $0) ) ) ) ) - (func $fpconv_f64_f32 (param $$0 i32) (result f32) + (func $fpconv_f64_f32 (param $0 i32) (result f32) (return (f32.demote/f64 (f64.load - (get_local $$0) + (get_local $0) ) ) ) ) - (func $bigshift (param $$0 i32) (param $$1 i64) (param $$2 i64) (param $$3 i64) (param $$4 i64) (param $$5 i64) (param $$6 i64) (param $$7 i64) (param $$8 i64) (param $$9 i64) (param $$10 i64) (param $$11 i64) (param $$12 i64) (param $$13 i64) (param $$14 i64) (param $$15 i64) (param $$16 i64) (param $$17 i64) (param $$18 i64) (param $$19 i64) (param $$20 i64) (param $$21 i64) (param $$22 i64) (param $$23 i64) (param $$24 i64) (param $$25 i64) (param $$26 i64) (param $$27 i64) (param $$28 i64) (param $$29 i64) (param $$30 i64) (param $$31 i64) (param $$32 i64) - (local $$33 i64) - (local $$34 i64) - (local $$35 i64) - (local $$36 i64) - (local $$37 i64) - (local $$38 i64) - (local $$39 i64) - (local $$40 i64) - (local $$41 i64) - (local $$42 i64) - (local $$43 i64) - (local $$44 i64) - (local $$45 i64) - (local $$46 i64) - (local $$47 i64) - (local $$48 i64) - (local $$49 i64) - (local $$50 i64) - (local $$51 i64) - (local $$52 i64) - (local $$53 i64) - (local $$54 i64) - (local $$55 i64) - (local $$56 i64) - (local $$57 i64) - (local $$58 i64) - (local $$59 i64) - (local $$60 i64) - (local $$61 i64) - (local $$62 i64) - (local $$63 i64) - (local $$64 i64) - (local $$65 i64) - (local $$66 i64) - (local $$67 i64) - (local $$68 i64) - (local $$69 i64) - (local $$70 i64) - (local $$71 i64) - (local $$72 i64) - (local $$73 i64) - (local $$74 i64) - (local $$75 i64) - (local $$76 i64) - (local $$77 i64) - (local $$78 i64) - (local $$79 i64) - (local $$80 i64) - (local $$81 i64) - (local $$82 i64) - (local $$83 i64) - (local $$84 i64) - (local $$85 i64) - (local $$86 i64) - (local $$87 i64) - (local $$88 i64) - (local $$89 i64) - (local $$90 i64) - (local $$91 i64) - (local $$92 i64) - (local $$93 i64) - (local $$94 i64) - (local $$95 i64) - (local $$96 i64) - (local $$97 i64) - (local $$98 i64) - (local $$99 i64) - (local $$100 i64) - (local $$101 i64) - (local $$102 i64) - (local $$103 i64) - (local $$104 i64) - (local $$105 i64) - (local $$106 i64) - (local $$107 i64) - (local $$108 i64) - (local $$109 i64) - (local $$110 i64) - (local $$111 i64) - (local $$112 i64) - (local $$113 i64) - (local $$114 i64) - (local $$115 i64) - (local $$116 i64) - (local $$117 i64) - (local $$118 i64) - (local $$119 i64) - (local $$120 i64) - (local $$121 i64) - (local $$122 i64) - (local $$123 i64) - (local $$124 i64) - (local $$125 i64) - (local $$126 i64) - (local $$127 i64) - (local $$128 i64) - (local $$129 i64) - (local $$130 i64) - (local $$131 i64) - (local $$132 i64) - (local $$133 i64) - (local $$134 i64) - (local $$135 i64) - (local $$136 i64) - (local $$137 i64) - (local $$138 i64) - (local $$139 i64) - (local $$140 i64) - (local $$141 i64) - (local $$142 i64) - (local $$143 i64) - (local $$144 i64) - (local $$145 i64) - (local $$146 i64) - (local $$147 i64) - (local $$148 i64) - (local $$149 i64) - (local $$150 i64) - (local $$151 i64) - (local $$152 i64) - (local $$153 i32) - (local $$154 i32) - (local $$155 i32) - (local $$156 i32) - (local $$157 i32) - (local $$158 i32) - (local $$159 i32) - (local $$160 i32) - (local $$161 i32) - (local $$162 i32) - (local $$163 i32) - (local $$164 i32) - (local $$165 i32) - (local $$166 i32) - (local $$167 i32) - (local $$168 i32) - (local $$169 i64) - (local $$170 i64) - (local $$171 i64) - (local $$172 i64) - (local $$173 i64) - (local $$174 i64) - (local $$175 i64) - (local $$176 i64) - (local $$177 i64) - (local $$178 i64) - (local $$179 i64) - (local $$180 i64) - (local $$181 i64) - (local $$182 i64) - (local $$183 i32) - (local $$184 i32) - (local $$185 i32) - (local $$186 i32) - (local $$187 i32) - (local $$188 i32) - (local $$189 i32) - (local $$190 i32) - (local $$191 i32) - (local $$192 i32) - (local $$193 i32) - (local $$194 i32) - (local $$195 i32) - (local $$196 i32) - (local $$197 i32) - (local $$198 i32) - (local $$199 i32) - (local $$200 i32) - (local $$201 i32) - (local $$202 i32) - (local $$203 i32) - (local $$204 i32) - (local $$205 i32) - (local $$206 i32) - (local $$207 i32) - (local $$208 i32) - (local $$209 i32) - (local $$210 i32) - (local $$211 i32) - (local $$212 i32) - (local $$213 i32) - (local $$214 i32) - (local $$215 i32) - (local $$216 i32) - (local $$217 i32) - (local $$218 i32) - (local $$219 i32) - (local $$220 i32) - (local $$221 i32) - (local $$222 i32) - (local $$223 i32) - (local $$224 i32) - (local $$225 i32) - (local $$226 i32) - (local $$227 i32) - (local $$228 i32) - (local $$229 i32) - (local $$230 i32) - (local $$231 i32) - (local $$232 i32) - (local $$233 i32) - (local $$234 i32) - (local $$235 i32) - (local $$236 i32) - (local $$237 i32) - (local $$238 i32) - (local $$239 i32) - (local $$240 i32) - (local $$241 i32) - (local $$242 i32) - (local $$243 i32) - (local $$244 i32) - (local $$245 i32) - (local $$246 i32) - (local $$247 i32) - (local $$248 i32) - (local $$249 i32) - (local $$250 i32) - (local $$251 i32) - (local $$252 i32) - (local $$253 i32) - (local $$254 i32) - (local $$255 i32) - (local $$256 i32) - (local $$257 i32) - (local $$258 i32) - (local $$259 i32) - (local $$260 i32) - (local $$261 i32) - (local $$262 i32) - (local $$263 i32) - (local $$264 i32) - (local $$265 i32) - (local $$266 i32) - (local $$267 i32) - (local $$268 i32) - (local $$269 i32) - (local $$270 i32) - (local $$271 i32) - (local $$272 i32) - (local $$273 i32) - (local $$274 i32) - (local $$275 i32) - (local $$276 i32) - (local $$277 i32) - (local $$278 i32) - (local $$279 i32) - (local $$280 i32) - (local $$281 i32) - (local $$282 i32) - (local $$283 i32) - (local $$284 i32) - (local $$285 i32) - (local $$286 i32) - (local $$287 i32) - (local $$288 i32) - (local $$289 i32) - (local $$290 i32) - (local $$291 i32) - (local $$292 i32) - (local $$293 i32) - (local $$294 i32) - (local $$295 i32) - (local $$296 i32) - (local $$297 i32) - (local $$298 i32) - (local $$299 i32) - (local $$300 i32) - (local $$301 i32) - (local $$302 i32) - (local $$303 i32) - (local $$304 i32) - (local $$305 i32) - (local $$306 i32) - (local $$307 i32) - (local $$308 i32) - (local $$309 i32) - (local $$310 i32) - (local $$311 i32) - (local $$312 i32) - (set_local $$183 + (func $bigshift (param $0 i32) (param $1 i64) (param $2 i64) (param $3 i64) (param $4 i64) (param $5 i64) (param $6 i64) (param $7 i64) (param $8 i64) (param $9 i64) (param $10 i64) (param $11 i64) (param $12 i64) (param $13 i64) (param $14 i64) (param $15 i64) (param $16 i64) (param $17 i64) (param $18 i64) (param $19 i64) (param $20 i64) (param $21 i64) (param $22 i64) (param $23 i64) (param $24 i64) (param $25 i64) (param $26 i64) (param $27 i64) (param $28 i64) (param $29 i64) (param $30 i64) (param $31 i64) (param $32 i64) + (local $33 i64) + (local $34 i64) + (local $35 i64) + (local $36 i64) + (local $37 i64) + (local $38 i64) + (local $39 i64) + (local $40 i64) + (local $41 i64) + (local $42 i64) + (local $43 i64) + (local $44 i64) + (local $45 i64) + (local $46 i64) + (local $47 i64) + (local $48 i64) + (local $49 i64) + (local $50 i64) + (local $51 i64) + (local $52 i64) + (local $53 i64) + (local $54 i64) + (local $55 i64) + (local $56 i64) + (local $57 i64) + (local $58 i64) + (local $59 i64) + (local $60 i64) + (local $61 i64) + (local $62 i64) + (local $63 i64) + (local $64 i64) + (local $65 i64) + (local $66 i64) + (local $67 i64) + (local $68 i64) + (local $69 i64) + (local $70 i64) + (local $71 i64) + (local $72 i64) + (local $73 i64) + (local $74 i64) + (local $75 i64) + (local $76 i64) + (local $77 i64) + (local $78 i64) + (local $79 i64) + (local $80 i64) + (local $81 i64) + (local $82 i64) + (local $83 i64) + (local $84 i64) + (local $85 i64) + (local $86 i64) + (local $87 i64) + (local $88 i64) + (local $89 i64) + (local $90 i64) + (local $91 i64) + (local $92 i64) + (local $93 i64) + (local $94 i64) + (local $95 i64) + (local $96 i64) + (local $97 i64) + (local $98 i64) + (local $99 i64) + (local $100 i64) + (local $101 i64) + (local $102 i64) + (local $103 i64) + (local $104 i64) + (local $105 i64) + (local $106 i64) + (local $107 i64) + (local $108 i64) + (local $109 i64) + (local $110 i64) + (local $111 i64) + (local $112 i64) + (local $113 i64) + (local $114 i64) + (local $115 i64) + (local $116 i64) + (local $117 i64) + (local $118 i64) + (local $119 i64) + (local $120 i64) + (local $121 i64) + (local $122 i64) + (local $123 i64) + (local $124 i64) + (local $125 i64) + (local $126 i64) + (local $127 i64) + (local $128 i64) + (local $129 i64) + (local $130 i64) + (local $131 i64) + (local $132 i64) + (local $133 i64) + (local $134 i64) + (local $135 i64) + (local $136 i64) + (local $137 i64) + (local $138 i64) + (local $139 i64) + (local $140 i64) + (local $141 i64) + (local $142 i64) + (local $143 i64) + (local $144 i64) + (local $145 i64) + (local $146 i64) + (local $147 i64) + (local $148 i64) + (local $149 i64) + (local $150 i64) + (local $151 i64) + (local $152 i64) + (local $153 i32) + (local $154 i32) + (local $155 i32) + (local $156 i32) + (local $157 i32) + (local $158 i32) + (local $159 i32) + (local $160 i32) + (local $161 i32) + (local $162 i32) + (local $163 i32) + (local $164 i32) + (local $165 i32) + (local $166 i32) + (local $167 i32) + (local $168 i32) + (local $169 i64) + (local $170 i64) + (local $171 i64) + (local $172 i64) + (local $173 i64) + (local $174 i64) + (local $175 i64) + (local $176 i64) + (local $177 i64) + (local $178 i64) + (local $179 i64) + (local $180 i64) + (local $181 i64) + (local $182 i64) + (local $183 i32) + (local $184 i32) + (local $185 i32) + (local $186 i32) + (local $187 i32) + (local $188 i32) + (local $189 i32) + (local $190 i32) + (local $191 i32) + (local $192 i32) + (local $193 i32) + (local $194 i32) + (local $195 i32) + (local $196 i32) + (local $197 i32) + (local $198 i32) + (local $199 i32) + (local $200 i32) + (local $201 i32) + (local $202 i32) + (local $203 i32) + (local $204 i32) + (local $205 i32) + (local $206 i32) + (local $207 i32) + (local $208 i32) + (local $209 i32) + (local $210 i32) + (local $211 i32) + (local $212 i32) + (local $213 i32) + (local $214 i32) + (local $215 i32) + (local $216 i32) + (local $217 i32) + (local $218 i32) + (local $219 i32) + (local $220 i32) + (local $221 i32) + (local $222 i32) + (local $223 i32) + (local $224 i32) + (local $225 i32) + (local $226 i32) + (local $227 i32) + (local $228 i32) + (local $229 i32) + (local $230 i32) + (local $231 i32) + (local $232 i32) + (local $233 i32) + (local $234 i32) + (local $235 i32) + (local $236 i32) + (local $237 i32) + (local $238 i32) + (local $239 i32) + (local $240 i32) + (local $241 i32) + (local $242 i32) + (local $243 i32) + (local $244 i32) + (local $245 i32) + (local $246 i32) + (local $247 i32) + (local $248 i32) + (local $249 i32) + (local $250 i32) + (local $251 i32) + (local $252 i32) + (local $253 i32) + (local $254 i32) + (local $255 i32) + (local $256 i32) + (local $257 i32) + (local $258 i32) + (local $259 i32) + (local $260 i32) + (local $261 i32) + (local $262 i32) + (local $263 i32) + (local $264 i32) + (local $265 i32) + (local $266 i32) + (local $267 i32) + (local $268 i32) + (local $269 i32) + (local $270 i32) + (local $271 i32) + (local $272 i32) + (local $273 i32) + (local $274 i32) + (local $275 i32) + (local $276 i32) + (local $277 i32) + (local $278 i32) + (local $279 i32) + (local $280 i32) + (local $281 i32) + (local $282 i32) + (local $283 i32) + (local $284 i32) + (local $285 i32) + (local $286 i32) + (local $287 i32) + (local $288 i32) + (local $289 i32) + (local $290 i32) + (local $291 i32) + (local $292 i32) + (local $293 i32) + (local $294 i32) + (local $295 i32) + (local $296 i32) + (local $297 i32) + (local $298 i32) + (local $299 i32) + (local $300 i32) + (local $301 i32) + (local $302 i32) + (local $303 i32) + (local $304 i32) + (local $305 i32) + (local $306 i32) + (local $307 i32) + (local $308 i32) + (local $309 i32) + (local $310 i32) + (local $311 i32) + (local $312 i32) + (set_local $183 (i32.const 4) ) - (set_local $$183 + (set_local $183 (i32.load - (get_local $$183) + (get_local $183) ) ) - (set_local $$184 + (set_local $184 (i32.const 1024) ) - (set_local $$312 + (set_local $312 (i32.sub - (get_local $$183) - (get_local $$184) + (get_local $183) + (get_local $184) ) ) - (set_local $$184 + (set_local $184 (i32.const 4) ) - (set_local $$312 + (set_local $312 (i32.store - (get_local $$184) - (get_local $$312) + (get_local $184) + (get_local $312) ) ) - (set_local $$186 + (set_local $186 (i32.const 480) ) - (set_local $$186 + (set_local $186 (i32.add - (get_local $$312) - (get_local $$186) + (get_local $312) + (get_local $186) ) ) (call_import $__lshrti3 - (get_local $$186) - (get_local $$1) - (get_local $$2) + (get_local $186) + (get_local $1) + (get_local $2) (i64.sub (i64.const 896) - (get_local $$17) + (get_local $17) ) ) - (set_local $$187 + (set_local $187 (i32.const 464) ) - (set_local $$187 + (set_local $187 (i32.add - (get_local $$312) - (get_local $$187) + (get_local $312) + (get_local $187) ) ) (call_import $__ashlti3 - (get_local $$187) - (get_local $$3) - (get_local $$4) - (set_local $$182 + (get_local $187) + (get_local $3) + (get_local $4) + (set_local $182 (i64.add - (get_local $$17) + (get_local $17) (i64.const -768) ) ) ) - (set_local $$188 + (set_local $188 (i32.const 496) ) - (set_local $$188 + (set_local $188 (i32.add - (get_local $$312) - (get_local $$188) + (get_local $312) + (get_local $188) ) ) (call_import $__ashlti3 - (get_local $$188) - (get_local $$1) - (get_local $$2) + (get_local $188) + (get_local $1) + (get_local $2) (i64.add - (get_local $$17) + (get_local $17) (i64.const -896) ) ) - (set_local $$189 + (set_local $189 (i32.const 352) ) - (set_local $$189 + (set_local $189 (i32.add - (get_local $$312) - (get_local $$189) + (get_local $312) + (get_local $189) ) ) (call_import $__lshrti3 - (get_local $$189) - (get_local $$5) - (get_local $$6) - (set_local $$181 + (get_local $189) + (get_local $5) + (get_local $6) + (set_local $181 (i64.sub (i64.const 640) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$190 + (set_local $190 (i32.const 336) ) - (set_local $$190 + (set_local $190 (i32.add - (get_local $$312) - (get_local $$190) + (get_local $312) + (get_local $190) ) ) (call_import $__ashlti3 - (get_local $$190) - (get_local $$7) - (get_local $$8) - (set_local $$180 + (get_local $190) + (get_local $7) + (get_local $8) + (set_local $180 (i64.add - (get_local $$17) + (get_local $17) (i64.const -512) ) ) ) - (set_local $$191 + (set_local $191 (i32.const 368) ) - (set_local $$191 + (set_local $191 (i32.add - (get_local $$312) - (get_local $$191) + (get_local $312) + (get_local $191) ) ) (call_import $__ashlti3 - (get_local $$191) - (get_local $$5) - (get_local $$6) - (set_local $$179 + (get_local $191) + (get_local $5) + (get_local $6) + (set_local $179 (i64.add - (get_local $$17) + (get_local $17) (i64.const -640) ) ) ) - (set_local $$192 + (set_local $192 (i32.const 432) ) - (set_local $$192 + (set_local $192 (i32.add - (get_local $$312) - (get_local $$192) + (get_local $312) + (get_local $192) ) ) (call_import $__lshrti3 - (get_local $$192) - (get_local $$3) - (get_local $$4) - (set_local $$178 + (get_local $192) + (get_local $3) + (get_local $4) + (set_local $178 (i64.sub (i64.const 768) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$193 + (set_local $193 (i32.const 864) ) - (set_local $$193 + (set_local $193 (i32.add - (get_local $$312) - (get_local $$193) + (get_local $312) + (get_local $193) ) ) (call_import $__lshrti3 - (get_local $$193) - (get_local $$9) - (get_local $$10) - (set_local $$177 + (get_local $193) + (get_local $9) + (get_local $10) + (set_local $177 (i64.sub (i64.const 384) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$194 + (set_local $194 (i32.const 848) ) - (set_local $$194 + (set_local $194 (i32.add - (get_local $$312) - (get_local $$194) + (get_local $312) + (get_local $194) ) ) (call_import $__ashlti3 - (get_local $$194) - (get_local $$11) - (get_local $$12) - (set_local $$176 + (get_local $194) + (get_local $11) + (get_local $12) + (set_local $176 (i64.add - (get_local $$17) + (get_local $17) (i64.const -256) ) ) ) - (set_local $$195 + (set_local $195 (i32.const 880) ) - (set_local $$195 + (set_local $195 (i32.add - (get_local $$312) - (get_local $$195) + (get_local $312) + (get_local $195) ) ) (call_import $__ashlti3 - (get_local $$195) - (get_local $$9) - (get_local $$10) - (set_local $$175 + (get_local $195) + (get_local $9) + (get_local $10) + (set_local $175 (i64.add - (get_local $$17) + (get_local $17) (i64.const -384) ) ) ) - (set_local $$196 + (set_local $196 (i32.const 1008) ) - (set_local $$196 + (set_local $196 (i32.add - (get_local $$312) - (get_local $$196) + (get_local $312) + (get_local $196) ) ) (call_import $__ashlti3 - (get_local $$196) - (get_local $$15) - (get_local $$16) - (get_local $$17) + (get_local $196) + (get_local $15) + (get_local $16) + (get_local $17) ) - (set_local $$197 + (set_local $197 (i32.const 960) ) - (set_local $$197 + (set_local $197 (i32.add - (get_local $$312) - (get_local $$197) + (get_local $312) + (get_local $197) ) ) (call_import $__lshrti3 - (get_local $$197) - (get_local $$13) - (get_local $$14) - (set_local $$174 + (get_local $197) + (get_local $13) + (get_local $14) + (set_local $174 (i64.sub (i64.const 128) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$198 + (set_local $198 (i32.const 976) ) - (set_local $$198 + (set_local $198 (i32.add - (get_local $$312) - (get_local $$198) + (get_local $312) + (get_local $198) ) ) (call_import $__ashlti3 - (get_local $$198) - (get_local $$13) - (get_local $$14) - (set_local $$173 + (get_local $198) + (get_local $13) + (get_local $14) + (set_local $173 (i64.add - (get_local $$17) + (get_local $17) (i64.const -128) ) ) ) - (set_local $$199 + (set_local $199 (i32.const 816) ) - (set_local $$199 + (set_local $199 (i32.add - (get_local $$312) - (get_local $$199) + (get_local $312) + (get_local $199) ) ) (call_import $__lshrti3 - (get_local $$199) - (get_local $$11) - (get_local $$12) - (set_local $$172 + (get_local $199) + (get_local $11) + (get_local $12) + (set_local $172 (i64.sub (i64.const 256) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$200 + (set_local $200 (i32.const 240) ) - (set_local $$200 + (set_local $200 (i32.add - (get_local $$312) - (get_local $$200) + (get_local $312) + (get_local $200) ) ) (call_import $__lshrti3 - (get_local $$200) - (get_local $$7) - (get_local $$8) - (set_local $$171 + (get_local $200) + (get_local $7) + (get_local $8) + (set_local $171 (i64.sub (i64.const 512) - (get_local $$17) + (get_local $17) ) ) ) - (set_local $$201 + (set_local $201 (i32.const 912) ) - (set_local $$201 + (set_local $201 (i32.add - (get_local $$312) - (get_local $$201) + (get_local $312) + (get_local $201) ) ) (call_import $__ashlti3 - (get_local $$201) - (get_local $$11) - (get_local $$12) - (get_local $$17) + (get_local $201) + (get_local $11) + (get_local $12) + (get_local $17) ) - (set_local $$202 + (set_local $202 (i32.const 928) ) - (set_local $$202 + (set_local $202 (i32.add - (get_local $$312) - (get_local $$202) + (get_local $312) + (get_local $202) ) ) (call_import $__lshrti3 - (get_local $$202) - (get_local $$9) - (get_local $$10) - (get_local $$174) + (get_local $202) + (get_local $9) + (get_local $10) + (get_local $174) ) - (set_local $$203 + (set_local $203 (i32.const 944) ) - (set_local $$203 + (set_local $203 (i32.add - (get_local $$312) - (get_local $$203) + (get_local $312) + (get_local $203) ) ) (call_import $__ashlti3 - (get_local $$203) - (get_local $$9) - (get_local $$10) - (get_local $$173) + (get_local $203) + (get_local $9) + (get_local $10) + (get_local $173) ) - (set_local $$204 + (set_local $204 (i32.const 80) ) - (set_local $$204 + (set_local $204 (i32.add - (get_local $$312) - (get_local $$204) + (get_local $312) + (get_local $204) ) ) (call_import $__ashlti3 - (get_local $$204) - (get_local $$7) - (get_local $$8) - (set_local $$170 + (get_local $204) + (get_local $7) + (get_local $8) + (set_local $170 (i64.sub (i64.const 256) - (get_local $$171) + (get_local $171) ) ) ) - (set_local $$205 + (set_local $205 (i32.const 96) ) - (set_local $$205 + (set_local $205 (i32.add - (get_local $$312) - (get_local $$205) + (get_local $312) + (get_local $205) ) ) (call_import $__lshrti3 - (get_local $$205) - (get_local $$5) - (get_local $$6) + (get_local $205) + (get_local $5) + (get_local $6) (i64.sub (i64.const 128) - (get_local $$170) + (get_local $170) ) ) - (set_local $$206 + (set_local $206 (i32.const 112) ) - (set_local $$206 + (set_local $206 (i32.add - (get_local $$312) - (get_local $$206) + (get_local $312) + (get_local $206) ) ) (call_import $__ashlti3 - (get_local $$206) - (get_local $$5) - (get_local $$6) - (set_local $$169 + (get_local $206) + (get_local $5) + (get_local $6) + (set_local $169 (i64.sub (i64.const 128) - (get_local $$171) + (get_local $171) ) ) ) - (set_local $$207 + (set_local $207 (i32.const 48) ) - (set_local $$207 + (set_local $207 (i32.add - (get_local $$312) - (get_local $$207) + (get_local $312) + (get_local $207) ) ) (call_import $__lshrti3 - (get_local $$207) - (get_local $$3) - (get_local $$4) - (get_local $$171) + (get_local $207) + (get_local $3) + (get_local $4) + (get_local $171) ) - (set_local $$208 + (set_local $208 (i32.const 176) ) - (set_local $$208 + (set_local $208 (i32.add - (get_local $$312) - (get_local $$208) + (get_local $312) + (get_local $208) ) ) (call_import $__lshrti3 - (get_local $$208) - (get_local $$7) - (get_local $$8) - (get_local $$172) + (get_local $208) + (get_local $7) + (get_local $8) + (get_local $172) ) - (set_local $$209 + (set_local $209 (i32.const 288) ) - (set_local $$209 + (set_local $209 (i32.add - (get_local $$312) - (get_local $$209) + (get_local $312) + (get_local $209) ) ) (call_import $__lshrti3 - (get_local $$209) - (get_local $$1) - (get_local $$2) - (get_local $$181) + (get_local $209) + (get_local $1) + (get_local $2) + (get_local $181) ) - (set_local $$210 + (set_local $210 (i32.const 272) ) - (set_local $$210 + (set_local $210 (i32.add - (get_local $$312) - (get_local $$210) + (get_local $312) + (get_local $210) ) ) (call_import $__ashlti3 - (get_local $$210) - (get_local $$3) - (get_local $$4) - (get_local $$180) + (get_local $210) + (get_local $3) + (get_local $4) + (get_local $180) ) - (set_local $$211 + (set_local $211 (i32.const 304) ) - (set_local $$211 + (set_local $211 (i32.add - (get_local $$312) - (get_local $$211) + (get_local $312) + (get_local $211) ) ) (call_import $__ashlti3 - (get_local $$211) - (get_local $$1) - (get_local $$2) - (get_local $$179) + (get_local $211) + (get_local $1) + (get_local $2) + (get_local $179) ) - (set_local $$212 + (set_local $212 (i32.const 128) ) - (set_local $$212 + (set_local $212 (i32.add - (get_local $$312) - (get_local $$212) + (get_local $312) + (get_local $212) ) ) (call_import $__lshrti3 - (get_local $$212) - (get_local $$5) - (get_local $$6) - (get_local $$172) + (get_local $212) + (get_local $5) + (get_local $6) + (get_local $172) ) - (set_local $$213 + (set_local $213 (i32.const 144) ) - (set_local $$213 + (set_local $213 (i32.add - (get_local $$312) - (get_local $$213) + (get_local $312) + (get_local $213) ) ) (call_import $__ashlti3 - (get_local $$213) - (get_local $$7) - (get_local $$8) + (get_local $213) + (get_local $7) + (get_local $8) (i64.sub (i64.const 384) - (get_local $$171) + (get_local $171) ) ) - (set_local $$214 + (set_local $214 (i32.const 160) ) - (set_local $$214 + (set_local $214 (i32.add - (get_local $$312) - (get_local $$214) + (get_local $312) + (get_local $214) ) ) (call_import $__lshrti3 - (get_local $$214) - (get_local $$7) - (get_local $$8) - (get_local $$174) + (get_local $214) + (get_local $7) + (get_local $8) + (get_local $174) ) (call_import $__lshrti3 - (get_local $$312) - (get_local $$1) - (get_local $$2) - (get_local $$171) + (get_local $312) + (get_local $1) + (get_local $2) + (get_local $171) ) - (set_local $$215 + (set_local $215 (i32.const 16) ) - (set_local $$215 + (set_local $215 (i32.add - (get_local $$312) - (get_local $$215) + (get_local $312) + (get_local $215) ) ) (call_import $__ashlti3 - (get_local $$215) - (get_local $$3) - (get_local $$4) - (get_local $$169) + (get_local $215) + (get_local $3) + (get_local $4) + (get_local $169) ) - (set_local $$216 + (set_local $216 (i32.const 32) ) - (set_local $$216 + (set_local $216 (i32.add - (get_local $$312) - (get_local $$216) + (get_local $312) + (get_local $216) ) ) (call_import $__lshrti3 - (get_local $$216) - (get_local $$3) - (get_local $$4) - (get_local $$177) + (get_local $216) + (get_local $3) + (get_local $4) + (get_local $177) ) - (set_local $$217 + (set_local $217 (i32.const 64) ) - (set_local $$217 + (set_local $217 (i32.add - (get_local $$312) - (get_local $$217) + (get_local $312) + (get_local $217) ) ) (call_import $__ashlti3 - (get_local $$217) - (get_local $$5) - (get_local $$6) - (get_local $$170) + (get_local $217) + (get_local $5) + (get_local $6) + (get_local $170) ) - (set_local $$218 + (set_local $218 (i32.const 896) ) - (set_local $$218 + (set_local $218 (i32.add - (get_local $$312) - (get_local $$218) + (get_local $312) + (get_local $218) ) ) (call_import $__ashlti3 - (get_local $$218) - (get_local $$9) - (get_local $$10) - (get_local $$17) + (get_local $218) + (get_local $9) + (get_local $10) + (get_local $17) ) - (set_local $$219 + (set_local $219 (i32.const 256) ) - (set_local $$219 + (set_local $219 (i32.add - (get_local $$312) - (get_local $$219) + (get_local $312) + (get_local $219) ) ) (call_import $__ashlti3 - (get_local $$219) - (get_local $$1) - (get_local $$2) - (get_local $$180) + (get_local $219) + (get_local $1) + (get_local $2) + (get_local $180) ) - (set_local $$220 + (set_local $220 (i32.const 192) ) - (set_local $$220 + (set_local $220 (i32.add - (get_local $$312) - (get_local $$220) + (get_local $312) + (get_local $220) ) ) (call_import $__lshrti3 - (get_local $$220) - (get_local $$5) - (get_local $$6) - (get_local $$171) + (get_local $220) + (get_local $5) + (get_local $6) + (get_local $171) ) - (set_local $$221 + (set_local $221 (i32.const 208) ) - (set_local $$221 + (set_local $221 (i32.add - (get_local $$312) - (get_local $$221) + (get_local $312) + (get_local $221) ) ) (call_import $__ashlti3 - (get_local $$221) - (get_local $$7) - (get_local $$8) - (get_local $$169) + (get_local $221) + (get_local $7) + (get_local $8) + (get_local $169) ) - (set_local $$222 + (set_local $222 (i32.const 224) ) - (set_local $$222 + (set_local $222 (i32.add - (get_local $$312) - (get_local $$222) + (get_local $312) + (get_local $222) ) ) (call_import $__lshrti3 - (get_local $$222) - (get_local $$7) - (get_local $$8) - (get_local $$177) + (get_local $222) + (get_local $7) + (get_local $8) + (get_local $177) ) - (set_local $$223 + (set_local $223 (i32.const 768) ) - (set_local $$223 + (set_local $223 (i32.add - (get_local $$312) - (get_local $$223) + (get_local $312) + (get_local $223) ) ) (call_import $__lshrti3 - (get_local $$223) - (get_local $$9) - (get_local $$10) - (get_local $$172) + (get_local $223) + (get_local $9) + (get_local $10) + (get_local $172) ) - (set_local $$224 + (set_local $224 (i32.const 784) ) - (set_local $$224 + (set_local $224 (i32.add - (get_local $$312) - (get_local $$224) + (get_local $312) + (get_local $224) ) ) (call_import $__ashlti3 - (get_local $$224) - (get_local $$11) - (get_local $$12) - (set_local $$169 + (get_local $224) + (get_local $11) + (get_local $12) + (set_local $169 (i64.sub (i64.const 128) - (get_local $$172) + (get_local $172) ) ) ) - (set_local $$225 + (set_local $225 (i32.const 800) ) - (set_local $$225 + (set_local $225 (i32.add - (get_local $$312) - (get_local $$225) + (get_local $312) + (get_local $225) ) ) (call_import $__lshrti3 - (get_local $$225) - (get_local $$11) - (get_local $$12) - (get_local $$174) + (get_local $225) + (get_local $11) + (get_local $12) + (get_local $174) ) - (set_local $$226 + (set_local $226 (i32.const 992) ) - (set_local $$226 + (set_local $226 (i32.add - (get_local $$312) - (get_local $$226) + (get_local $312) + (get_local $226) ) ) (call_import $__ashlti3 - (get_local $$226) - (get_local $$13) - (get_local $$14) - (get_local $$17) + (get_local $226) + (get_local $13) + (get_local $14) + (get_local $17) ) - (set_local $$227 + (set_local $227 (i32.const 832) ) - (set_local $$227 + (set_local $227 (i32.add - (get_local $$312) - (get_local $$227) + (get_local $312) + (get_local $227) ) ) (call_import $__ashlti3 - (get_local $$227) - (get_local $$9) - (get_local $$10) - (get_local $$176) + (get_local $227) + (get_local $9) + (get_local $10) + (get_local $176) ) - (set_local $$228 + (set_local $228 (i32.const 384) ) - (set_local $$228 + (set_local $228 (i32.add - (get_local $$312) - (get_local $$228) + (get_local $312) + (get_local $228) ) ) (call_import $__lshrti3 - (get_local $$228) - (get_local $$1) - (get_local $$2) - (get_local $$178) + (get_local $228) + (get_local $1) + (get_local $2) + (get_local $178) ) - (set_local $$229 + (set_local $229 (i32.const 400) ) - (set_local $$229 + (set_local $229 (i32.add - (get_local $$312) - (get_local $$229) + (get_local $312) + (get_local $229) ) ) (call_import $__ashlti3 - (get_local $$229) - (get_local $$3) - (get_local $$4) + (get_local $229) + (get_local $3) + (get_local $4) (i64.sub (i64.const 128) - (get_local $$178) + (get_local $178) ) ) - (set_local $$230 + (set_local $230 (i32.const 416) ) - (set_local $$230 + (set_local $230 (i32.add - (get_local $$312) - (get_local $$230) + (get_local $312) + (get_local $230) ) ) (call_import $__lshrti3 - (get_local $$230) - (get_local $$3) - (get_local $$4) - (get_local $$181) + (get_local $230) + (get_local $3) + (get_local $4) + (get_local $181) ) - (set_local $$231 + (set_local $231 (i32.const 320) ) - (set_local $$231 + (set_local $231 (i32.add - (get_local $$312) - (get_local $$231) + (get_local $312) + (get_local $231) ) ) (call_import $__ashlti3 - (get_local $$231) - (get_local $$5) - (get_local $$6) - (get_local $$180) + (get_local $231) + (get_local $5) + (get_local $6) + (get_local $180) ) - (set_local $$232 + (set_local $232 (i32.const 448) ) - (set_local $$232 + (set_local $232 (i32.add - (get_local $$312) - (get_local $$232) + (get_local $312) + (get_local $232) ) ) (call_import $__ashlti3 - (get_local $$232) - (get_local $$1) - (get_local $$2) - (get_local $$182) + (get_local $232) + (get_local $1) + (get_local $2) + (get_local $182) ) - (set_local $$233 + (set_local $233 (i32.const 736) ) - (set_local $$233 + (set_local $233 (i32.add - (get_local $$312) - (get_local $$233) + (get_local $312) + (get_local $233) ) ) (call_import $__lshrti3 - (get_local $$233) - (get_local $$1) - (get_local $$2) - (get_local $$177) + (get_local $233) + (get_local $1) + (get_local $2) + (get_local $177) ) - (set_local $$234 + (set_local $234 (i32.const 720) ) - (set_local $$234 + (set_local $234 (i32.add - (get_local $$312) - (get_local $$234) + (get_local $312) + (get_local $234) ) ) (call_import $__ashlti3 - (get_local $$234) - (get_local $$3) - (get_local $$4) - (get_local $$176) + (get_local $234) + (get_local $3) + (get_local $4) + (get_local $176) ) - (set_local $$235 + (set_local $235 (i32.const 752) ) - (set_local $$235 + (set_local $235 (i32.add - (get_local $$312) - (get_local $$235) + (get_local $312) + (get_local $235) ) ) (call_import $__ashlti3 - (get_local $$235) - (get_local $$1) - (get_local $$2) - (get_local $$175) + (get_local $235) + (get_local $1) + (get_local $2) + (get_local $175) ) - (set_local $$236 + (set_local $236 (i32.const 592) ) - (set_local $$236 + (set_local $236 (i32.add - (get_local $$312) - (get_local $$236) + (get_local $312) + (get_local $236) ) ) (call_import $__ashlti3 - (get_local $$236) - (get_local $$7) - (get_local $$8) - (get_local $$17) + (get_local $236) + (get_local $7) + (get_local $8) + (get_local $17) ) - (set_local $$237 + (set_local $237 (i32.const 608) ) - (set_local $$237 + (set_local $237 (i32.add - (get_local $$312) - (get_local $$237) + (get_local $312) + (get_local $237) ) ) (call_import $__lshrti3 - (get_local $$237) - (get_local $$5) - (get_local $$6) - (get_local $$174) + (get_local $237) + (get_local $5) + (get_local $6) + (get_local $174) ) - (set_local $$238 + (set_local $238 (i32.const 624) ) - (set_local $$238 + (set_local $238 (i32.add - (get_local $$312) - (get_local $$238) + (get_local $312) + (get_local $238) ) ) (call_import $__ashlti3 - (get_local $$238) - (get_local $$5) - (get_local $$6) - (get_local $$173) + (get_local $238) + (get_local $5) + (get_local $6) + (get_local $173) ) - (set_local $$239 + (set_local $239 (i32.const 688) ) - (set_local $$239 + (set_local $239 (i32.add - (get_local $$312) - (get_local $$239) + (get_local $312) + (get_local $239) ) ) (call_import $__lshrti3 - (get_local $$239) - (get_local $$3) - (get_local $$4) - (get_local $$172) + (get_local $239) + (get_local $3) + (get_local $4) + (get_local $172) ) - (set_local $$240 + (set_local $240 (i32.const 640) ) - (set_local $$240 + (set_local $240 (i32.add - (get_local $$312) - (get_local $$240) + (get_local $312) + (get_local $240) ) ) (call_import $__lshrti3 - (get_local $$240) - (get_local $$1) - (get_local $$2) - (get_local $$172) + (get_local $240) + (get_local $1) + (get_local $2) + (get_local $172) ) - (set_local $$241 + (set_local $241 (i32.const 656) ) - (set_local $$241 + (set_local $241 (i32.add - (get_local $$312) - (get_local $$241) + (get_local $312) + (get_local $241) ) ) (call_import $__ashlti3 - (get_local $$241) - (get_local $$3) - (get_local $$4) - (get_local $$169) + (get_local $241) + (get_local $3) + (get_local $4) + (get_local $169) ) - (set_local $$242 + (set_local $242 (i32.const 672) ) - (set_local $$242 + (set_local $242 (i32.add - (get_local $$312) - (get_local $$242) + (get_local $312) + (get_local $242) ) ) (call_import $__lshrti3 - (get_local $$242) - (get_local $$3) - (get_local $$4) - (get_local $$174) + (get_local $242) + (get_local $3) + (get_local $4) + (get_local $174) ) - (set_local $$243 + (set_local $243 (i32.const 576) ) - (set_local $$243 + (set_local $243 (i32.add - (get_local $$312) - (get_local $$243) + (get_local $312) + (get_local $243) ) ) (call_import $__ashlti3 - (get_local $$243) - (get_local $$5) - (get_local $$6) - (get_local $$17) + (get_local $243) + (get_local $5) + (get_local $6) + (get_local $17) ) - (set_local $$244 + (set_local $244 (i32.const 704) ) - (set_local $$244 + (set_local $244 (i32.add - (get_local $$312) - (get_local $$244) + (get_local $312) + (get_local $244) ) ) (call_import $__ashlti3 - (get_local $$244) - (get_local $$1) - (get_local $$2) - (get_local $$176) + (get_local $244) + (get_local $1) + (get_local $2) + (get_local $176) ) - (set_local $$245 + (set_local $245 (i32.const 528) ) - (set_local $$245 + (set_local $245 (i32.add - (get_local $$312) - (get_local $$245) + (get_local $312) + (get_local $245) ) ) (call_import $__ashlti3 - (get_local $$245) - (get_local $$3) - (get_local $$4) - (get_local $$17) + (get_local $245) + (get_local $3) + (get_local $4) + (get_local $17) ) - (set_local $$246 + (set_local $246 (i32.const 544) ) - (set_local $$246 + (set_local $246 (i32.add - (get_local $$312) - (get_local $$246) + (get_local $312) + (get_local $246) ) ) (call_import $__lshrti3 - (get_local $$246) - (get_local $$1) - (get_local $$2) - (get_local $$174) + (get_local $246) + (get_local $1) + (get_local $2) + (get_local $174) ) - (set_local $$247 + (set_local $247 (i32.const 560) ) - (set_local $$247 + (set_local $247 (i32.add - (get_local $$312) - (get_local $$247) + (get_local $312) + (get_local $247) ) ) (call_import $__ashlti3 - (get_local $$247) - (get_local $$1) - (get_local $$2) - (get_local $$173) + (get_local $247) + (get_local $1) + (get_local $2) + (get_local $173) ) - (set_local $$248 + (set_local $248 (i32.const 512) ) - (set_local $$248 + (set_local $248 (i32.add - (get_local $$312) - (get_local $$248) + (get_local $312) + (get_local $248) ) ) (call_import $__ashlti3 - (get_local $$248) - (get_local $$1) - (get_local $$2) - (get_local $$17) + (get_local $248) + (get_local $1) + (get_local $2) + (get_local $17) ) - (set_local $$249 + (set_local $249 (i32.const 480) ) - (set_local $$249 + (set_local $249 (i32.add - (get_local $$312) - (get_local $$249) + (get_local $312) + (get_local $249) ) ) - (set_local $$174 + (set_local $174 (i64.load (i32.add - (get_local $$249) + (get_local $249) (i32.const 8) ) ) ) - (set_local $$250 + (set_local $250 (i32.const 464) ) - (set_local $$250 + (set_local $250 (i32.add - (get_local $$312) - (get_local $$250) + (get_local $312) + (get_local $250) ) ) - (set_local $$177 + (set_local $177 (i64.load (i32.add - (get_local $$250) + (get_local $250) (i32.const 8) ) ) ) - (set_local $$173 + (set_local $173 (i64.load offset=480 - (get_local $$312) + (get_local $312) ) ) - (set_local $$181 + (set_local $181 (i64.load offset=464 - (get_local $$312) + (get_local $312) ) ) - (set_local $$169 + (set_local $169 (i64.load offset=496 - (get_local $$312) + (get_local $312) ) ) - (set_local $$251 + (set_local $251 (i32.const 496) ) - (set_local $$251 + (set_local $251 (i32.add - (get_local $$312) - (get_local $$251) + (get_local $312) + (get_local $251) ) ) - (set_local $$179 + (set_local $179 (i64.load (i32.add - (get_local $$251) + (get_local $251) (i32.const 8) ) ) ) - (set_local $$252 + (set_local $252 (i32.const 352) ) - (set_local $$252 + (set_local $252 (i32.add - (get_local $$312) - (get_local $$252) + (get_local $312) + (get_local $252) ) ) - (set_local $$175 + (set_local $175 (i64.load (i32.add - (get_local $$252) + (get_local $252) (i32.const 8) ) ) ) - (set_local $$253 + (set_local $253 (i32.const 336) ) - (set_local $$253 + (set_local $253 (i32.add - (get_local $$312) - (get_local $$253) + (get_local $312) + (get_local $253) ) ) - (set_local $$45 + (set_local $45 (i64.load (i32.add - (get_local $$253) + (get_local $253) (i32.const 8) ) ) ) - (set_local $$254 + (set_local $254 (i32.const 368) ) - (set_local $$254 + (set_local $254 (i32.add - (get_local $$312) - (get_local $$254) + (get_local $312) + (get_local $254) ) ) - (set_local $$46 + (set_local $46 (i64.load (i32.add - (get_local $$254) + (get_local $254) (i32.const 8) ) ) ) - (set_local $$255 + (set_local $255 (i32.const 432) ) - (set_local $$255 + (set_local $255 (i32.add - (get_local $$312) - (get_local $$255) + (get_local $312) + (get_local $255) ) ) - (set_local $$47 + (set_local $47 (i64.load (i32.add - (get_local $$255) + (get_local $255) (i32.const 8) ) ) ) - (set_local $$256 + (set_local $256 (i32.const 864) ) - (set_local $$256 + (set_local $256 (i32.add - (get_local $$312) - (get_local $$256) + (get_local $312) + (get_local $256) ) ) - (set_local $$48 + (set_local $48 (i64.load (i32.add - (get_local $$256) + (get_local $256) (i32.const 8) ) ) ) - (set_local $$257 + (set_local $257 (i32.const 848) ) - (set_local $$257 + (set_local $257 (i32.add - (get_local $$312) - (get_local $$257) + (get_local $312) + (get_local $257) ) ) - (set_local $$49 + (set_local $49 (i64.load (i32.add - (get_local $$257) + (get_local $257) (i32.const 8) ) ) ) - (set_local $$258 + (set_local $258 (i32.const 880) ) - (set_local $$258 + (set_local $258 (i32.add - (get_local $$312) - (get_local $$258) + (get_local $312) + (get_local $258) ) ) - (set_local $$50 + (set_local $50 (i64.load (i32.add - (get_local $$258) + (get_local $258) (i32.const 8) ) ) ) - (set_local $$259 + (set_local $259 (i32.const 1008) ) - (set_local $$259 + (set_local $259 (i32.add - (get_local $$312) - (get_local $$259) + (get_local $312) + (get_local $259) ) ) - (set_local $$51 + (set_local $51 (i64.load (i32.add - (get_local $$259) + (get_local $259) (i32.const 8) ) ) ) - (set_local $$260 + (set_local $260 (i32.const 960) ) - (set_local $$260 + (set_local $260 (i32.add - (get_local $$312) - (get_local $$260) + (get_local $312) + (get_local $260) ) ) - (set_local $$52 + (set_local $52 (i64.load (i32.add - (get_local $$260) + (get_local $260) (i32.const 8) ) ) ) - (set_local $$261 + (set_local $261 (i32.const 976) ) - (set_local $$261 + (set_local $261 (i32.add - (get_local $$312) - (get_local $$261) + (get_local $312) + (get_local $261) ) ) - (set_local $$53 + (set_local $53 (i64.load (i32.add - (get_local $$261) + (get_local $261) (i32.const 8) ) ) ) - (set_local $$262 + (set_local $262 (i32.const 816) ) - (set_local $$262 + (set_local $262 (i32.add - (get_local $$312) - (get_local $$262) + (get_local $312) + (get_local $262) ) ) - (set_local $$54 + (set_local $54 (i64.load (i32.add - (get_local $$262) + (get_local $262) (i32.const 8) ) ) ) - (set_local $$263 + (set_local $263 (i32.const 240) ) - (set_local $$263 + (set_local $263 (i32.add - (get_local $$312) - (get_local $$263) + (get_local $312) + (get_local $263) ) ) - (set_local $$55 + (set_local $55 (i64.load (i32.add - (get_local $$263) + (get_local $263) (i32.const 8) ) ) ) - (set_local $$264 + (set_local $264 (i32.const 912) ) - (set_local $$264 + (set_local $264 (i32.add - (get_local $$312) - (get_local $$264) + (get_local $312) + (get_local $264) ) ) - (set_local $$67 + (set_local $67 (i64.load (i32.add - (get_local $$264) + (get_local $264) (i32.const 8) ) ) ) - (set_local $$265 + (set_local $265 (i32.const 928) ) - (set_local $$265 + (set_local $265 (i32.add - (get_local $$312) - (get_local $$265) + (get_local $312) + (get_local $265) ) ) - (set_local $$68 + (set_local $68 (i64.load (i32.add - (get_local $$265) + (get_local $265) (i32.const 8) ) ) ) - (set_local $$266 + (set_local $266 (i32.const 944) ) - (set_local $$266 + (set_local $266 (i32.add - (get_local $$312) - (get_local $$266) + (get_local $312) + (get_local $266) ) ) - (set_local $$69 + (set_local $69 (i64.load (i32.add - (get_local $$266) + (get_local $266) (i32.const 8) ) ) ) - (set_local $$267 + (set_local $267 (i32.const 80) ) - (set_local $$267 + (set_local $267 (i32.add - (get_local $$312) - (get_local $$267) + (get_local $312) + (get_local $267) ) ) - (set_local $$70 + (set_local $70 (i64.load (i32.add - (get_local $$267) + (get_local $267) (i32.const 8) ) ) ) - (set_local $$268 + (set_local $268 (i32.const 96) ) - (set_local $$268 + (set_local $268 (i32.add - (get_local $$312) - (get_local $$268) + (get_local $312) + (get_local $268) ) ) - (set_local $$71 + (set_local $71 (i64.load (i32.add - (get_local $$268) + (get_local $268) (i32.const 8) ) ) ) - (set_local $$59 + (set_local $59 (i64.load offset=80 - (get_local $$312) + (get_local $312) ) ) - (set_local $$60 + (set_local $60 (i64.load offset=96 - (get_local $$312) + (get_local $312) ) ) - (set_local $$61 + (set_local $61 (i64.load offset=112 - (get_local $$312) + (get_local $312) ) ) - (set_local $$269 + (set_local $269 (i32.const 112) ) - (set_local $$269 + (set_local $269 (i32.add - (get_local $$312) - (get_local $$269) + (get_local $312) + (get_local $269) ) ) - (set_local $$72 + (set_local $72 (i64.load (i32.add - (get_local $$269) + (get_local $269) (i32.const 8) ) ) ) - (set_local $$270 + (set_local $270 (i32.const 48) ) - (set_local $$270 + (set_local $270 (i32.add - (get_local $$312) - (get_local $$270) + (get_local $312) + (get_local $270) ) ) - (set_local $$73 + (set_local $73 (i64.load (i32.add - (get_local $$270) + (get_local $270) (i32.const 8) ) ) ) - (set_local $$271 + (set_local $271 (i32.const 176) ) - (set_local $$271 + (set_local $271 (i32.add - (get_local $$312) - (get_local $$271) + (get_local $312) + (get_local $271) ) ) - (set_local $$74 + (set_local $74 (i64.load (i32.add - (get_local $$271) + (get_local $271) (i32.const 8) ) ) ) - (set_local $$272 + (set_local $272 (i32.const 288) ) - (set_local $$272 + (set_local $272 (i32.add - (get_local $$312) - (get_local $$272) + (get_local $312) + (get_local $272) ) ) - (set_local $$75 + (set_local $75 (i64.load (i32.add - (get_local $$272) + (get_local $272) (i32.const 8) ) ) ) - (set_local $$273 + (set_local $273 (i32.const 272) ) - (set_local $$273 + (set_local $273 (i32.add - (get_local $$312) - (get_local $$273) + (get_local $312) + (get_local $273) ) ) - (set_local $$76 + (set_local $76 (i64.load (i32.add - (get_local $$273) + (get_local $273) (i32.const 8) ) ) ) - (set_local $$274 + (set_local $274 (i32.const 304) ) - (set_local $$274 + (set_local $274 (i32.add - (get_local $$312) - (get_local $$274) + (get_local $312) + (get_local $274) ) ) - (set_local $$77 + (set_local $77 (i64.load (i32.add - (get_local $$274) + (get_local $274) (i32.const 8) ) ) ) - (set_local $$275 + (set_local $275 (i32.const 128) ) - (set_local $$275 + (set_local $275 (i32.add - (get_local $$312) - (get_local $$275) + (get_local $312) + (get_local $275) ) ) - (set_local $$87 + (set_local $87 (i64.load (i32.add - (get_local $$275) + (get_local $275) (i32.const 8) ) ) ) - (set_local $$276 + (set_local $276 (i32.const 144) ) - (set_local $$276 + (set_local $276 (i32.add - (get_local $$312) - (get_local $$276) + (get_local $312) + (get_local $276) ) ) - (set_local $$88 + (set_local $88 (i64.load (i32.add - (get_local $$276) + (get_local $276) (i32.const 8) ) ) ) - (set_local $$277 + (set_local $277 (i32.const 160) ) - (set_local $$277 + (set_local $277 (i32.add - (get_local $$312) - (get_local $$277) + (get_local $312) + (get_local $277) ) ) - (set_local $$89 + (set_local $89 (i64.load (i32.add - (get_local $$277) + (get_local $277) (i32.const 8) ) ) ) - (set_local $$90 + (set_local $90 (i64.load (i32.add - (get_local $$312) + (get_local $312) (i32.const 8) ) ) ) - (set_local $$278 + (set_local $278 (i32.const 16) ) - (set_local $$278 + (set_local $278 (i32.add - (get_local $$312) - (get_local $$278) + (get_local $312) + (get_local $278) ) ) - (set_local $$91 + (set_local $91 (i64.load (i32.add - (get_local $$278) + (get_local $278) (i32.const 8) ) ) ) - (set_local $$84 + (set_local $84 (i64.load offset=64 - (get_local $$312) + (get_local $312) ) ) - (set_local $$279 + (set_local $279 (i32.const 64) ) - (set_local $$279 + (set_local $279 (i32.add - (get_local $$312) - (get_local $$279) + (get_local $312) + (get_local $279) ) ) - (set_local $$93 + (set_local $93 (i64.load (i32.add - (get_local $$279) + (get_local $279) (i32.const 8) ) ) ) - (set_local $$280 + (set_local $280 (i32.const 32) ) - (set_local $$280 + (set_local $280 (i32.add - (get_local $$312) - (get_local $$280) + (get_local $312) + (get_local $280) ) ) - (set_local $$92 + (set_local $92 (i64.load (i32.add - (get_local $$280) + (get_local $280) (i32.const 8) ) ) ) - (set_local $$281 + (set_local $281 (i32.const 896) ) - (set_local $$281 + (set_local $281 (i32.add - (get_local $$312) - (get_local $$281) + (get_local $312) + (get_local $281) ) ) - (set_local $$94 + (set_local $94 (i64.load (i32.add - (get_local $$281) + (get_local $281) (i32.const 8) ) ) ) - (set_local $$282 + (set_local $282 (i32.const 256) ) - (set_local $$282 + (set_local $282 (i32.add - (get_local $$312) - (get_local $$282) + (get_local $312) + (get_local $282) ) ) - (set_local $$95 + (set_local $95 (i64.load (i32.add - (get_local $$282) + (get_local $282) (i32.const 8) ) ) ) - (set_local $$283 + (set_local $283 (i32.const 192) ) - (set_local $$283 + (set_local $283 (i32.add - (get_local $$312) - (get_local $$283) + (get_local $312) + (get_local $283) ) ) - (set_local $$109 + (set_local $109 (i64.load (i32.add - (get_local $$283) + (get_local $283) (i32.const 8) ) ) ) - (set_local $$284 + (set_local $284 (i32.const 208) ) - (set_local $$284 + (set_local $284 (i32.add - (get_local $$312) - (get_local $$284) + (get_local $312) + (get_local $284) ) ) - (set_local $$110 + (set_local $110 (i64.load (i32.add - (get_local $$284) + (get_local $284) (i32.const 8) ) ) ) - (set_local $$81 + (set_local $81 (i64.load - (get_local $$312) + (get_local $312) ) ) - (set_local $$82 + (set_local $82 (i64.load offset=16 - (get_local $$312) + (get_local $312) ) ) - (set_local $$83 + (set_local $83 (i64.load offset=32 - (get_local $$312) + (get_local $312) ) ) - (set_local $$285 + (set_local $285 (i32.const 224) ) - (set_local $$285 + (set_local $285 (i32.add - (get_local $$312) - (get_local $$285) + (get_local $312) + (get_local $285) ) ) - (set_local $$111 + (set_local $111 (i64.load (i32.add - (get_local $$285) + (get_local $285) (i32.const 8) ) ) ) - (set_local $$96 + (set_local $96 (i64.load offset=192 - (get_local $$312) + (get_local $312) ) ) - (set_local $$97 + (set_local $97 (i64.load offset=208 - (get_local $$312) + (get_local $312) ) ) - (set_local $$98 + (set_local $98 (i64.load offset=224 - (get_local $$312) + (get_local $312) ) ) - (set_local $$44 + (set_local $44 (i64.load offset=240 - (get_local $$312) + (get_local $312) ) ) - (set_local $$62 + (set_local $62 (i64.load offset=48 - (get_local $$312) + (get_local $312) ) ) - (set_local $$63 + (set_local $63 (i64.load offset=176 - (get_local $$312) + (get_local $312) ) ) - (set_local $$78 + (set_local $78 (i64.load offset=128 - (get_local $$312) + (get_local $312) ) ) - (set_local $$79 + (set_local $79 (i64.load offset=144 - (get_local $$312) + (get_local $312) ) ) - (set_local $$80 + (set_local $80 (i64.load offset=160 - (get_local $$312) + (get_local $312) ) ) - (set_local $$286 + (set_local $286 (i32.const 768) ) - (set_local $$286 + (set_local $286 (i32.add - (get_local $$312) - (get_local $$286) + (get_local $312) + (get_local $286) ) ) - (set_local $$112 + (set_local $112 (i64.load (i32.add - (get_local $$286) + (get_local $286) (i32.const 8) ) ) ) - (set_local $$287 + (set_local $287 (i32.const 784) ) - (set_local $$287 + (set_local $287 (i32.add - (get_local $$312) - (get_local $$287) + (get_local $312) + (get_local $287) ) ) - (set_local $$113 + (set_local $113 (i64.load (i32.add - (get_local $$287) + (get_local $287) (i32.const 8) ) ) ) - (set_local $$288 + (set_local $288 (i32.const 800) ) - (set_local $$288 + (set_local $288 (i32.add - (get_local $$312) - (get_local $$288) + (get_local $312) + (get_local $288) ) ) - (set_local $$114 + (set_local $114 (i64.load (i32.add - (get_local $$288) + (get_local $288) (i32.const 8) ) ) ) - (set_local $$289 + (set_local $289 (i32.const 992) ) - (set_local $$289 + (set_local $289 (i32.add - (get_local $$312) - (get_local $$289) + (get_local $312) + (get_local $289) ) ) - (set_local $$115 + (set_local $115 (i64.load (i32.add - (get_local $$289) + (get_local $289) (i32.const 8) ) ) ) - (set_local $$290 + (set_local $290 (i32.const 832) ) - (set_local $$290 + (set_local $290 (i32.add - (get_local $$312) - (get_local $$290) + (get_local $312) + (get_local $290) ) ) - (set_local $$116 + (set_local $116 (i64.load (i32.add - (get_local $$290) + (get_local $290) (i32.const 8) ) ) ) - (set_local $$291 + (set_local $291 (i32.const 384) ) - (set_local $$291 + (set_local $291 (i32.add - (get_local $$312) - (get_local $$291) + (get_local $312) + (get_local $291) ) ) - (set_local $$117 + (set_local $117 (i64.load (i32.add - (get_local $$291) + (get_local $291) (i32.const 8) ) ) ) - (set_local $$292 + (set_local $292 (i32.const 400) ) - (set_local $$292 + (set_local $292 (i32.add - (get_local $$312) - (get_local $$292) + (get_local $312) + (get_local $292) ) ) - (set_local $$118 + (set_local $118 (i64.load (i32.add - (get_local $$292) + (get_local $292) (i32.const 8) ) ) ) - (set_local $$104 + (set_local $104 (i64.load offset=384 - (get_local $$312) + (get_local $312) ) ) - (set_local $$105 + (set_local $105 (i64.load offset=400 - (get_local $$312) + (get_local $312) ) ) - (set_local $$293 + (set_local $293 (i32.const 416) ) - (set_local $$293 + (set_local $293 (i32.add - (get_local $$312) - (get_local $$293) + (get_local $312) + (get_local $293) ) ) - (set_local $$119 + (set_local $119 (i64.load (i32.add - (get_local $$293) + (get_local $293) (i32.const 8) ) ) ) - (set_local $$106 + (set_local $106 (i64.load offset=416 - (get_local $$312) + (get_local $312) ) ) - (set_local $$36 + (set_local $36 (i64.load offset=432 - (get_local $$312) + (get_local $312) ) ) - (set_local $$294 + (set_local $294 (i32.const 320) ) - (set_local $$294 + (set_local $294 (i32.add - (get_local $$312) - (get_local $$294) + (get_local $312) + (get_local $294) ) ) - (set_local $$120 + (set_local $120 (i64.load (i32.add - (get_local $$294) + (get_local $294) (i32.const 8) ) ) ) - (set_local $$33 + (set_local $33 (i64.load offset=352 - (get_local $$312) + (get_local $312) ) ) - (set_local $$34 + (set_local $34 (i64.load offset=336 - (get_local $$312) + (get_local $312) ) ) - (set_local $$35 + (set_local $35 (i64.load offset=368 - (get_local $$312) + (get_local $312) ) ) - (set_local $$295 + (set_local $295 (i32.const 448) ) - (set_local $$295 + (set_local $295 (i32.add - (get_local $$312) - (get_local $$295) + (get_local $312) + (get_local $295) ) ) - (set_local $$121 + (set_local $121 (i64.load (i32.add - (get_local $$295) + (get_local $295) (i32.const 8) ) ) ) - (set_local $$64 + (set_local $64 (i64.load offset=288 - (get_local $$312) + (get_local $312) ) ) - (set_local $$65 + (set_local $65 (i64.load offset=272 - (get_local $$312) + (get_local $312) ) ) - (set_local $$66 + (set_local $66 (i64.load offset=304 - (get_local $$312) + (get_local $312) ) ) - (set_local $$86 + (set_local $86 (i64.load offset=256 - (get_local $$312) + (get_local $312) ) ) - (set_local $$107 + (set_local $107 (i64.load offset=320 - (get_local $$312) + (get_local $312) ) ) - (set_local $$108 + (set_local $108 (i64.load offset=448 - (get_local $$312) + (get_local $312) ) ) - (set_local $$296 + (set_local $296 (i32.const 736) ) - (set_local $$296 + (set_local $296 (i32.add - (get_local $$312) - (get_local $$296) + (get_local $312) + (get_local $296) ) ) - (set_local $$129 + (set_local $129 (i64.load (i32.add - (get_local $$296) + (get_local $296) (i32.const 8) ) ) ) - (set_local $$297 + (set_local $297 (i32.const 720) ) - (set_local $$297 + (set_local $297 (i32.add - (get_local $$312) - (get_local $$297) + (get_local $312) + (get_local $297) ) ) - (set_local $$130 + (set_local $130 (i64.load (i32.add - (get_local $$297) + (get_local $297) (i32.const 8) ) ) ) - (set_local $$37 + (set_local $37 (i64.load offset=864 - (get_local $$312) + (get_local $312) ) ) - (set_local $$38 + (set_local $38 (i64.load offset=848 - (get_local $$312) + (get_local $312) ) ) - (set_local $$39 + (set_local $39 (i64.load offset=880 - (get_local $$312) + (get_local $312) ) ) - (set_local $$298 + (set_local $298 (i32.const 752) ) - (set_local $$298 + (set_local $298 (i32.add - (get_local $$312) - (get_local $$298) + (get_local $312) + (get_local $298) ) ) - (set_local $$131 + (set_local $131 (i64.load (i32.add - (get_local $$298) + (get_local $298) (i32.const 8) ) ) ) - (set_local $$122 + (set_local $122 (i64.load offset=736 - (get_local $$312) + (get_local $312) ) ) - (set_local $$123 + (set_local $123 (i64.load offset=720 - (get_local $$312) + (get_local $312) ) ) - (set_local $$124 + (set_local $124 (i64.load offset=752 - (get_local $$312) + (get_local $312) ) ) - (set_local $$299 + (set_local $299 (i32.const 592) ) - (set_local $$299 + (set_local $299 (i32.add - (get_local $$312) - (get_local $$299) + (get_local $312) + (get_local $299) ) ) - (set_local $$132 + (set_local $132 (i64.load (i32.add - (get_local $$299) + (get_local $299) (i32.const 8) ) ) ) - (set_local $$300 + (set_local $300 (i32.const 608) ) - (set_local $$300 + (set_local $300 (i32.add - (get_local $$312) - (get_local $$300) + (get_local $312) + (get_local $300) ) ) - (set_local $$133 + (set_local $133 (i64.load (i32.add - (get_local $$300) + (get_local $300) (i32.const 8) ) ) ) - (set_local $$301 + (set_local $301 (i32.const 624) ) - (set_local $$301 + (set_local $301 (i32.add - (get_local $$312) - (get_local $$301) + (get_local $312) + (get_local $301) ) ) - (set_local $$134 + (set_local $134 (i64.load (i32.add - (get_local $$301) + (get_local $301) (i32.const 8) ) ) ) - (set_local $$302 + (set_local $302 (i32.const 688) ) - (set_local $$302 + (set_local $302 (i32.add - (get_local $$312) - (get_local $$302) + (get_local $312) + (get_local $302) ) ) - (set_local $$135 + (set_local $135 (i64.load (i32.add - (get_local $$302) + (get_local $302) (i32.const 8) ) ) ) - (set_local $$303 + (set_local $303 (i32.const 640) ) - (set_local $$303 + (set_local $303 (i32.add - (get_local $$312) - (get_local $$303) + (get_local $312) + (get_local $303) ) ) - (set_local $$141 + (set_local $141 (i64.load (i32.add - (get_local $$303) + (get_local $303) (i32.const 8) ) ) ) - (set_local $$304 + (set_local $304 (i32.const 656) ) - (set_local $$304 + (set_local $304 (i32.add - (get_local $$312) - (get_local $$304) + (get_local $312) + (get_local $304) ) ) - (set_local $$142 + (set_local $142 (i64.load (i32.add - (get_local $$304) + (get_local $304) (i32.const 8) ) ) ) - (set_local $$99 + (set_local $99 (i64.load offset=768 - (get_local $$312) + (get_local $312) ) ) - (set_local $$100 + (set_local $100 (i64.load offset=784 - (get_local $$312) + (get_local $312) ) ) - (set_local $$101 + (set_local $101 (i64.load offset=800 - (get_local $$312) + (get_local $312) ) ) - (set_local $$305 + (set_local $305 (i32.const 672) ) - (set_local $$305 + (set_local $305 (i32.add - (get_local $$312) - (get_local $$305) + (get_local $312) + (get_local $305) ) ) - (set_local $$143 + (set_local $143 (i64.load (i32.add - (get_local $$305) + (get_local $305) (i32.const 8) ) ) ) - (set_local $$136 + (set_local $136 (i64.load offset=640 - (get_local $$312) + (get_local $312) ) ) - (set_local $$137 + (set_local $137 (i64.load offset=656 - (get_local $$312) + (get_local $312) ) ) - (set_local $$138 + (set_local $138 (i64.load offset=672 - (get_local $$312) + (get_local $312) ) ) - (set_local $$43 + (set_local $43 (i64.load offset=816 - (get_local $$312) + (get_local $312) ) ) - (set_local $$128 + (set_local $128 (i64.load offset=688 - (get_local $$312) + (get_local $312) ) ) - (set_local $$306 + (set_local $306 (i32.const 576) ) - (set_local $$306 + (set_local $306 (i32.add - (get_local $$312) - (get_local $$306) + (get_local $312) + (get_local $306) ) ) - (set_local $$144 + (set_local $144 (i64.load (i32.add - (get_local $$306) + (get_local $306) (i32.const 8) ) ) ) - (set_local $$103 + (set_local $103 (i64.load offset=832 - (get_local $$312) + (get_local $312) ) ) - (set_local $$140 + (set_local $140 (i64.load offset=704 - (get_local $$312) + (get_local $312) ) ) - (set_local $$307 + (set_local $307 (i32.const 704) ) - (set_local $$307 + (set_local $307 (i32.add - (get_local $$312) - (get_local $$307) + (get_local $312) + (get_local $307) ) ) - (set_local $$145 + (set_local $145 (i64.load (i32.add - (get_local $$307) + (get_local $307) (i32.const 8) ) ) ) - (set_local $$308 + (set_local $308 (i32.const 528) ) - (set_local $$308 + (set_local $308 (i32.add - (get_local $$312) - (get_local $$308) + (get_local $312) + (get_local $308) ) ) - (set_local $$149 + (set_local $149 (i64.load (i32.add - (get_local $$308) + (get_local $308) (i32.const 8) ) ) ) - (set_local $$309 + (set_local $309 (i32.const 544) ) - (set_local $$309 + (set_local $309 (i32.add - (get_local $$312) - (get_local $$309) + (get_local $312) + (get_local $309) ) ) - (set_local $$150 + (set_local $150 (i64.load (i32.add - (get_local $$309) + (get_local $309) (i32.const 8) ) ) ) - (set_local $$310 + (set_local $310 (i32.const 560) ) - (set_local $$310 + (set_local $310 (i32.add - (get_local $$312) - (get_local $$310) + (get_local $312) + (get_local $310) ) ) - (set_local $$151 + (set_local $151 (i64.load (i32.add - (get_local $$310) + (get_local $310) (i32.const 8) ) ) ) - (set_local $$40 + (set_local $40 (i64.load offset=1008 - (get_local $$312) + (get_local $312) ) ) - (set_local $$41 + (set_local $41 (i64.load offset=960 - (get_local $$312) + (get_local $312) ) ) - (set_local $$42 + (set_local $42 (i64.load offset=976 - (get_local $$312) + (get_local $312) ) ) - (set_local $$56 + (set_local $56 (i64.load offset=912 - (get_local $$312) + (get_local $312) ) ) - (set_local $$57 + (set_local $57 (i64.load offset=928 - (get_local $$312) + (get_local $312) ) ) - (set_local $$58 + (set_local $58 (i64.load offset=944 - (get_local $$312) + (get_local $312) ) ) - (set_local $$85 + (set_local $85 (i64.load offset=896 - (get_local $$312) + (get_local $312) ) ) - (set_local $$102 + (set_local $102 (i64.load offset=992 - (get_local $$312) + (get_local $312) ) ) - (set_local $$125 + (set_local $125 (i64.load offset=592 - (get_local $$312) + (get_local $312) ) ) - (set_local $$126 + (set_local $126 (i64.load offset=608 - (get_local $$312) + (get_local $312) ) ) - (set_local $$127 + (set_local $127 (i64.load offset=624 - (get_local $$312) + (get_local $312) ) ) - (set_local $$139 + (set_local $139 (i64.load offset=576 - (get_local $$312) + (get_local $312) ) ) - (set_local $$146 + (set_local $146 (i64.load offset=528 - (get_local $$312) + (get_local $312) ) ) - (set_local $$147 + (set_local $147 (i64.load offset=544 - (get_local $$312) + (get_local $312) ) ) - (set_local $$148 + (set_local $148 (i64.load offset=560 - (get_local $$312) + (get_local $312) ) ) - (set_local $$152 + (set_local $152 (i64.load offset=512 - (get_local $$312) + (get_local $312) ) ) - (set_local $$311 + (set_local $311 (i32.const 512) ) - (set_local $$311 + (set_local $311 (i32.add - (get_local $$312) - (get_local $$311) + (get_local $312) + (get_local $311) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 8) ) (select @@ -2812,1066 +2812,1066 @@ (select (i64.load (i32.add - (get_local $$311) + (get_local $311) (i32.const 8) ) ) (i64.const 0) - (set_local $$168 + (set_local $168 (i64.lt_u - (get_local $$17) + (get_local $17) (i64.const 128) ) ) ) (i64.const 0) - (set_local $$167 + (set_local $167 (i64.lt_u - (get_local $$17) + (get_local $17) (i64.const 256) ) ) ) (i64.const 0) - (set_local $$166 + (set_local $166 (i64.lt_u - (get_local $$17) + (get_local $17) (i64.const 512) ) ) ) ) (i64.store - (get_local $$0) + (get_local $0) (select (select (select - (get_local $$152) + (get_local $152) (i64.const 0) - (get_local $$168) + (get_local $168) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) (select (select (select - (get_local $$4) + (get_local $4) (select (i64.or - (get_local $$149) - (get_local $$150) + (get_local $149) + (get_local $150) ) - (get_local $$151) - (get_local $$168) + (get_local $151) + (get_local $168) ) - (set_local $$165 + (set_local $165 (i64.eq - (get_local $$17) + (get_local $17) (i64.const 0) ) ) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 16) ) (select (select (select - (get_local $$3) + (get_local $3) (select (i64.or - (get_local $$146) - (get_local $$147) + (get_local $146) + (get_local $147) ) - (get_local $$148) - (get_local $$168) + (get_local $148) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 56) ) (select (select - (get_local $$8) + (get_local $8) (select (i64.or (select - (get_local $$8) + (get_local $8) (select (i64.or - (get_local $$132) - (get_local $$133) + (get_local $132) + (get_local $133) ) - (get_local $$134) - (get_local $$168) + (get_local $134) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (select - (get_local $$135) + (get_local $135) (i64.const 0) - (set_local $$164 + (set_local $164 (i64.lt_u - (get_local $$172) + (get_local $172) (i64.const 128) ) ) ) ) (select - (get_local $$4) + (get_local $4) (select (i64.or - (get_local $$130) - (get_local $$129) + (get_local $130) + (get_local $129) ) - (get_local $$131) - (set_local $$163 + (get_local $131) + (set_local $163 (i64.lt_u - (get_local $$176) + (get_local $176) (i64.const 128) ) ) ) - (set_local $$153 + (set_local $153 (i64.eq - (get_local $$176) + (get_local $176) (i64.const 0) ) ) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 48) ) (select (select - (get_local $$7) + (get_local $7) (select (i64.or (select - (get_local $$7) + (get_local $7) (select (i64.or - (get_local $$125) - (get_local $$126) + (get_local $125) + (get_local $126) ) - (get_local $$127) - (get_local $$168) + (get_local $127) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (select - (get_local $$128) + (get_local $128) (i64.const 0) - (get_local $$164) + (get_local $164) ) ) (select - (get_local $$3) + (get_local $3) (select (i64.or - (get_local $$123) - (get_local $$122) + (get_local $123) + (get_local $122) ) - (get_local $$124) - (get_local $$163) + (get_local $124) + (get_local $163) ) - (get_local $$153) + (get_local $153) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 40) ) (select (select - (get_local $$6) + (get_local $6) (select (i64.or (select - (get_local $$144) + (get_local $144) (i64.const 0) - (get_local $$168) + (get_local $168) ) (select - (get_local $$2) + (get_local $2) (select (i64.or - (get_local $$141) - (get_local $$142) + (get_local $141) + (get_local $142) ) - (get_local $$143) - (get_local $$164) + (get_local $143) + (get_local $164) ) - (set_local $$162 + (set_local $162 (i64.eq - (get_local $$172) + (get_local $172) (i64.const 0) ) ) ) ) (select - (get_local $$145) + (get_local $145) (i64.const 0) - (get_local $$163) + (get_local $163) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 32) ) (select (select - (get_local $$5) + (get_local $5) (select (i64.or (select - (get_local $$139) + (get_local $139) (i64.const 0) - (get_local $$168) + (get_local $168) ) (select - (get_local $$1) + (get_local $1) (select (i64.or - (get_local $$136) - (get_local $$137) + (get_local $136) + (get_local $137) ) - (get_local $$138) - (get_local $$164) + (get_local $138) + (get_local $164) ) - (get_local $$162) + (get_local $162) ) ) (select - (get_local $$140) + (get_local $140) (i64.const 0) - (get_local $$163) + (get_local $163) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$166) + (get_local $166) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 120) ) (select - (get_local $$16) + (get_local $16) (select (i64.or (select - (get_local $$16) + (get_local $16) (select (i64.or (select - (get_local $$16) + (get_local $16) (select (i64.or - (get_local $$51) - (get_local $$52) + (get_local $51) + (get_local $52) ) - (get_local $$53) - (get_local $$168) + (get_local $53) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (select - (get_local $$54) + (get_local $54) (i64.const 0) - (get_local $$164) + (get_local $164) ) ) (select - (get_local $$12) + (get_local $12) (select (i64.or - (get_local $$49) - (get_local $$48) + (get_local $49) + (get_local $48) ) - (get_local $$50) - (get_local $$163) + (get_local $50) + (get_local $163) ) - (get_local $$153) + (get_local $153) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (select (select - (get_local $$55) + (get_local $55) (i64.const 0) - (set_local $$161 + (set_local $161 (i64.lt_u - (get_local $$171) + (get_local $171) (i64.const 128) ) ) ) (i64.const 0) - (set_local $$160 + (set_local $160 (i64.lt_u - (get_local $$171) + (get_local $171) (i64.const 256) ) ) ) ) (select - (get_local $$8) + (get_local $8) (select (i64.or (select - (get_local $$8) + (get_local $8) (select (i64.or - (get_local $$45) - (get_local $$175) + (get_local $45) + (get_local $175) ) - (get_local $$46) - (set_local $$159 + (get_local $46) + (set_local $159 (i64.lt_u - (get_local $$180) + (get_local $180) (i64.const 128) ) ) ) - (set_local $$158 + (set_local $158 (i64.eq - (get_local $$180) + (get_local $180) (i64.const 0) ) ) ) (select - (get_local $$47) + (get_local $47) (i64.const 0) - (set_local $$157 + (set_local $157 (i64.lt_u - (get_local $$178) + (get_local $178) (i64.const 128) ) ) ) ) (select - (get_local $$4) + (get_local $4) (select (i64.or - (get_local $$177) - (get_local $$174) + (get_local $177) + (get_local $174) ) - (get_local $$179) - (set_local $$156 + (get_local $179) + (set_local $156 (i64.lt_u - (get_local $$182) + (get_local $182) (i64.const 128) ) ) ) - (set_local $$155 + (set_local $155 (i64.eq - (get_local $$182) + (get_local $182) (i64.const 0) ) ) ) - (set_local $$154 + (set_local $154 (i64.lt_u - (get_local $$180) + (get_local $180) (i64.const 256) ) ) ) - (get_local $$158) + (get_local $158) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 112) ) (select - (get_local $$15) + (get_local $15) (select (i64.or (select - (get_local $$15) + (get_local $15) (select (i64.or (select - (get_local $$15) + (get_local $15) (select (i64.or - (get_local $$40) - (get_local $$41) + (get_local $40) + (get_local $41) ) - (get_local $$42) - (get_local $$168) + (get_local $42) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (select - (get_local $$43) + (get_local $43) (i64.const 0) - (get_local $$164) + (get_local $164) ) ) (select - (get_local $$11) + (get_local $11) (select (i64.or - (get_local $$38) - (get_local $$37) + (get_local $38) + (get_local $37) ) - (get_local $$39) - (get_local $$163) + (get_local $39) + (get_local $163) ) - (get_local $$153) + (get_local $153) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (select (select - (get_local $$44) + (get_local $44) (i64.const 0) - (get_local $$161) + (get_local $161) ) (i64.const 0) - (get_local $$160) + (get_local $160) ) ) (select - (get_local $$7) + (get_local $7) (select (i64.or (select - (get_local $$7) + (get_local $7) (select (i64.or - (get_local $$34) - (get_local $$33) + (get_local $34) + (get_local $33) ) - (get_local $$35) - (get_local $$159) + (get_local $35) + (get_local $159) ) - (get_local $$158) + (get_local $158) ) (select - (get_local $$36) + (get_local $36) (i64.const 0) - (get_local $$157) + (get_local $157) ) ) (select - (get_local $$3) + (get_local $3) (select (i64.or - (get_local $$181) - (get_local $$173) + (get_local $181) + (get_local $173) ) - (get_local $$169) - (get_local $$156) + (get_local $169) + (get_local $156) ) - (get_local $$155) + (get_local $155) ) - (get_local $$154) + (get_local $154) ) - (get_local $$158) + (get_local $158) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 104) ) (select - (get_local $$14) + (get_local $14) (select (i64.or (select - (get_local $$14) + (get_local $14) (select (i64.or (select - (get_local $$115) + (get_local $115) (i64.const 0) - (get_local $$168) + (get_local $168) ) (select - (get_local $$10) + (get_local $10) (select (i64.or - (get_local $$112) - (get_local $$113) + (get_local $112) + (get_local $113) ) - (get_local $$114) - (get_local $$164) + (get_local $114) + (get_local $164) ) - (get_local $$162) + (get_local $162) ) ) (select - (get_local $$116) + (get_local $116) (i64.const 0) - (get_local $$163) + (get_local $163) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (select (select - (get_local $$6) + (get_local $6) (select (i64.or - (get_local $$109) - (get_local $$110) + (get_local $109) + (get_local $110) ) - (get_local $$111) - (get_local $$161) + (get_local $111) + (get_local $161) ) - (set_local $$153 + (set_local $153 (i64.eq - (get_local $$171) + (get_local $171) (i64.const 0) ) ) ) (i64.const 0) - (get_local $$160) + (get_local $160) ) ) (select - (get_local $$6) + (get_local $6) (select (i64.or (select - (get_local $$120) + (get_local $120) (i64.const 0) - (get_local $$159) + (get_local $159) ) (select - (get_local $$2) + (get_local $2) (select (i64.or - (get_local $$117) - (get_local $$118) + (get_local $117) + (get_local $118) ) - (get_local $$119) - (get_local $$157) + (get_local $119) + (get_local $157) ) - (set_local $$155 + (set_local $155 (i64.eq - (get_local $$178) + (get_local $178) (i64.const 0) ) ) ) ) (select - (get_local $$121) + (get_local $121) (i64.const 0) - (get_local $$156) + (get_local $156) ) - (get_local $$154) + (get_local $154) ) - (get_local $$158) + (get_local $158) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 96) ) (select - (get_local $$13) + (get_local $13) (select (i64.or (select - (get_local $$13) + (get_local $13) (select (i64.or (select - (get_local $$102) + (get_local $102) (i64.const 0) - (get_local $$168) + (get_local $168) ) (select - (get_local $$9) + (get_local $9) (select (i64.or - (get_local $$99) - (get_local $$100) + (get_local $99) + (get_local $100) ) - (get_local $$101) - (get_local $$164) + (get_local $101) + (get_local $164) ) - (get_local $$162) + (get_local $162) ) ) (select - (get_local $$103) + (get_local $103) (i64.const 0) - (get_local $$163) + (get_local $163) ) - (get_local $$167) + (get_local $167) ) - (get_local $$165) + (get_local $165) ) (select (select - (get_local $$5) + (get_local $5) (select (i64.or - (get_local $$96) - (get_local $$97) + (get_local $96) + (get_local $97) ) - (get_local $$98) - (get_local $$161) + (get_local $98) + (get_local $161) ) - (get_local $$153) + (get_local $153) ) (i64.const 0) - (get_local $$160) + (get_local $160) ) ) (select - (get_local $$5) + (get_local $5) (select (i64.or (select - (get_local $$107) + (get_local $107) (i64.const 0) - (get_local $$159) + (get_local $159) ) (select - (get_local $$1) + (get_local $1) (select (i64.or - (get_local $$104) - (get_local $$105) + (get_local $104) + (get_local $105) ) - (get_local $$106) - (get_local $$157) + (get_local $106) + (get_local $157) ) - (get_local $$155) + (get_local $155) ) ) (select - (get_local $$108) + (get_local $108) (i64.const 0) - (get_local $$156) + (get_local $156) ) - (get_local $$154) + (get_local $154) ) - (get_local $$158) + (get_local $158) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 72) ) (select - (get_local $$10) + (get_local $10) (select (i64.or (select (select - (get_local $$94) + (get_local $94) (i64.const 0) - (get_local $$168) + (get_local $168) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (select - (get_local $$2) + (get_local $2) (select (i64.or (select - (get_local $$2) + (get_local $2) (select (i64.or - (get_local $$90) - (get_local $$91) + (get_local $90) + (get_local $91) ) - (get_local $$92) - (get_local $$161) + (get_local $92) + (get_local $161) ) - (get_local $$153) + (get_local $153) ) (select - (get_local $$93) + (get_local $93) (i64.const 0) - (set_local $$163 + (set_local $163 (i64.lt_u - (get_local $$170) + (get_local $170) (i64.const 128) ) ) ) ) (select - (get_local $$6) + (get_local $6) (select (i64.or - (get_local $$87) - (get_local $$88) + (get_local $87) + (get_local $88) ) - (get_local $$89) - (get_local $$164) + (get_local $89) + (get_local $164) ) - (get_local $$162) + (get_local $162) ) - (get_local $$160) + (get_local $160) ) - (get_local $$153) + (get_local $153) ) ) (select (select - (get_local $$95) + (get_local $95) (i64.const 0) - (get_local $$159) + (get_local $159) ) (i64.const 0) - (get_local $$154) + (get_local $154) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 64) ) (select - (get_local $$9) + (get_local $9) (select (i64.or (select (select - (get_local $$85) + (get_local $85) (i64.const 0) - (get_local $$168) + (get_local $168) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (select - (get_local $$1) + (get_local $1) (select (i64.or (select - (get_local $$1) + (get_local $1) (select (i64.or - (get_local $$81) - (get_local $$82) + (get_local $81) + (get_local $82) ) - (get_local $$83) - (get_local $$161) + (get_local $83) + (get_local $161) ) - (get_local $$153) + (get_local $153) ) (select - (get_local $$84) + (get_local $84) (i64.const 0) - (get_local $$163) + (get_local $163) ) ) (select - (get_local $$5) + (get_local $5) (select (i64.or - (get_local $$78) - (get_local $$79) + (get_local $78) + (get_local $79) ) - (get_local $$80) - (get_local $$164) + (get_local $80) + (get_local $164) ) - (get_local $$162) + (get_local $162) ) - (get_local $$160) + (get_local $160) ) - (get_local $$153) + (get_local $153) ) ) (select (select - (get_local $$86) + (get_local $86) (i64.const 0) - (get_local $$159) + (get_local $159) ) (i64.const 0) - (get_local $$154) + (get_local $154) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 88) ) (select - (get_local $$12) + (get_local $12) (select (i64.or (select (select - (get_local $$12) + (get_local $12) (select (i64.or - (get_local $$67) - (get_local $$68) + (get_local $67) + (get_local $68) ) - (get_local $$69) - (get_local $$168) + (get_local $69) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (select - (get_local $$4) + (get_local $4) (select (i64.or (select - (get_local $$73) + (get_local $73) (i64.const 0) - (get_local $$161) + (get_local $161) ) (select - (get_local $$8) + (get_local $8) (select (i64.or - (get_local $$70) - (get_local $$71) + (get_local $70) + (get_local $71) ) - (get_local $$72) - (get_local $$163) + (get_local $72) + (get_local $163) ) - (set_local $$162 + (set_local $162 (i64.eq - (get_local $$170) + (get_local $170) (i64.const 0) ) ) ) ) (select - (get_local $$74) + (get_local $74) (i64.const 0) - (get_local $$164) + (get_local $164) ) - (get_local $$160) + (get_local $160) ) - (get_local $$153) + (get_local $153) ) ) (select (select - (get_local $$4) + (get_local $4) (select (i64.or - (get_local $$76) - (get_local $$75) + (get_local $76) + (get_local $75) ) - (get_local $$77) - (get_local $$159) + (get_local $77) + (get_local $159) ) - (get_local $$158) + (get_local $158) ) (i64.const 0) - (get_local $$154) + (get_local $154) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 80) ) (select - (get_local $$11) + (get_local $11) (select (i64.or (select (select - (get_local $$11) + (get_local $11) (select (i64.or - (get_local $$56) - (get_local $$57) + (get_local $56) + (get_local $57) ) - (get_local $$58) - (get_local $$168) + (get_local $58) + (get_local $168) ) - (get_local $$165) + (get_local $165) ) (i64.const 0) - (get_local $$167) + (get_local $167) ) (select - (get_local $$3) + (get_local $3) (select (i64.or (select - (get_local $$62) + (get_local $62) (i64.const 0) - (get_local $$161) + (get_local $161) ) (select - (get_local $$7) + (get_local $7) (select (i64.or - (get_local $$59) - (get_local $$60) + (get_local $59) + (get_local $60) ) - (get_local $$61) - (get_local $$163) + (get_local $61) + (get_local $163) ) - (get_local $$162) + (get_local $162) ) ) (select - (get_local $$63) + (get_local $63) (i64.const 0) - (get_local $$164) + (get_local $164) ) - (get_local $$160) + (get_local $160) ) - (get_local $$153) + (get_local $153) ) ) (select (select - (get_local $$3) + (get_local $3) (select (i64.or - (get_local $$65) - (get_local $$64) + (get_local $65) + (get_local $64) ) - (get_local $$66) - (get_local $$159) + (get_local $66) + (get_local $159) ) - (get_local $$158) + (get_local $158) ) (i64.const 0) - (get_local $$154) + (get_local $154) ) - (get_local $$166) + (get_local $166) ) - (get_local $$165) + (get_local $165) ) ) - (set_local $$185 + (set_local $185 (i32.const 1024) ) - (set_local $$312 + (set_local $312 (i32.add - (get_local $$312) - (get_local $$185) + (get_local $312) + (get_local $185) ) ) - (set_local $$185 + (set_local $185 (i32.const 4) ) - (set_local $$312 + (set_local $312 (i32.store - (get_local $$185) - (get_local $$312) + (get_local $185) + (get_local $312) ) ) (return) diff --git a/test/llvm_autogenerated/load-ext.wast b/test/llvm_autogenerated/load-ext.wast index 433d7ee50..4b734e546 100644 --- a/test/llvm_autogenerated/load-ext.wast +++ b/test/llvm_autogenerated/load-ext.wast @@ -13,73 +13,73 @@ (export "zext_i16_i64" $zext_i16_i64) (export "sext_i32_i64" $sext_i32_i64) (export "zext_i32_i64" $zext_i32_i64) - (func $sext_i8_i32 (param $$0 i32) (result i32) + (func $sext_i8_i32 (param $0 i32) (result i32) (return (i32.load8_s - (get_local $$0) + (get_local $0) ) ) ) - (func $zext_i8_i32 (param $$0 i32) (result i32) + (func $zext_i8_i32 (param $0 i32) (result i32) (return (i32.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $sext_i16_i32 (param $$0 i32) (result i32) + (func $sext_i16_i32 (param $0 i32) (result i32) (return (i32.load16_s - (get_local $$0) + (get_local $0) ) ) ) - (func $zext_i16_i32 (param $$0 i32) (result i32) + (func $zext_i16_i32 (param $0 i32) (result i32) (return (i32.load16_u - (get_local $$0) + (get_local $0) ) ) ) - (func $sext_i8_i64 (param $$0 i32) (result i64) + (func $sext_i8_i64 (param $0 i32) (result i64) (return (i64.load8_s - (get_local $$0) + (get_local $0) ) ) ) - (func $zext_i8_i64 (param $$0 i32) (result i64) + (func $zext_i8_i64 (param $0 i32) (result i64) (return (i64.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $sext_i16_i64 (param $$0 i32) (result i64) + (func $sext_i16_i64 (param $0 i32) (result i64) (return (i64.load16_s - (get_local $$0) + (get_local $0) ) ) ) - (func $zext_i16_i64 (param $$0 i32) (result i64) + (func $zext_i16_i64 (param $0 i32) (result i64) (return (i64.load16_u - (get_local $$0) + (get_local $0) ) ) ) - (func $sext_i32_i64 (param $$0 i32) (result i64) + (func $sext_i32_i64 (param $0 i32) (result i64) (return (i64.load32_s - (get_local $$0) + (get_local $0) ) ) ) - (func $zext_i32_i64 (param $$0 i32) (result i64) + (func $zext_i32_i64 (param $0 i32) (result i64) (return (i64.load32_u - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/load-store-i1.wast b/test/llvm_autogenerated/load-store-i1.wast index b80466466..994c70a51 100644 --- a/test/llvm_autogenerated/load-store-i1.wast +++ b/test/llvm_autogenerated/load-store-i1.wast @@ -9,19 +9,19 @@ (export "load_s_i1_i64" $load_s_i1_i64) (export "store_i32_i1" $store_i32_i1) (export "store_i64_i1" $store_i64_i1) - (func $load_u_i1_i32 (param $$0 i32) (result i32) + (func $load_u_i1_i32 (param $0 i32) (result i32) (return (i32.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $load_s_i1_i32 (param $$0 i32) (result i32) + (func $load_s_i1_i32 (param $0 i32) (result i32) (return (i32.shr_s (i32.shl (i32.load8_u - (get_local $$0) + (get_local $0) ) (i32.const 31) ) @@ -29,19 +29,19 @@ ) ) ) - (func $load_u_i1_i64 (param $$0 i32) (result i64) + (func $load_u_i1_i64 (param $0 i32) (result i64) (return (i64.load8_u - (get_local $$0) + (get_local $0) ) ) ) - (func $load_s_i1_i64 (param $$0 i32) (result i64) + (func $load_s_i1_i64 (param $0 i32) (result i64) (return (i64.shr_s (i64.shl (i64.load8_u - (get_local $$0) + (get_local $0) ) (i64.const 63) ) @@ -49,21 +49,21 @@ ) ) ) - (func $store_i32_i1 (param $$0 i32) (param $$1 i32) + (func $store_i32_i1 (param $0 i32) (param $1 i32) (i32.store8 - (get_local $$0) + (get_local $0) (i32.and - (get_local $$1) + (get_local $1) (i32.const 1) ) ) (return) ) - (func $store_i64_i1 (param $$0 i32) (param $$1 i64) + (func $store_i64_i1 (param $0 i32) (param $1 i64) (i64.store8 - (get_local $$0) + (get_local $0) (i64.and - (get_local $$1) + (get_local $1) (i64.const 1) ) ) diff --git a/test/llvm_autogenerated/load.wast b/test/llvm_autogenerated/load.wast index 2495c149a..361027640 100644 --- a/test/llvm_autogenerated/load.wast +++ b/test/llvm_autogenerated/load.wast @@ -7,31 +7,31 @@ (export "ldi64" $ldi64) (export "ldf32" $ldf32) (export "ldf64" $ldf64) - (func $ldi32 (param $$0 i32) (result i32) + (func $ldi32 (param $0 i32) (result i32) (return (i32.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldi64 (param $$0 i32) (result i64) + (func $ldi64 (param $0 i32) (result i64) (return (i64.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldf32 (param $$0 i32) (result f32) + (func $ldf32 (param $0 i32) (result f32) (return (f32.load - (get_local $$0) + (get_local $0) ) ) ) - (func $ldf64 (param $$0 i32) (result f64) + (func $ldf64 (param $0 i32) (result f64) (return (f64.load - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/mem-intrinsics.wast b/test/llvm_autogenerated/mem-intrinsics.wast index cb0d57d55..8fd21837d 100644 --- a/test/llvm_autogenerated/mem-intrinsics.wast +++ b/test/llvm_autogenerated/mem-intrinsics.wast @@ -17,153 +17,153 @@ (export "set_no" $set_no) (export "frame_index" $frame_index) (export "drop_result" $drop_result) - (func $copy_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $copy_yes (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (call_import $memcpy - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) - (func $copy_no (param $$0 i32) (param $$1 i32) (param $$2 i32) + (func $copy_no (param $0 i32) (param $1 i32) (param $2 i32) (call_import $memcpy - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) (return) ) - (func $move_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $move_yes (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (call_import $memmove - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) - (func $move_no (param $$0 i32) (param $$1 i32) (param $$2 i32) + (func $move_no (param $0 i32) (param $1 i32) (param $2 i32) (call_import $memmove - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) (return) ) - (func $set_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $set_yes (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (call_import $memset - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) ) - (func $set_no (param $$0 i32) (param $$1 i32) (param $$2 i32) + (func $set_no (param $0 i32) (param $1 i32) (param $2 i32) (call_import $memset - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) (return) ) (func $frame_index - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $0 (i32.const 4) ) - (set_local $$0 + (set_local $0 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$1 + (set_local $1 (i32.const 4096) ) - (set_local $$4 + (set_local $4 (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$1) - (get_local $$4) + (get_local $1) + (get_local $4) ) ) - (set_local $$3 + (set_local $3 (i32.const 2048) ) - (set_local $$3 + (set_local $3 (i32.add - (get_local $$4) - (get_local $$3) + (get_local $4) + (get_local $3) ) ) (call_import $memset - (get_local $$3) + (get_local $3) (i32.const 0) (i32.const 1024) ) (call_import $memset - (get_local $$4) + (get_local $4) (i32.const 0) (i32.const 1024) ) - (set_local $$2 + (set_local $2 (i32.const 4096) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) - (get_local $$2) + (get_local $4) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) (return) ) - (func $drop_result (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (result i32) + (func $drop_result (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32) (block $label$0 (block $label$1 (br_if $label$1 (i32.eq - (get_local $$3) + (get_local $3) (i32.const 0) ) ) - (set_local $$0 + (set_local $0 (call_import $def) ) (br $label$0) ) (br_if $label$0 - (get_local $$4) + (get_local $4) ) (call_import $memset - (get_local $$0) - (get_local $$1) - (get_local $$2) + (get_local $0) + (get_local $1) + (get_local $2) ) ) (return - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/memory-addr32.wast b/test/llvm_autogenerated/memory-addr32.wast index a7b098c90..09494f014 100644 --- a/test/llvm_autogenerated/memory-addr32.wast +++ b/test/llvm_autogenerated/memory-addr32.wast @@ -10,9 +10,9 @@ (current_memory) ) ) - (func $grow_memory (param $$0 i32) + (func $grow_memory (param $0 i32) (grow_memory - (get_local $$0) + (get_local $0) ) (return) ) diff --git a/test/llvm_autogenerated/offset.wast b/test/llvm_autogenerated/offset.wast index f85299c96..753d72170 100644 --- a/test/llvm_autogenerated/offset.wast +++ b/test/llvm_autogenerated/offset.wast @@ -37,176 +37,176 @@ (export "aggregate_load_store" $aggregate_load_store) (export "aggregate_return" $aggregate_return) (export "aggregate_return_without_merge" $aggregate_return_without_merge) - (func $load_i32_with_folded_offset (param $$0 i32) (result i32) + (func $load_i32_with_folded_offset (param $0 i32) (result i32) (return (i32.load offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i32_with_folded_gep_offset (param $$0 i32) (result i32) + (func $load_i32_with_folded_gep_offset (param $0 i32) (result i32) (return (i32.load offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i32_with_unfolded_gep_negative_offset (param $$0 i32) (result i32) + (func $load_i32_with_unfolded_gep_negative_offset (param $0 i32) (result i32) (return (i32.load (i32.add - (get_local $$0) + (get_local $0) (i32.const -24) ) ) ) ) - (func $load_i32_with_unfolded_offset (param $$0 i32) (result i32) + (func $load_i32_with_unfolded_offset (param $0 i32) (result i32) (return (i32.load (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) ) ) ) - (func $load_i32_with_unfolded_gep_offset (param $$0 i32) (result i32) + (func $load_i32_with_unfolded_gep_offset (param $0 i32) (result i32) (return (i32.load (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) ) ) ) - (func $load_i64_with_folded_offset (param $$0 i32) (result i64) + (func $load_i64_with_folded_offset (param $0 i32) (result i64) (return (i64.load offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i64_with_folded_gep_offset (param $$0 i32) (result i64) + (func $load_i64_with_folded_gep_offset (param $0 i32) (result i64) (return (i64.load offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i64_with_unfolded_gep_negative_offset (param $$0 i32) (result i64) + (func $load_i64_with_unfolded_gep_negative_offset (param $0 i32) (result i64) (return (i64.load (i32.add - (get_local $$0) + (get_local $0) (i32.const -24) ) ) ) ) - (func $load_i64_with_unfolded_offset (param $$0 i32) (result i64) + (func $load_i64_with_unfolded_offset (param $0 i32) (result i64) (return (i64.load (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) ) ) ) - (func $load_i64_with_unfolded_gep_offset (param $$0 i32) (result i64) + (func $load_i64_with_unfolded_gep_offset (param $0 i32) (result i64) (return (i64.load (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) ) ) ) - (func $store_i32_with_folded_offset (param $$0 i32) + (func $store_i32_with_folded_offset (param $0 i32) (i32.store offset=24 - (get_local $$0) + (get_local $0) (i32.const 0) ) (return) ) - (func $store_i32_with_folded_gep_offset (param $$0 i32) + (func $store_i32_with_folded_gep_offset (param $0 i32) (i32.store offset=24 - (get_local $$0) + (get_local $0) (i32.const 0) ) (return) ) - (func $store_i32_with_unfolded_gep_negative_offset (param $$0 i32) + (func $store_i32_with_unfolded_gep_negative_offset (param $0 i32) (i32.store (i32.add - (get_local $$0) + (get_local $0) (i32.const -24) ) (i32.const 0) ) (return) ) - (func $store_i32_with_unfolded_offset (param $$0 i32) + (func $store_i32_with_unfolded_offset (param $0 i32) (i32.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) (i32.const 0) ) (return) ) - (func $store_i32_with_unfolded_gep_offset (param $$0 i32) + (func $store_i32_with_unfolded_gep_offset (param $0 i32) (i32.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) (i32.const 0) ) (return) ) - (func $store_i64_with_folded_offset (param $$0 i32) + (func $store_i64_with_folded_offset (param $0 i32) (i64.store offset=24 - (get_local $$0) + (get_local $0) (i64.const 0) ) (return) ) - (func $store_i64_with_folded_gep_offset (param $$0 i32) + (func $store_i64_with_folded_gep_offset (param $0 i32) (i64.store offset=24 - (get_local $$0) + (get_local $0) (i64.const 0) ) (return) ) - (func $store_i64_with_unfolded_gep_negative_offset (param $$0 i32) + (func $store_i64_with_unfolded_gep_negative_offset (param $0 i32) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const -24) ) (i64.const 0) ) (return) ) - (func $store_i64_with_unfolded_offset (param $$0 i32) + (func $store_i64_with_unfolded_offset (param $0 i32) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) (i64.const 0) ) (return) ) - (func $store_i64_with_unfolded_gep_offset (param $$0 i32) + (func $store_i64_with_unfolded_gep_offset (param $0 i32) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 24) ) (i64.const 0) @@ -241,110 +241,110 @@ ) (return) ) - (func $load_i8_s_with_folded_offset (param $$0 i32) (result i32) + (func $load_i8_s_with_folded_offset (param $0 i32) (result i32) (return (i32.load8_s offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i8_s_with_folded_gep_offset (param $$0 i32) (result i32) + (func $load_i8_s_with_folded_gep_offset (param $0 i32) (result i32) (return (i32.load8_s offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i8_u_with_folded_offset (param $$0 i32) (result i32) + (func $load_i8_u_with_folded_offset (param $0 i32) (result i32) (return (i32.load8_u offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $load_i8_u_with_folded_gep_offset (param $$0 i32) (result i32) + (func $load_i8_u_with_folded_gep_offset (param $0 i32) (result i32) (return (i32.load8_u offset=24 - (get_local $$0) + (get_local $0) ) ) ) - (func $store_i8_with_folded_offset (param $$0 i32) + (func $store_i8_with_folded_offset (param $0 i32) (i32.store8 offset=24 - (get_local $$0) + (get_local $0) (i32.const 0) ) (return) ) - (func $store_i8_with_folded_gep_offset (param $$0 i32) + (func $store_i8_with_folded_gep_offset (param $0 i32) (i32.store8 offset=24 - (get_local $$0) + (get_local $0) (i32.const 0) ) (return) ) - (func $aggregate_load_store (param $$0 i32) (param $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$2 + (func $aggregate_load_store (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $2 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$3 + (set_local $3 (i32.load offset=4 - (get_local $$0) + (get_local $0) ) ) - (set_local $$4 + (set_local $4 (i32.load offset=8 - (get_local $$0) + (get_local $0) ) ) (i32.store offset=12 - (get_local $$1) + (get_local $1) (i32.load offset=12 - (get_local $$0) + (get_local $0) ) ) (i32.store offset=8 - (get_local $$1) - (get_local $$4) + (get_local $1) + (get_local $4) ) (i32.store offset=4 - (get_local $$1) - (get_local $$3) + (get_local $1) + (get_local $3) ) (i32.store - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) (return) ) - (func $aggregate_return (param $$0 i32) + (func $aggregate_return (param $0 i32) (i64.store align=4 - (get_local $$0) + (get_local $0) (i64.store offset=8 align=4 - (get_local $$0) + (get_local $0) (i64.const 0) ) ) (return) ) - (func $aggregate_return_without_merge (param $$0 i32) + (func $aggregate_return_without_merge (param $0 i32) (i32.store offset=8 - (get_local $$0) + (get_local $0) (i32.store16 offset=12 - (get_local $$0) + (get_local $0) (i32.store8 offset=14 - (get_local $$0) + (get_local $0) (i32.const 0) ) ) ) (i64.store - (get_local $$0) + (get_local $0) (i64.const 0) ) (return) diff --git a/test/llvm_autogenerated/phi.wast b/test/llvm_autogenerated/phi.wast index 3b3197757..e7c717c65 100644 --- a/test/llvm_autogenerated/phi.wast +++ b/test/llvm_autogenerated/phi.wast @@ -5,64 +5,64 @@ (export "memory" memory) (export "test0" $test0) (export "test1" $test1) - (func $test0 (param $$0 i32) (result i32) + (func $test0 (param $0 i32) (result i32) (block $label$0 (br_if $label$0 (i32.gt_s - (get_local $$0) + (get_local $0) (i32.const -1) ) ) - (set_local $$0 + (set_local $0 (i32.div_s - (get_local $$0) + (get_local $0) (i32.const 3) ) ) ) (return - (get_local $$0) + (get_local $0) ) ) - (func $test1 (param $$0 i32) (result i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$2 + (func $test1 (param $0 i32) (result i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $2 (i32.const 0) ) - (set_local $$3 + (set_local $3 (i32.const 1) ) - (set_local $$4 + (set_local $4 (i32.const 0) ) (loop $label$1 $label$0 - (set_local $$1 - (get_local $$3) + (set_local $1 + (get_local $3) ) - (set_local $$3 - (get_local $$2) + (set_local $3 + (get_local $2) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) + (get_local $4) (i32.const 1) ) ) - (set_local $$2 - (get_local $$1) + (set_local $2 + (get_local $1) ) (br_if $label$0 (i32.lt_s - (get_local $$4) - (get_local $$0) + (get_local $4) + (get_local $0) ) ) ) (return - (get_local $$3) + (get_local $3) ) ) ) diff --git a/test/llvm_autogenerated/reg-stackify.wast b/test/llvm_autogenerated/reg-stackify.wast index 14a8d8111..c5d8477a9 100644 --- a/test/llvm_autogenerated/reg-stackify.wast +++ b/test/llvm_autogenerated/reg-stackify.wast @@ -28,74 +28,74 @@ (export "multiple_uses_in_same_insn" $multiple_uses_in_same_insn) (export "commute" $commute) (export "no_stackify_past_use" $no_stackify_past_use) - (func $no0 (param $$0 i32) (param $$1 i32) (result i32) - (set_local $$1 + (func $no0 (param $0 i32) (param $1 i32) (result i32) + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (return - (get_local $$1) + (get_local $1) ) ) - (func $no1 (param $$0 i32) (param $$1 i32) (result i32) - (set_local $$1 + (func $no1 (param $0 i32) (param $1 i32) (result i32) + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (return - (get_local $$1) + (get_local $1) ) ) - (func $yes0 (param $$0 i32) (param $$1 i32) (result i32) + (func $yes0 (param $0 i32) (param $1 i32) (result i32) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) (return (i32.load - (get_local $$1) + (get_local $1) ) ) ) - (func $yes1 (param $$0 i32) (result i32) + (func $yes1 (param $0 i32) (result i32) (return (i32.load - (get_local $$0) + (get_local $0) ) ) ) - (func $stack_uses (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (result i32) + (func $stack_uses (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) (block $label$0 (br_if $label$0 (i32.ne (i32.xor (i32.xor (i32.lt_s - (get_local $$0) + (get_local $0) (i32.const 1) ) (i32.lt_s - (get_local $$1) + (get_local $1) (i32.const 2) ) ) (i32.xor (i32.lt_s - (get_local $$2) + (get_local $2) (i32.const 1) ) (i32.lt_s - (get_local $$3) + (get_local $3) (i32.const 2) ) ) @@ -111,121 +111,121 @@ (i32.const 1) ) ) - (func $multiple_uses (param $$0 i32) (param $$1 i32) (param $$2 i32) - (local $$3 i32) + (func $multiple_uses (param $0 i32) (param $1 i32) (param $2 i32) + (local $3 i32) (block $label$0 (br_if $label$0 (i32.ge_u - (set_local $$3 + (set_local $3 (i32.load - (get_local $$2) + (get_local $2) ) ) - (get_local $$1) + (get_local $1) ) ) (br_if $label$0 (i32.lt_u - (get_local $$3) - (get_local $$0) + (get_local $3) + (get_local $0) ) ) (i32.store - (get_local $$2) - (get_local $$3) + (get_local $2) + (get_local $3) ) ) (return) ) - (func $stackify_store_across_side_effects (param $$0 i32) - (local $$1 i64) - (set_local $$1 + (func $stackify_store_across_side_effects (param $0 i32) + (local $1 i64) + (set_local $1 (i64.store - (get_local $$0) + (get_local $0) (i64.const 4611686018427387904) ) ) (call_import $evoke_side_effects) (i64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (call_import $evoke_side_effects) (return) ) - (func $div_tree (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (param $$5 i32) (param $$6 i32) (param $$7 i32) (param $$8 i32) (param $$9 i32) (param $$10 i32) (param $$11 i32) (param $$12 i32) (param $$13 i32) (param $$14 i32) (param $$15 i32) (result i32) + (func $div_tree (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (param $5 i32) (param $6 i32) (param $7 i32) (param $8 i32) (param $9 i32) (param $10 i32) (param $11 i32) (param $12 i32) (param $13 i32) (param $14 i32) (param $15 i32) (result i32) (return (i32.div_s (i32.div_s (i32.div_s (i32.div_s - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (i32.div_s - (get_local $$2) - (get_local $$3) + (get_local $2) + (get_local $3) ) ) (i32.div_s (i32.div_s - (get_local $$4) - (get_local $$5) + (get_local $4) + (get_local $5) ) (i32.div_s - (get_local $$6) - (get_local $$7) + (get_local $6) + (get_local $7) ) ) ) (i32.div_s (i32.div_s (i32.div_s - (get_local $$8) - (get_local $$9) + (get_local $8) + (get_local $9) ) (i32.div_s - (get_local $$10) - (get_local $$11) + (get_local $10) + (get_local $11) ) ) (i32.div_s (i32.div_s - (get_local $$12) - (get_local $$13) + (get_local $12) + (get_local $13) ) (i32.div_s - (get_local $$14) - (get_local $$15) + (get_local $14) + (get_local $15) ) ) ) ) ) ) - (func $simple_multiple_use (param $$0 i32) (param $$1 i32) + (func $simple_multiple_use (param $0 i32) (param $1 i32) (call_import $use_a - (set_local $$0 + (set_local $0 (i32.mul - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) ) (call_import $use_b - (get_local $$0) + (get_local $0) ) (return) ) - (func $multiple_uses_in_same_insn (param $$0 i32) (param $$1 i32) + (func $multiple_uses_in_same_insn (param $0 i32) (param $1 i32) (call_import $use_2 - (set_local $$0 + (set_local $0 (i32.mul - (get_local $$1) - (get_local $$0) + (get_local $1) + (get_local $0) ) ) - (get_local $$0) + (get_local $0) ) (return) ) @@ -240,21 +240,21 @@ ) ) ) - (func $no_stackify_past_use (param $$0 i32) (result i32) - (local $$1 i32) - (set_local $$1 + (func $no_stackify_past_use (param $0 i32) (result i32) + (local $1 i32) + (set_local $1 (call_import $callee - (get_local $$0) + (get_local $0) ) ) (return (i32.mul - (get_local $$1) + (get_local $1) (i32.add - (get_local $$1) + (get_local $1) (call_import $callee (i32.add - (get_local $$0) + (get_local $0) (i32.const 1) ) ) diff --git a/test/llvm_autogenerated/return-int32.wast b/test/llvm_autogenerated/return-int32.wast index 35a0de3fa..f65c88764 100644 --- a/test/llvm_autogenerated/return-int32.wast +++ b/test/llvm_autogenerated/return-int32.wast @@ -4,9 +4,9 @@ ) (export "memory" memory) (export "return_i32" $return_i32) - (func $return_i32 (param $$0 i32) (result i32) + (func $return_i32 (param $0 i32) (result i32) (return - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/select.wast b/test/llvm_autogenerated/select.wast index cfe5270a8..0bb26d95f 100644 --- a/test/llvm_autogenerated/select.wast +++ b/test/llvm_autogenerated/select.wast @@ -15,111 +15,111 @@ (export "select_f64_bool" $select_f64_bool) (export "select_f64_eq" $select_f64_eq) (export "select_f64_ne" $select_f64_ne) - (func $select_i32_bool (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $select_i32_bool (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_i32_eq (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $select_i32_eq (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (select - (get_local $$2) - (get_local $$1) - (get_local $$0) + (get_local $2) + (get_local $1) + (get_local $0) ) ) ) - (func $select_i32_ne (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (func $select_i32_ne (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_i64_bool (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64) + (func $select_i64_bool (param $0 i32) (param $1 i64) (param $2 i64) (result i64) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_i64_eq (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64) + (func $select_i64_eq (param $0 i32) (param $1 i64) (param $2 i64) (result i64) (return (select - (get_local $$2) - (get_local $$1) - (get_local $$0) + (get_local $2) + (get_local $1) + (get_local $0) ) ) ) - (func $select_i64_ne (param $$0 i32) (param $$1 i64) (param $$2 i64) (result i64) + (func $select_i64_ne (param $0 i32) (param $1 i64) (param $2 i64) (result i64) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_f32_bool (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32) + (func $select_f32_bool (param $0 i32) (param $1 f32) (param $2 f32) (result f32) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_f32_eq (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32) + (func $select_f32_eq (param $0 i32) (param $1 f32) (param $2 f32) (result f32) (return (select - (get_local $$2) - (get_local $$1) - (get_local $$0) + (get_local $2) + (get_local $1) + (get_local $0) ) ) ) - (func $select_f32_ne (param $$0 i32) (param $$1 f32) (param $$2 f32) (result f32) + (func $select_f32_ne (param $0 i32) (param $1 f32) (param $2 f32) (result f32) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_f64_bool (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64) + (func $select_f64_bool (param $0 i32) (param $1 f64) (param $2 f64) (result f64) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) - (func $select_f64_eq (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64) + (func $select_f64_eq (param $0 i32) (param $1 f64) (param $2 f64) (result f64) (return (select - (get_local $$2) - (get_local $$1) - (get_local $$0) + (get_local $2) + (get_local $1) + (get_local $0) ) ) ) - (func $select_f64_ne (param $$0 i32) (param $$1 f64) (param $$2 f64) (result f64) + (func $select_f64_ne (param $0 i32) (param $1 f64) (param $2 f64) (result f64) (return (select - (get_local $$1) - (get_local $$2) - (get_local $$0) + (get_local $1) + (get_local $2) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/signext-zeroext.wast b/test/llvm_autogenerated/signext-zeroext.wast index 0e2821734..e7004abe8 100644 --- a/test/llvm_autogenerated/signext-zeroext.wast +++ b/test/llvm_autogenerated/signext-zeroext.wast @@ -7,43 +7,43 @@ (export "s2z_func" $s2z_func) (export "z2s_call" $z2s_call) (export "s2z_call" $s2z_call) - (func $z2s_func (param $$0 i32) (result i32) + (func $z2s_func (param $0 i32) (result i32) (return (i32.shr_s (i32.shl - (get_local $$0) + (get_local $0) (i32.const 24) ) (i32.const 24) ) ) ) - (func $s2z_func (param $$0 i32) (result i32) + (func $s2z_func (param $0 i32) (result i32) (return (i32.and - (get_local $$0) + (get_local $0) (i32.const 255) ) ) ) - (func $z2s_call (param $$0 i32) (result i32) + (func $z2s_call (param $0 i32) (result i32) (return (call $z2s_func (i32.and - (get_local $$0) + (get_local $0) (i32.const 255) ) ) ) ) - (func $s2z_call (param $$0 i32) (result i32) + (func $s2z_call (param $0 i32) (result i32) (return (i32.shr_s (i32.shl (call $s2z_func (i32.shr_s (i32.shl - (get_local $$0) + (get_local $0) (i32.const 24) ) (i32.const 24) diff --git a/test/llvm_autogenerated/store-results.wast b/test/llvm_autogenerated/store-results.wast index ae9d7a272..40d00d130 100644 --- a/test/llvm_autogenerated/store-results.wast +++ b/test/llvm_autogenerated/store-results.wast @@ -7,17 +7,17 @@ (export "foo" $foo) (export "bar" $bar) (export "fi_ret" $fi_ret) - (func $single_block (param $$0 i32) (result i32) + (func $single_block (param $0 i32) (result i32) (return (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) ) ) (func $foo - (local $$0 i32) - (set_local $$0 + (local $0 i32) + (set_local $0 (i32.const 0) ) (loop $label$1 $label$0 @@ -25,15 +25,15 @@ (i32.const 0) (i32.const 0) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$0) + (get_local $0) (i32.const 1) ) ) (br_if $label$0 (i32.ne - (get_local $$0) + (get_local $0) (i32.const 256) ) ) @@ -41,8 +41,8 @@ (return) ) (func $bar - (local $$0 f32) - (set_local $$0 + (local $0 f32) + (set_local $0 (f32.const 0) ) (loop $label$1 $label$0 @@ -50,76 +50,76 @@ (i32.const 0) (i32.const 0) ) - (set_local $$0 + (set_local $0 (f32.add - (get_local $$0) + (get_local $0) (f32.const 1) ) ) (br_if $label$0 (f32.ne - (get_local $$0) + (get_local $0) (f32.const 256) ) ) ) (return) ) - (func $fi_ret (param $$0 i32) (result i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$1 + (func $fi_ret (param $0 i32) (result i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 32) ) - (set_local $$4 + (set_local $4 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) (i32.store - (get_local $$0) - (get_local $$4) + (get_local $0) + (get_local $4) ) - (set_local $$3 + (set_local $3 (i32.const 32) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) - (get_local $$3) + (get_local $4) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$3) - (get_local $$4) + (get_local $3) + (get_local $4) ) ) (return - (get_local $$4) + (get_local $4) ) ) ) diff --git a/test/llvm_autogenerated/store-trunc.wast b/test/llvm_autogenerated/store-trunc.wast index b73119e32..da7625496 100644 --- a/test/llvm_autogenerated/store-trunc.wast +++ b/test/llvm_autogenerated/store-trunc.wast @@ -8,38 +8,38 @@ (export "trunc_i8_i64" $trunc_i8_i64) (export "trunc_i16_i64" $trunc_i16_i64) (export "trunc_i32_i64" $trunc_i32_i64) - (func $trunc_i8_i32 (param $$0 i32) (param $$1 i32) + (func $trunc_i8_i32 (param $0 i32) (param $1 i32) (i32.store8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $trunc_i16_i32 (param $$0 i32) (param $$1 i32) + (func $trunc_i16_i32 (param $0 i32) (param $1 i32) (i32.store16 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $trunc_i8_i64 (param $$0 i32) (param $$1 i64) + (func $trunc_i8_i64 (param $0 i32) (param $1 i64) (i64.store8 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $trunc_i16_i64 (param $$0 i32) (param $$1 i64) + (func $trunc_i16_i64 (param $0 i32) (param $1 i64) (i64.store16 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $trunc_i32_i64 (param $$0 i32) (param $$1 i64) + (func $trunc_i32_i64 (param $0 i32) (param $1 i64) (i64.store32 - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/llvm_autogenerated/store.wast b/test/llvm_autogenerated/store.wast index 70c127fef..1234d94a9 100644 --- a/test/llvm_autogenerated/store.wast +++ b/test/llvm_autogenerated/store.wast @@ -7,31 +7,31 @@ (export "sti64" $sti64) (export "stf32" $stf32) (export "stf64" $stf64) - (func $sti32 (param $$0 i32) (param $$1 i32) + (func $sti32 (param $0 i32) (param $1 i32) (i32.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $sti64 (param $$0 i32) (param $$1 i64) + (func $sti64 (param $0 i32) (param $1 i64) (i64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $stf32 (param $$0 i32) (param $$1 f32) + (func $stf32 (param $0 i32) (param $1 f32) (f32.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) - (func $stf64 (param $$0 i32) (param $$1 f64) + (func $stf64 (param $0 i32) (param $1 f64) (f64.store - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/llvm_autogenerated/switch.wast b/test/llvm_autogenerated/switch.wast index dbcb87fdc..8528aee07 100644 --- a/test/llvm_autogenerated/switch.wast +++ b/test/llvm_autogenerated/switch.wast @@ -12,11 +12,11 @@ (import $foo5 "env" "foo5") (export "bar32" $bar32) (export "bar64" $bar64) - (func $bar32 (param $$0 i32) + (func $bar32 (param $0 i32) (block $label$0 (br_if $label$0 (i32.gt_u - (get_local $$0) + (get_local $0) (i32.const 23) ) ) @@ -27,7 +27,7 @@ (block $label$5 (block $label$6 (br_table $label$6 $label$6 $label$6 $label$6 $label$6 $label$6 $label$6 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$4 $label$4 $label$4 $label$4 $label$4 $label$4 $label$3 $label$2 $label$1 $label$6 - (get_local $$0) + (get_local $0) ) ) (call_import $foo0) @@ -49,11 +49,11 @@ ) (return) ) - (func $bar64 (param $$0 i64) + (func $bar64 (param $0 i64) (block $label$0 (br_if $label$0 (i64.gt_u - (get_local $$0) + (get_local $0) (i64.const 23) ) ) @@ -65,7 +65,7 @@ (block $label$6 (br_table $label$6 $label$6 $label$6 $label$6 $label$6 $label$6 $label$6 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$5 $label$4 $label$4 $label$4 $label$4 $label$4 $label$4 $label$3 $label$2 $label$1 $label$6 (i32.wrap/i64 - (get_local $$0) + (get_local $0) ) ) ) diff --git a/test/llvm_autogenerated/unused-argument.wast b/test/llvm_autogenerated/unused-argument.wast index f3f37ecbd..318ef7a87 100644 --- a/test/llvm_autogenerated/unused-argument.wast +++ b/test/llvm_autogenerated/unused-argument.wast @@ -8,14 +8,14 @@ (export "unused_first" $unused_first) (export "unused_second" $unused_second) (export "call_something" $call_something) - (func $unused_first (param $$0 i32) (param $$1 i32) (result i32) + (func $unused_first (param $0 i32) (param $1 i32) (result i32) (return - (get_local $$1) + (get_local $1) ) ) - (func $unused_second (param $$0 i32) (param $$1 i32) (result i32) + (func $unused_second (param $0 i32) (param $1 i32) (result i32) (return - (get_local $$0) + (get_local $0) ) ) (func $call_something diff --git a/test/llvm_autogenerated/userstack.wast b/test/llvm_autogenerated/userstack.wast index 1e6427e00..37c5805fb 100644 --- a/test/llvm_autogenerated/userstack.wast +++ b/test/llvm_autogenerated/userstack.wast @@ -13,352 +13,352 @@ (export "dynamic_alloca" $dynamic_alloca) (export "dynamic_static_alloca" $dynamic_static_alloca) (func $alloca32 - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (set_local $0 (i32.const 4) ) - (set_local $$0 + (set_local $0 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$1 + (set_local $1 (i32.const 16) ) - (set_local $$3 + (set_local $3 (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$1) - (get_local $$3) + (get_local $1) + (get_local $3) ) ) (i32.store offset=12 - (get_local $$3) + (get_local $3) (i32.const 0) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$3 + (set_local $3 (i32.add - (get_local $$3) - (get_local $$2) + (get_local $3) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$2) - (get_local $$3) + (get_local $2) + (get_local $3) ) ) (return) ) (func $alloca3264 - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (set_local $0 (i32.const 4) ) - (set_local $$0 + (set_local $0 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$1 + (set_local $1 (i32.const 16) ) - (set_local $$3 + (set_local $3 (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$1) - (get_local $$3) + (get_local $1) + (get_local $3) ) ) (i32.store offset=12 - (get_local $$3) + (get_local $3) (i32.const 0) ) (i64.store - (get_local $$3) + (get_local $3) (i64.const 0) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$3 + (set_local $3 (i32.add - (get_local $$3) - (get_local $$2) + (get_local $3) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$2) - (get_local $$3) + (get_local $2) + (get_local $3) ) ) (return) ) (func $allocarray - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $0 (i32.const 4) ) - (set_local $$0 + (set_local $0 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$1 + (set_local $1 (i32.const 32) ) - (set_local $$4 + (set_local $4 (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$1) - (get_local $$4) + (get_local $1) + (get_local $4) ) ) - (set_local $$3 + (set_local $3 (i32.const 12) ) - (set_local $$3 + (set_local $3 (i32.add - (get_local $$4) - (get_local $$3) + (get_local $4) + (get_local $3) ) ) (i32.store (i32.add - (get_local $$3) + (get_local $3) (i32.const 12) ) (i32.store offset=12 - (get_local $$4) + (get_local $4) (i32.const 1) ) ) - (set_local $$2 + (set_local $2 (i32.const 32) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$4) - (get_local $$2) + (get_local $4) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) (return) ) - (func $non_mem_use (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (local $$6 i32) - (set_local $$1 + (func $non_mem_use (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 48) ) - (set_local $$6 + (set_local $6 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$6 + (set_local $6 (i32.store - (get_local $$2) - (get_local $$6) + (get_local $2) + (get_local $6) ) ) - (set_local $$4 + (set_local $4 (i32.const 8) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$6) - (get_local $$4) + (get_local $6) + (get_local $4) ) ) (call_import $ext_func - (get_local $$4) + (get_local $4) ) (call_import $ext_func - (get_local $$6) + (get_local $6) ) - (set_local $$5 + (set_local $5 (i32.const 16) ) - (set_local $$5 + (set_local $5 (i32.add - (get_local $$6) - (get_local $$5) + (get_local $6) + (get_local $5) ) ) (i32.store - (get_local $$0) - (get_local $$5) + (get_local $0) + (get_local $5) ) - (set_local $$3 + (set_local $3 (i32.const 48) ) - (set_local $$6 + (set_local $6 (i32.add - (get_local $$6) - (get_local $$3) + (get_local $6) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$6 + (set_local $6 (i32.store - (get_local $$3) - (get_local $$6) + (get_local $3) + (get_local $6) ) ) (return) ) (func $allocarray_inbounds - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (set_local $$0 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (set_local $0 (i32.const 4) ) - (set_local $$0 + (set_local $0 (i32.load - (get_local $$0) + (get_local $0) ) ) - (set_local $$1 + (set_local $1 (i32.const 32) ) - (set_local $$3 + (set_local $3 (i32.sub - (get_local $$0) - (get_local $$1) + (get_local $0) + (get_local $1) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$1) - (get_local $$3) + (get_local $1) + (get_local $3) ) ) (i32.store offset=24 - (get_local $$3) + (get_local $3) (i32.store offset=12 - (get_local $$3) + (get_local $3) (i32.const 1) ) ) - (set_local $$2 + (set_local $2 (i32.const 32) ) - (set_local $$3 + (set_local $3 (i32.add - (get_local $$3) - (get_local $$2) + (get_local $3) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$2) - (get_local $$3) + (get_local $2) + (get_local $3) ) ) (return) ) - (func $dynamic_alloca (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (set_local $$1 + (func $dynamic_alloca (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (set_local $1 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$4 - (get_local $$3) + (set_local $4 + (get_local $3) ) - (set_local $$0 + (set_local $0 (i32.sub - (get_local $$3) + (get_local $3) (i32.and (i32.add (i32.shl - (get_local $$0) + (get_local $0) (i32.const 2) ) (i32.const 15) @@ -367,66 +367,66 @@ ) ) ) - (set_local $$3 - (get_local $$0) + (set_local $3 + (get_local $0) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) (return) ) - (func $dynamic_static_alloca (param $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (set_local $$1 + (func $dynamic_static_alloca (param $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$4 + (set_local $4 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$5 - (get_local $$4) + (set_local $5 + (get_local $4) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$2) - (get_local $$4) + (get_local $2) + (get_local $4) ) ) - (set_local $$0 + (set_local $0 (i32.sub - (get_local $$4) + (get_local $4) (i32.and (i32.add (i32.shl - (get_local $$0) + (get_local $0) (i32.const 2) ) (i32.const 15) @@ -435,29 +435,29 @@ ) ) ) - (set_local $$4 - (get_local $$0) + (set_local $4 + (get_local $0) ) (i32.store - (get_local $$0) + (get_local $0) (i32.const 0) ) - (set_local $$3 + (set_local $3 (i32.const 16) ) - (set_local $$4 + (set_local $4 (i32.add - (get_local $$5) - (get_local $$3) + (get_local $5) + (get_local $3) ) ) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$4 + (set_local $4 (i32.store - (get_local $$3) - (get_local $$4) + (get_local $3) + (get_local $4) ) ) (return) diff --git a/test/llvm_autogenerated/varargs.wast b/test/llvm_autogenerated/varargs.wast index 8757285a2..bc27efeb0 100644 --- a/test/llvm_autogenerated/varargs.wast +++ b/test/llvm_autogenerated/varargs.wast @@ -12,26 +12,26 @@ (export "arg_i128" $arg_i128) (export "caller_none" $caller_none) (export "caller_some" $caller_some) - (func $end (param $$0 i32) + (func $end (param $0 i32) (return) ) - (func $copy (param $$0 i32) (param $$1 i32) + (func $copy (param $0 i32) (param $1 i32) (i32.store - (get_local $$0) + (get_local $0) (i32.load - (get_local $$1) + (get_local $1) ) ) (return) ) - (func $arg_i8 (param $$0 i32) (result i32) - (local $$1 i32) + (func $arg_i8 (param $0 i32) (result i32) + (local $1 i32) (i32.store - (get_local $$0) + (get_local $0) (i32.add - (set_local $$1 + (set_local $1 (i32.load - (get_local $$0) + (get_local $0) ) ) (i32.const 4) @@ -39,20 +39,20 @@ ) (return (i32.load - (get_local $$1) + (get_local $1) ) ) ) - (func $arg_i32 (param $$0 i32) (result i32) - (local $$1 i32) + (func $arg_i32 (param $0 i32) (result i32) + (local $1 i32) (i32.store - (get_local $$0) + (get_local $0) (i32.add - (set_local $$1 + (set_local $1 (i32.and (i32.add (i32.load - (get_local $$0) + (get_local $0) ) (i32.const 3) ) @@ -64,23 +64,23 @@ ) (return (i32.load - (get_local $$1) + (get_local $1) ) ) ) - (func $arg_i128 (param $$0 i32) (param $$1 i32) - (local $$2 i32) - (local $$3 i64) - (local $$4 i32) - (set_local $$2 + (func $arg_i128 (param $0 i32) (param $1 i32) + (local $2 i32) + (local $3 i64) + (local $4 i32) + (set_local $2 (i32.store - (get_local $$1) + (get_local $1) (i32.add - (set_local $$4 + (set_local $4 (i32.and (i32.add (i32.load - (get_local $$1) + (get_local $1) ) (i32.const 7) ) @@ -91,30 +91,30 @@ ) ) ) - (set_local $$3 + (set_local $3 (i64.load - (get_local $$4) + (get_local $4) ) ) (i32.store - (get_local $$1) + (get_local $1) (i32.add - (get_local $$4) + (get_local $4) (i32.const 16) ) ) (i64.store (i32.add - (get_local $$0) + (get_local $0) (i32.const 8) ) (i64.load - (get_local $$2) + (get_local $2) ) ) (i64.store - (get_local $$0) - (get_local $$3) + (get_local $0) + (get_local $3) ) (return) ) @@ -123,124 +123,124 @@ (return) ) (func $caller_some - (local $$0 i32) - (local $$1 i32) - (local $$2 i32) - (local $$3 i32) - (local $$4 i32) - (local $$5 i32) - (local $$6 i32) - (local $$7 i32) - (local $$8 i32) - (set_local $$5 + (local $0 i32) + (local $1 i32) + (local $2 i32) + (local $3 i32) + (local $4 i32) + (local $5 i32) + (local $6 i32) + (local $7 i32) + (local $8 i32) + (set_local $5 (i32.const 4) ) - (set_local $$5 + (set_local $5 (i32.load - (get_local $$5) + (get_local $5) ) ) - (set_local $$6 + (set_local $6 (i32.const 16) ) - (set_local $$8 + (set_local $8 (i32.sub - (get_local $$5) - (get_local $$6) + (get_local $5) + (get_local $6) ) ) - (set_local $$6 + (set_local $6 (i32.const 4) ) - (set_local $$8 + (set_local $8 (i32.store - (get_local $$6) - (get_local $$8) + (get_local $6) + (get_local $8) ) ) - (set_local $$1 + (set_local $1 (i32.const 4) ) - (set_local $$1 + (set_local $1 (i32.load - (get_local $$1) + (get_local $1) ) ) - (set_local $$2 + (set_local $2 (i32.const 16) ) - (set_local $$8 + (set_local $8 (i32.sub - (get_local $$1) - (get_local $$2) + (get_local $1) + (get_local $2) ) ) - (set_local $$2 + (set_local $2 (i32.const 4) ) - (set_local $$8 + (set_local $8 (i32.store - (get_local $$2) - (get_local $$8) + (get_local $2) + (get_local $8) ) ) (i32.store - (get_local $$8) + (get_local $8) (i32.const 0) ) - (set_local $$0 + (set_local $0 (i32.add - (get_local $$8) + (get_local $8) (i32.const 8) ) ) (i64.store - (get_local $$0) + (get_local $0) (i64.const 4611686018427387904) ) (call_import $callee) - (set_local $$3 + (set_local $3 (i32.const 4) ) - (set_local $$3 + (set_local $3 (i32.load - (get_local $$3) + (get_local $3) ) ) - (set_local $$4 + (set_local $4 (i32.const 16) ) - (set_local $$8 + (set_local $8 (i32.add - (get_local $$3) - (get_local $$4) + (get_local $3) + (get_local $4) ) ) - (set_local $$4 + (set_local $4 (i32.const 4) ) - (set_local $$8 + (set_local $8 (i32.store - (get_local $$4) - (get_local $$8) + (get_local $4) + (get_local $8) ) ) - (set_local $$7 + (set_local $7 (i32.const 16) ) - (set_local $$8 + (set_local $8 (i32.add - (get_local $$8) - (get_local $$7) + (get_local $8) + (get_local $7) ) ) - (set_local $$7 + (set_local $7 (i32.const 4) ) - (set_local $$8 + (set_local $8 (i32.store - (get_local $$7) - (get_local $$8) + (get_local $7) + (get_local $8) ) ) (return) |