diff options
Diffstat (limited to 'test/unit.fromasm.no-opts')
-rw-r--r-- | test/unit.fromasm.no-opts | 2176 |
1 files changed, 0 insertions, 2176 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts deleted file mode 100644 index d1c17a7d6..000000000 --- a/test/unit.fromasm.no-opts +++ /dev/null @@ -1,2176 +0,0 @@ -(module - (type $none_=>_none (func)) - (type $i32_=>_none (func (param i32))) - (type $none_=>_i32 (func (result i32))) - (type $i32_=>_i32 (func (param i32) (result i32))) - (type $f32_=>_none (func (param f32))) - (type $none_=>_f64 (func (result f64))) - (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) - (type $f64_=>_i32 (func (param f64) (result i32))) - (type $i32_i32_i32_=>_none (func (param i32 i32 i32))) - (type $none_=>_f32 (func (result f32))) - (type $i32_=>_f32 (func (param i32) (result f32))) - (type $f64_=>_f64 (func (param f64) (result f64))) - (type $f64_f64_=>_f64 (func (param f64 f64) (result f64))) - (type $i32_i32_=>_none (func (param i32 i32))) - (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) - (type $i32_i32_i32_i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32 i32 i32 i32))) - (type $i32_f32_=>_none (func (param i32 f32))) - (type $i32_f64_f32_=>_none (func (param i32 f64 f32))) - (type $f32_f64_=>_none (func (param f32 f64))) - (type $f64_i32_=>_i32 (func (param f64 i32) (result i32))) - (type $f64_f64_f64_=>_i32 (func (param f64 f64 f64) (result i32))) - (type $i32_f32_f64_=>_f32 (func (param i32 f32 f64) (result f32))) - (import "env" "memory" (memory $memory 256 256)) - (import "env" "table" (table $table 25 25 funcref)) - (elem (global.get $__table_base) $v $big_negative $v $v $w $w $importedDoubles $w $z $cneg $z $z $z $z $z $z $vi $vi $vi $vi $vi $vi $vi $vi $ii) - (import "env" "__memory_base" (global $__memory_base i32)) - (import "env" "__table_base" (global $__table_base i32)) - (import "global" "NaN" (global $t$asm2wasm$import f64)) - (import "global" "Infinity" (global $u$asm2wasm$import f64)) - (import "env" "tempDoublePtr" (global $tempDoublePtr$asm2wasm$import i32)) - (import "env" "gb" (global $n$asm2wasm$import i32)) - (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32)) - (import "env" "setTempRet0" (func $setTempRet0 (param i32) (result i32))) - (import "env" "abort" (func $abort (param f64) (result f64))) - (import "env" "print" (func $print (param i32))) - (import "env" "h" (func $h (param i32))) - (import "env" "return_int" (func $return_int (result i32))) - (import "env" "emscripten_log" (func $emscripten_log)) - (import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32))) - (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64))) - (global $t (mut f64) (global.get $t$asm2wasm$import)) - (global $u (mut f64) (global.get $u$asm2wasm$import)) - (global $Int (mut i32) (i32.const 0)) - (global $Double (mut f64) (f64.const 0)) - (global $tempDoublePtr (mut i32) (global.get $tempDoublePtr$asm2wasm$import)) - (global $n (mut i32) (global.get $n$asm2wasm$import)) - (global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import)) - (global $nonZero (mut i32) (i32.const 1337)) - (global $exportedNumber i32 (i32.const 42)) - (export "big_negative" (func $big_negative)) - (export "pick" (func $exportMe)) - (export "doubleCompares" (func $doubleCompares)) - (export "intOps" (func $intOps)) - (export "conversions" (func $conversions)) - (export "switcher" (func $switcher)) - (export "frem" (func $frem)) - (export "frem_float" (func $frem_float)) - (export "big_uint_div_u" (func $big_uint_div_u)) - (export "trapping_sint_div_s" (func $trapping_sint_div_s)) - (export "fr" (func $fr)) - (export "negZero" (func $negZero)) - (export "neg" (func $neg)) - (export "smallCompare" (func $smallCompare)) - (export "cneg_nosemicolon" (func $cneg_nosemicolon)) - (export "forLoop" (func $forLoop)) - (export "ceiling_32_64" (func $ceiling_32_64)) - (export "aborts" (func $aborts)) - (export "continues" (func $continues)) - (export "bitcasts" (func $bitcasts)) - (export "recursiveBlockMerging" (func $recursiveBlockMerging)) - (export "lb" (func $lb)) - (export "zeroInit" (func $zeroInit)) - (export "phi" (func $phi)) - (export "smallIf" (func $smallIf)) - (export "dropCall" (func $dropCall)) - (export "useGlobalSet" (func $useGlobalSet)) - (export "usesGlobalSet2" (func $usesGlobalSet2)) - (export "breakThroughMany" (func $breakThroughMany)) - (export "ifChainEmpty" (func $ifChainEmpty)) - (export "heap8NoShift" (func $heap8NoShift)) - (export "conditionalTypeFun" (func $conditionalTypeFun)) - (export "loadSigned" (func $loadSigned)) - (export "globalOpts" (func $globalOpts)) - (export "dropCallImport" (func $dropCallImport)) - (export "loophi" (func $loophi)) - (export "loophi2" (func $loophi2)) - (export "loophi2b" (func $loophi2b)) - (export "relooperJumpThreading" (func $relooperJumpThreading)) - (export "relooperJumpThreading__ZN4game14preloadweaponsEv" (func $relooperJumpThreading__ZN4game14preloadweaponsEv)) - (export "__Z12multi_varargiz" (func $__Z12multi_varargiz)) - (export "jumpThreadDrop" (func $jumpThreadDrop)) - (export "dropIgnoredImportInIf" (func $dropIgnoredImportInIf)) - (export "dropIgnoredImportsInIf" (func $dropIgnoredImportsInIf)) - (export "relooperJumpThreading_irreducible" (func $relooperJumpThreading_irreducible)) - (export "store_fround" (func $store_fround)) - (export "exportedNumber" (global $exportedNumber)) - (export "relocatableAndModules" (func $relocatableAndModules)) - (export "exported_f32_user" (func $exported_f32_user)) - (export "keepAlive" (func $keepAlive)) - (func $big_negative - (local $temp f64) - (local.set $temp - (f64.const -2147483648) - ) - (local.set $temp - (f64.const -2147483648) - ) - (local.set $temp - (f64.const -21474836480) - ) - (local.set $temp - (f64.const 0.039625) - ) - (local.set $temp - (f64.const -0.039625) - ) - ) - (func $importedDoubles (result f64) - (local $temp f64) - (local.set $temp - (f64.add - (f64.add - (f64.add - (global.get $t) - (global.get $u) - ) - (f64.neg - (global.get $u) - ) - ) - (f64.neg - (global.get $t) - ) - ) - ) - (if - (i32.gt_s - (global.get $Int) - (i32.const 0) - ) - (return - (f64.const -3.4) - ) - ) - (if - (f64.gt - (global.get $Double) - (f64.const 0) - ) - (return - (f64.const 5.6) - ) - ) - (return - (f64.const 1.2) - ) - ) - (func $doubleCompares (param $x f64) (param $y f64) (result f64) - (local $t f64) - (local $Int f64) - (local $Double i32) - (if - (f64.gt - (local.get $x) - (f64.const 0) - ) - (return - (f64.const 1.2) - ) - ) - (local.set $Int - (local.get $x) - ) - (local.set $Double - (global.get $n) - ) - (if - (f64.gt - (local.get $Int) - (f64.const 0) - ) - (return - (f64.const -3.4) - ) - ) - (if - (i32.gt_s - (local.get $Double) - (i32.const 0) - ) - (return - (f64.const 5.6) - ) - ) - (if - (f64.lt - (local.get $x) - (local.get $y) - ) - (return - (local.get $x) - ) - ) - (return - (local.get $y) - ) - ) - (func $intOps (param $x i32) (result i32) - (return - (i32.eqz - (local.get $x) - ) - ) - ) - (func $hexLiterals - (local $i i32) - (local.set $i - (i32.add - (i32.add - (i32.const 0) - (i32.const 313249263) - ) - (i32.const -19088752) - ) - ) - ) - (func $conversions (param $i i32) (param $d f64) (param $f f32) - (local.set $i - (call $f64-to-int - (local.get $d) - ) - ) - (local.set $i - (call $f64-to-int - (f64.promote_f32 - (local.get $f) - ) - ) - ) - (local.set $d - (f64.convert_i32_s - (local.get $i) - ) - ) - (local.set $d - (f64.convert_i32_u - (local.get $i) - ) - ) - ) - (func $seq - (local $J f64) - (local.set $J - (f64.sub - (block (result f64) - (drop - (f64.const 0.1) - ) - (f64.const 5.1) - ) - (block (result f64) - (drop - (f64.const 3.2) - ) - (f64.const 4.2) - ) - ) - ) - ) - (func $switcher (param $x i32) (result i32) - (local $waka i32) - (block $switch - (block $switch-case0 - (block $switch-case - (br_table $switch-case $switch-case0 $switch - (i32.sub - (local.get $x) - (i32.const 1) - ) - ) - ) - (return - (i32.const 1) - ) - ) - (return - (i32.const 2) - ) - ) - (block $switch1 - (block $switch-case3 - (block $switch-case2 - (br_table $switch-case3 $switch1 $switch1 $switch1 $switch1 $switch1 $switch1 $switch-case2 $switch1 - (i32.sub - (local.get $x) - (i32.const 5) - ) - ) - ) - (return - (i32.const 121) - ) - ) - (return - (i32.const 51) - ) - ) - (block $label$break$Lout - (block $switch-case9 - (block $switch-case6 - (block $switch-case5 - (block $switch-case4 - (br_table $switch-case9 $label$break$Lout $label$break$Lout $switch-case6 $label$break$Lout $label$break$Lout $label$break$Lout $label$break$Lout $switch-case5 $label$break$Lout $switch-case4 $label$break$Lout - (i32.sub - (local.get $x) - (i32.const 2) - ) - ) - ) - (br $label$break$Lout) - ) - (br $label$break$Lout) - ) - (block - (loop $while-in - (block $while-out - (br $while-out) - (br $while-in) - ) - ) - (br $label$break$Lout) - ) - ) - (block - (loop $while-in8 - (block $while-out7 - (br $label$break$Lout) - (br $while-in8) - ) - ) - (br $label$break$Lout) - ) - ) - (loop $label$continue$L1 - (block $label$break$L1 - (loop $label$continue$L3 - (block $label$break$L3 - (block $switch10 - (block $switch-default - (block $switch-case13 - (block $switch-case12 - (block $switch-case11 - (br_table $switch-case11 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case13 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case12 $switch-default - (i32.sub - (local.get $x) - (i32.const -1) - ) - ) - ) - (block - (br $label$break$L1) - (br $switch10) - ) - ) - (block - (local.set $waka - (i32.const 1) - ) - (br $switch10) - ) - ) - (block - (br $label$break$L3) - (br $switch10) - ) - ) - (br $label$break$L1) - ) - (br $label$continue$L3) - ) - ) - (call $h - (i32.const 120) - ) - (br $label$continue$L1) - ) - ) - (return - (i32.const 0) - ) - ) - (func $blocker - (block $label$break$L - (br $label$break$L) - ) - ) - (func $frem (result f64) - (return - (call $f64-rem - (f64.const 5.5) - (f64.const 1.2) - ) - ) - ) - (func $frem_float (result f32) - (return - (f32.demote_f64 - (call $f64-rem - (f64.promote_f32 - (f32.const 5.5) - ) - (f64.promote_f32 - (f32.const 1.2000000476837158) - ) - ) - ) - ) - ) - (func $i32u-div (param $0 i32) (param $1 i32) (result i32) - (if (result i32) - (i32.eqz - (local.get $1) - ) - (i32.const 0) - (i32.div_u - (local.get $0) - (local.get $1) - ) - ) - ) - (func $big_uint_div_u (result i32) - (local $x i32) - (local.set $x - (i32.and - (call $i32u-div - (i32.const -1) - (i32.const 2) - ) - (i32.const -1) - ) - ) - (return - (local.get $x) - ) - ) - (func $i32s-div (param $0 i32) (param $1 i32) (result i32) - (if (result i32) - (i32.eqz - (local.get $1) - ) - (i32.const 0) - (if (result i32) - (i32.and - (i32.eq - (local.get $0) - (i32.const -2147483648) - ) - (i32.eq - (local.get $1) - (i32.const -1) - ) - ) - (i32.const 0) - (i32.div_s - (local.get $0) - (local.get $1) - ) - ) - ) - ) - (func $trapping_sint_div_s (result i32) - (local $x i32) - (local.set $x - (call $i32s-div - (i32.const -2147483648) - (i32.const -1) - ) - ) - (return - (local.get $x) - ) - ) - (func $fr (param $x f32) - (local $y f32) - (local $z f64) - (drop - (f32.demote_f64 - (local.get $z) - ) - ) - (drop - (local.get $y) - ) - (drop - (f32.const 5) - ) - (drop - (f32.const 0) - ) - (drop - (f32.const 5) - ) - (drop - (f32.const 0) - ) - ) - (func $negZero (result f64) - (return - (f64.const -0) - ) - ) - (func $abs - (local $x i32) - (local $y f64) - (local $z f32) - (local $asm2wasm_i32_temp i32) - (local.set $x - (block (result i32) - (local.set $asm2wasm_i32_temp - (i32.const 0) - ) - (select - (i32.sub - (i32.const 0) - (local.get $asm2wasm_i32_temp) - ) - (local.get $asm2wasm_i32_temp) - (i32.lt_s - (local.get $asm2wasm_i32_temp) - (i32.const 0) - ) - ) - ) - ) - (local.set $y - (f64.abs - (f64.const 0) - ) - ) - (local.set $z - (f32.abs - (f32.const 0) - ) - ) - ) - (func $minmax - (local $x f64) - (local $y f64) - (local $z f32) - (local $w f32) - (local.set $x - (f64.min - (local.get $x) - (local.get $y) - ) - ) - (local.set $y - (f64.max - (local.get $x) - (local.get $y) - ) - ) - (local.set $z - (f32.min - (local.get $z) - (local.get $w) - ) - ) - (local.set $w - (f32.max - (local.get $z) - (local.get $w) - ) - ) - ) - (func $neg - (local $x f32) - (local.set $x - (f32.neg - (local.get $x) - ) - ) - (call_indirect (type $f32_=>_none) - (local.get $x) - (i32.add - (i32.and - (i32.const 1) - (i32.const 7) - ) - (i32.const 8) - ) - ) - ) - (func $cneg (param $x f32) - (call_indirect (type $f32_=>_none) - (local.get $x) - (i32.add - (i32.and - (i32.const 1) - (i32.const 7) - ) - (i32.const 8) - ) - ) - ) - (func $___syscall_ret - (local $$0 i32) - (drop - (i32.gt_u - (local.get $$0) - (i32.const -4096) - ) - ) - ) - (func $smallCompare (param $i i32) (param $j i32) (result i32) - (if - (i32.lt_s - (local.get $i) - (local.get $j) - ) - (local.set $i - (i32.add - (local.get $i) - (i32.const 1) - ) - ) - ) - (if - (i32.lt_u - (local.get $i) - (local.get $j) - ) - (local.set $i - (i32.add - (local.get $i) - (i32.const 1) - ) - ) - ) - (return - (local.get $i) - ) - ) - (func $cneg_nosemicolon - (call_indirect (type $i32_=>_none) - (i32.const 1) - (i32.add - (i32.and - (i32.const 1) - (i32.const 7) - ) - (i32.const 16) - ) - ) - ) - (func $forLoop - (local $i i32) - (local.set $i - (i32.const 1) - ) - (loop $for-in - (block $for-out - (if - (i32.eqz - (i32.lt_s - (local.get $i) - (i32.const 200) - ) - ) - (br $for-out) - ) - (call $h - (local.get $i) - ) - (local.set $i - (i32.add - (local.get $i) - (i32.const 1) - ) - ) - (br $for-in) - ) - ) - ) - (func $ceiling_32_64 (param $u f32) (param $B f64) - (local $temp f32) - (local.set $temp - (f32.demote_f64 - (f64.ceil - (local.get $B) - ) - ) - ) - (local.set $temp - (f32.mul - (local.get $u) - (f32.ceil - (f32.demote_f64 - (local.get $B) - ) - ) - ) - ) - ) - (func $aborts - (drop - (call $abort - (f64.const 0) - ) - ) - (drop - (call $abort - (f64.convert_i32_s - (i32.const 55) - ) - ) - ) - (drop - (call $abort - (f64.const 0) - ) - ) - (drop - (call $abort - (f64.const 12.34) - ) - ) - (drop - (call $abort - (f64.promote_f32 - (f32.const 56.779998779296875) - ) - ) - ) - ) - (func $continues - (loop $while-in - (block $while-out - (call $print - (i32.const 1) - ) - (block $do-once - (loop $unlikely-continue - (call $print - (i32.const 5) - ) - (if - (call $return_int) - (br $unlikely-continue) - ) - ) - ) - (call $print - (i32.const 2) - ) - (br $while-in) - ) - ) - ) - (func $bitcasts (param $i i32) (param $f f32) - (local $d f64) - (drop - (f32.reinterpret_i32 - (local.get $i) - ) - ) - (drop - (f64.promote_f32 - (f32.reinterpret_i32 - (local.get $i) - ) - ) - ) - (drop - (i32.reinterpret_f32 - (local.get $f) - ) - ) - (drop - (i32.reinterpret_f32 - (f32.demote_f64 - (local.get $d) - ) - ) - ) - ) - (func $recursiveBlockMerging (param $x i32) (result i32) - (drop - (call $lb - (i32.add - (i32.add - (i32.add - (block (result i32) - (drop - (i32.const 1) - ) - (local.get $x) - ) - (block (result i32) - (drop - (i32.const 2) - ) - (i32.const 3) - ) - ) - (block (result i32) - (block - (block - (drop - (i32.const 4) - ) - (drop - (i32.const 5) - ) - ) - (drop - (i32.const 6) - ) - ) - (i32.const 7) - ) - ) - (block (result i32) - (drop - (i32.const 8) - ) - (block (result i32) - (drop - (i32.const 9) - ) - (block (result i32) - (drop - (i32.const 10) - ) - (block (result i32) - (drop - (i32.const 11) - ) - (i32.const 12) - ) - ) - ) - ) - ) - ) - ) - (local.set $x - (i32.add - (i32.add - (i32.add - (block (result i32) - (drop - (call $lb - (i32.const 1) - ) - ) - (local.get $x) - ) - (block (result i32) - (drop - (call $lb - (i32.const 2) - ) - ) - (call $lb - (i32.const 3) - ) - ) - ) - (block (result i32) - (block - (block - (drop - (call $lb - (i32.const 4) - ) - ) - (drop - (call $lb - (i32.const 5) - ) - ) - ) - (drop - (call $lb - (i32.const 6) - ) - ) - ) - (call $lb - (i32.const 7) - ) - ) - ) - (block (result i32) - (drop - (call $lb - (i32.const 8) - ) - ) - (block (result i32) - (drop - (call $lb - (i32.const 9) - ) - ) - (block (result i32) - (drop - (call $lb - (i32.const 10) - ) - ) - (block (result i32) - (drop - (call $lb - (i32.const 11) - ) - ) - (call $lb - (i32.const 12) - ) - ) - ) - ) - ) - ) - ) - (return - (local.get $x) - ) - ) - (func $lb (param $a i32) (result i32) - (i32.store - (local.get $a) - (i32.add - (i32.add - (global.get $n) - (i32.const 136) - ) - (i32.const 8) - ) - ) - (return - (i32.const 0) - ) - ) - (func $forgetMe - (drop - (f64.const 123.456) - ) - ) - (func $exportMe - (drop - (f64.const -3.14159) - ) - ) - (func $zeroInit (param $x i32) - (local $y i32) - (if - (call $lb - (i32.const 0) - ) - (if - (call $lb - (i32.const 1) - ) - (local.set $y - (i32.const 3) - ) - ) - (local.set $y - (i32.const 3) - ) - ) - (if - (i32.eq - (local.get $y) - (i32.const 3) - ) - (drop - (call $lb - (i32.const 2) - ) - ) - ) - ) - (func $phi (result i32) - (local $x i32) - (block $do-once - (block - (if - (call $lb - (i32.const 1) - ) - (block - (local.set $x - (i32.const 0) - ) - (br $do-once) - ) - ) - (local.set $x - (i32.const 1) - ) - ) - ) - (return - (local.get $x) - ) - ) - (func $smallIf - (block $do-once - (if - (call $return_int) - (drop - (call $lb - (i32.const 3) - ) - ) - (br $do-once) - ) - (nop) - ) - ) - (func $dropCall (result i32) - (if - (call $return_int) - (block - (drop - (call $phi) - ) - (drop - (call $setTempRet0 - (i32.const 10) - ) - ) - (call $zeroInit - (call $setTempRet0 - (i32.const 10) - ) - ) - ) - ) - (return - (call $phi) - ) - ) - (func $useGlobalSet (result i32) - (local $x i32) - (local.set $x - (block (result i32) - (global.set $Int - (i32.const 10) - ) - (global.get $Int) - ) - ) - (global.set $Int - (i32.const 20) - ) - (return - (block (result i32) - (global.set $Int - (i32.const 30) - ) - (global.get $Int) - ) - ) - ) - (func $usesGlobalSet2 (result i32) - (return - (block (result i32) - (block - (global.set $Int - (i32.const 40) - ) - (drop - (global.get $Int) - ) - ) - (i32.const 50) - ) - ) - ) - (func $breakThroughMany (param $$s i32) - (block $label$break$L1 - (if - (local.get $$s) - (loop $while-in - (block $while-out - (if - (i32.eqz - (local.get $$s) - ) - (br $label$break$L1) - ) - (call $zeroInit - (i32.const 0) - ) - (br $while-in) - ) - ) - (drop - (i32.const 1337) - ) - ) - (nop) - ) - ) - (func $ifChainEmpty (param $label i32) (result i32) - (if - (i32.eq - (local.get $label) - (i32.const 4) - ) - (return - (i32.const 0) - ) - (if - (i32.eq - (local.get $label) - (i32.const 7) - ) - (nop) - ) - ) - (return - (i32.const 0) - ) - ) - (func $heap8NoShift (param $x i32) (result i32) - (return - (i32.load8_s - (local.get $x) - ) - ) - ) - (func $conditionalTypeFun - (local $x i32) - (local $y f64) - (local.set $x - (if (result i32) - (call $return_int) - (call $f64-to-int - (call $abort - (f64.convert_i32_s - (i32.const 5) - ) - ) - ) - (i32.const 2) - ) - ) - (local.set $y - (if (result f64) - (call $return_int) - (call $abort - (f64.convert_i32_s - (i32.const 7) - ) - ) - (f64.const 4.5) - ) - ) - ) - (func $loadSigned (param $x i32) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load8_s - (local.get $x) - ) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load8_u - (local.get $x) - ) - (i32.const 24) - ) - (i32.const 24) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load16_s - (local.get $x) - ) - (i32.const 16) - ) - (i32.const 16) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load16_u - (local.get $x) - ) - (i32.const 16) - ) - (i32.const 16) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load8_s - (local.get $x) - ) - (i32.const 24) - ) - (i32.const 16) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load8_u - (local.get $x) - ) - (i32.const 16) - ) - (i32.const 24) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load16_s - (local.get $x) - ) - (i32.const 16) - ) - (i32.const 24) - ) - ) - (call $loadSigned - (i32.shr_s - (i32.shl - (i32.load16_u - (local.get $x) - ) - (i32.const 24) - ) - (i32.const 16) - ) - ) - ) - (func $z (param $x f32) - (nop) - ) - (func $w (result f64) - (return - (f64.const 0) - ) - ) - (func $globalOpts - (local $x i32) - (local $y f64) - (local.set $x - (global.get $Int) - ) - (local.set $y - (global.get $Double) - ) - (i32.store8 - (i32.const 13) - (i32.load - (i32.const 12) - ) - ) - (global.set $Double - (local.get $y) - ) - (global.set $Int - (local.get $x) - ) - (call $globalOpts) - (local.set $x - (global.get $Int) - ) - (if - (call $return_int) - (global.set $Int - (i32.const 20) - ) - ) - (global.set $Int - (local.get $x) - ) - (call $globalOpts) - (local.set $x - (global.get $Int) - ) - (call $globalOpts) - (global.set $Int - (local.get $x) - ) - ) - (func $dropCallImport - (if - (call $return_int) - (drop - (call $return_int) - ) - ) - ) - (func $loophi (param $x i32) (param $y i32) - (local $temp i32) - (local $inc i32) - (local $loopvar i32) - (local.set $loopvar - (local.get $x) - ) - (loop $while-in - (block $while-out - (call $loophi - (local.get $loopvar) - (i32.const 0) - ) - (local.set $temp - (local.get $loopvar) - ) - (if - (local.get $temp) - (if - (local.get $temp) - (br $while-out) - ) - ) - (local.set $inc - (i32.add - (local.get $loopvar) - (i32.const 1) - ) - ) - (if - (i32.eq - (local.get $inc) - (local.get $y) - ) - (local.set $loopvar - (local.get $inc) - ) - (br $while-out) - ) - (br $while-in) - ) - ) - ) - (func $loophi2 (result i32) - (local $jnc i32) - (local $i i32) - (local $i$lcssa i32) - (local $temp i32) - (local $j i32) - (local.set $i - (i32.const 0) - ) - (loop $label$continue$L7 - (block $label$break$L7 - (local.set $j - (i32.const 0) - ) - (loop $while-in - (block $while-out - (local.set $temp - (local.get $j) - ) - (if - (call $return_int) - (if - (local.get $temp) - (block - (local.set $i$lcssa - (local.get $i) - ) - (br $label$break$L7) - ) - ) - ) - (local.set $jnc - (i32.add - (local.get $j) - (i32.const 1) - ) - ) - (if - (local.get $jnc) - (local.set $j - (local.get $jnc) - ) - (br $while-out) - ) - (br $while-in) - ) - ) - (br $label$continue$L7) - ) - ) - (return - (local.get $i$lcssa) - ) - ) - (func $loophi2b (result i32) - (local $jnc i32) - (local $i i32) - (local $i$lcssa i32) - (local $temp i32) - (local $j i32) - (local.set $i - (i32.const 0) - ) - (loop $label$continue$L7 - (block $label$break$L7 - (local.set $j - (i32.const 0) - ) - (loop $while-in - (block $while-out - (local.set $temp - (local.get $j) - ) - (if - (call $return_int) - (if - (local.get $temp) - (block - (local.set $i$lcssa - (local.get $j) - ) - (br $label$break$L7) - ) - ) - ) - (local.set $jnc - (i32.add - (local.get $j) - (i32.const 1) - ) - ) - (if - (local.get $jnc) - (local.set $j - (local.get $jnc) - ) - (br $while-out) - ) - (br $while-in) - ) - ) - (br $label$continue$L7) - ) - ) - (return - (local.get $i$lcssa) - ) - ) - (func $relooperJumpThreading (param $x i32) (result i32) - (local $label i32) - (if - (local.get $x) - (block - (call $h - (i32.const 0) - ) - (local.set $label - (i32.const 1) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 1) - ) - (call $h - (i32.const 1) - ) - ) - (call $h - (i32.const -1) - ) - (loop $while-in - (block $while-out - (local.set $x - (i32.add - (local.get $x) - (i32.const 1) - ) - ) - (if - (local.get $x) - (block - (call $h - (i32.const 2) - ) - (local.set $label - (i32.const 2) - ) - (br $while-out) - ) - ) - (br $while-in) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 2) - ) - (call $h - (i32.const 3) - ) - ) - (call $h - (i32.const -2) - ) - (if - (local.get $x) - (block - (call $h - (i32.const 4) - ) - (if - (i32.eq - (local.get $x) - (i32.const 3) - ) - (local.set $label - (i32.const 3) - ) - (local.set $label - (i32.const 4) - ) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 3) - ) - (call $h - (i32.const 5) - ) - (if - (i32.eq - (local.get $label) - (i32.const 4) - ) - (call $h - (i32.const 6) - ) - ) - ) - (call $h - (i32.const -3) - ) - (if - (local.get $x) - (block - (call $h - (i32.const 7) - ) - (if - (i32.eq - (local.get $x) - (i32.const 5) - ) - (local.set $label - (i32.const 5) - ) - (local.set $label - (i32.const 6) - ) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 5) - ) - (block - (call $h - (i32.const 8) - ) - (if - (i32.eq - (local.get $x) - (i32.const 6) - ) - (local.set $label - (i32.const 6) - ) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 6) - ) - (call $h - (i32.const 9) - ) - ) - (call $h - (i32.const -4) - ) - (if - (local.get $x) - (block - (call $h - (i32.const 10) - ) - (local.set $label - (i32.const 7) - ) - ) - ) - (block $label$break$L1 - (if - (i32.eq - (local.get $label) - (i32.const 7) - ) - (block - (call $h - (i32.const 11) - ) - (br $label$break$L1) - ) - ) - ) - (call $h - (i32.const -5) - ) - (if - (local.get $x) - (block - (call $h - (i32.const 12) - ) - (if - (i32.eq - (local.get $x) - (i32.const 8) - ) - (local.set $label - (i32.const 8) - ) - (local.set $label - (i32.const 9) - ) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 8) - ) - (block - (call $h - (i32.const 13) - ) - (if - (local.get $x) - (local.set $label - (i32.const 9) - ) - ) - ) - ) - (block $label$break$L10 - (if - (i32.eq - (local.get $label) - (i32.const 9) - ) - (block - (call $h - (i32.const 14) - ) - (br $label$break$L10) - ) - ) - ) - (call $h - (i32.const -6) - ) - (return - (local.get $x) - ) - ) - (func $relooperJumpThreading__ZN4game14preloadweaponsEv (param $$12 i32) (param $$14 i32) (param $$or$cond8 i32) (param $$or$cond6 i32) (param $$vararg_ptr5 i32) (param $$11 i32) (param $$exitcond i32) - (local $label i32) - (loop $while-in - (block $while-out - (if - (local.get $$14) - (if - (local.get $$or$cond8) - (local.set $label - (i32.const 7) - ) - (local.set $label - (i32.const 8) - ) - ) - (if - (local.get $$or$cond6) - (local.set $label - (i32.const 7) - ) - (local.set $label - (i32.const 8) - ) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 7) - ) - (local.set $label - (i32.const 0) - ) - (if - (i32.eq - (local.get $label) - (i32.const 8) - ) - (block - (local.set $label - (i32.const 0) - ) - (i32.store - (local.get $$vararg_ptr5) - (local.get $$11) - ) - ) - ) - ) - (br $while-in) - ) - ) - ) - (func $relooperJumpThreading_irreducible (param $x i32) - (local $label i32) - (if - (i32.eq - (local.get $x) - (i32.const 100) - ) - (local.set $label - (i32.const 1) - ) - (local.set $label - (i32.const 10) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 1) - ) - (loop $while-in - (block $while-out - (call $relooperJumpThreading_irreducible - (i32.const 1337) - ) - (local.set $label - (i32.const 1) - ) - (br $while-in) - ) - ) - ) - (if - (i32.eq - (local.get $x) - (i32.const 200) - ) - (local.set $label - (i32.const 2) - ) - (local.set $label - (i32.const 10) - ) - ) - (if - (i32.eq - (local.get $x) - (i32.const 300) - ) - (local.set $label - (i32.const 2) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 2) - ) - (call $relooperJumpThreading_irreducible - (i32.const 1448) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 10) - ) - (call $relooperJumpThreading_irreducible - (i32.const 2000) - ) - ) - ) - (func $__Z12multi_varargiz (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32) - (local $$12 i32) - (local $$20 i32) - (if - (local.get $$2) - (loop $while-in - (block $while-out - (local.set $$12 - (local.get $$$06$i4) - ) - (if - (local.get $$exitcond$i6) - (br $while-out) - (local.set $$$06$i4 - (local.get $$20) - ) - ) - (br $while-in) - ) - ) - (drop - (call $lb - (i32.const 1) - ) - ) - ) - ) - (func $jumpThreadDrop (result i32) - (local $label i32) - (local $temp i32) - (local.set $temp - (call $return_int) - ) - (loop $while-in - (block $while-out - (local.set $label - (i32.const 14) - ) - (br $while-out) - (br $while-in) - ) - ) - (if - (i32.eq - (local.get $label) - (i32.const 10) - ) - (nop) - (if - (i32.eq - (local.get $label) - (i32.const 12) - ) - (drop - (call $return_int) - ) - (if - (i32.eq - (local.get $label) - (i32.const 14) - ) - (nop) - ) - ) - ) - (return - (local.get $temp) - ) - ) - (func $dropIgnoredImportInIf (param $$0 i32) (param $$1 i32) (param $$2 i32) - (block $do-once - (if - (local.get $$0) - (block - (local.set $$0 - (i32.const 1) - ) - (drop - (call $lb - (local.get $$2) - ) - ) - ) - (br $do-once) - ) - (nop) - ) - (return) - ) - (func $big_fround (result f32) - (return - (f32.const 4294967296) - ) - ) - (func $dropIgnoredImportsInIf (param $$0 i32) (param $$1 i32) (param $$2 i32) - (block $do-once - (if - (local.get $$0) - (drop - (call $lb - (local.get $$1) - ) - ) - (drop - (call $lb - (local.get $$2) - ) - ) - ) - (nop) - ) - (return) - ) - (func $f32_ucast (param $x i32) (result f32) - (return - (f32.convert_i32_u - (local.get $x) - ) - ) - ) - (func $f32_scast (param $x i32) (result f32) - (return - (f32.convert_i32_s - (local.get $x) - ) - ) - ) - (func $store_fround (param $x i32) - (f64.store - (i32.const 80) - (f64.promote_f32 - (f32.convert_i32_s - (local.get $x) - ) - ) - ) - ) - (func $relocatableAndModules (result i32) - (call_indirect (type $none_=>_none) - (i32.const 10) - ) - (call_indirect (type $none_=>_none) - (i32.const 20) - ) - (return - (call_indirect (type $f64_i32_=>_i32) - (f64.const 1.5) - (i32.const 200) - (i32.const 30) - ) - ) - ) - (func $exported_f32_user (param $x i32) (param $y f32) (param $z f64) (result f32) - (return - (local.get $y) - ) - ) - (func $sqrts (param $x f64) (result f64) - (return - (f64.add - (f64.sqrt - (local.get $x) - ) - (f64.promote_f32 - (f32.sqrt - (f32.demote_f64 - (local.get $x) - ) - ) - ) - ) - ) - ) - (func $f2u (param $x f64) (result i32) - (return - (call $f64-to-int - (local.get $x) - ) - ) - ) - (func $f2s (param $x f64) (result i32) - (return - (call $f64-to-int - (local.get $x) - ) - ) - ) - (func $autoDrop (param $x i32) (result i32) - (loop $while-in - (block $while-out - (if - (i32.eq - (local.get $x) - (i32.const 17) - ) - (block - (return - (i32.const 5) - ) - (drop - (call $autoDrop - (i32.const 1) - ) - ) - ) - (block - (br $while-out) - (local.set $x - (call $autoDrop - (i32.const 2) - ) - ) - ) - ) - (br $while-in) - ) - ) - (return - (local.get $x) - ) - ) - (func $indirectInSequence - (local $i1 i32) - (local.set $i1 - (block (result i32) - (call_indirect (type $i32_=>_none) - (i32.const 0) - (i32.add - (i32.and - (i32.const 1) - (i32.const 7) - ) - (i32.const 16) - ) - ) - (i32.const 1) - ) - ) - ) - (func $emterpretify_assertions_safeHeap - (local $i1 i32) - (call_indirect (type $i32_=>_none) - (local.get $i1) - (i32.add - (i32.and - (block (result i32) - (global.set $Int - (i32.const 1) - ) - (global.get $Int) - ) - (i32.const 7) - ) - (i32.const 16) - ) - ) - ) - (func $call_emscripten_log - (call $emscripten_log) - (if - (i32.const 2) - (drop - (call $f64-to-int - (call $abort - (f64.const 0) - ) - ) - ) - (drop - (i32.const 3) - ) - ) - ) - (func $mod_detectSign (param $d1 f64) (param $d2 f64) (param $d8 f64) (result i32) - (return - (call $f64-to-int - (f64.sub - (local.get $d2) - (f64.mul - (f64.div - (call $f64-rem - (local.get $d8) - (local.get $d1) - ) - (local.get $d1) - ) - (local.get $d2) - ) - ) - ) - ) - ) - (func $keepAlive - (drop - (call $sqrts - (f64.const 3.14159) - ) - ) - (drop - (call $sqrts - (f64.const 2.18281) - ) - ) - (drop - (call $f2u - (f64.const 100) - ) - ) - (drop - (call $f2s - (f64.const 100) - ) - ) - (drop - (call $autoDrop - (i32.const 52) - ) - ) - (call $indirectInSequence) - (call $emterpretify_assertions_safeHeap) - (call $call_emscripten_log) - (drop - (call $mod_detectSign - (f64.const 1) - (f64.const 2.31) - (f64.const 9.78) - ) - ) - (global.set $nonZero - (i32.add - (global.get $nonZero) - (i32.const 1) - ) - ) - ) - (func $v - (nop) - ) - (func $vi (param $x i32) - (nop) - ) - (func $ii (param $x i32) (result i32) - (return - (local.get $x) - ) - ) -) |