diff options
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 158 |
1 files changed, 79 insertions, 79 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index 5c3695a23..f74ca4290 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -82,7 +82,7 @@ (export "relocatableAndModules" (func $relocatableAndModules)) (export "exported_f32_user" (func $legalstub$exported_f32_user)) (export "keepAlive" (func $keepAlive)) - (func $big_negative + (func $big_negative (; 7 ;) (local $temp f64) (set_local $temp (f64.const -2147483648) @@ -100,7 +100,7 @@ (f64.const -0.039625) ) ) - (func $importedDoubles (result f64) + (func $importedDoubles (; 8 ;) (result f64) (local $temp f64) (set_local $temp (f64.add @@ -140,7 +140,7 @@ (f64.const 1.2) ) ) - (func $doubleCompares (param $x f64) (param $y f64) (result f64) + (func $doubleCompares (; 9 ;) (param $x f64) (param $y f64) (result f64) (local $t f64) (local $Int f64) (local $Double i32) @@ -190,14 +190,14 @@ (get_local $y) ) ) - (func $intOps (param $x i32) (result i32) + (func $intOps (; 10 ;) (param $x i32) (result i32) (return (i32.eqz (get_local $x) ) ) ) - (func $hexLiterals + (func $hexLiterals (; 11 ;) (local $i i32) (set_local $i (i32.add @@ -209,7 +209,7 @@ ) ) ) - (func $conversions (param $i i32) (param $d f64) (param $f f32) + (func $conversions (; 12 ;) (param $i i32) (param $d f64) (param $f f32) (set_local $i (i32.trunc_s/f64 (get_local $d) @@ -231,7 +231,7 @@ ) ) ) - (func $seq + (func $seq (; 13 ;) (local $J f64) (set_local $J (f64.sub @@ -250,7 +250,7 @@ ) ) ) - (func $switcher (param $x i32) (result i32) + (func $switcher (; 14 ;) (param $x i32) (result i32) (local $waka i32) (block $switch (block $switch-case0 @@ -372,12 +372,12 @@ (i32.const 0) ) ) - (func $blocker + (func $blocker (; 15 ;) (block $label$break$L (br $label$break$L) ) ) - (func $frem (result f64) + (func $frem (; 16 ;) (result f64) (return (call $f64-rem (f64.const 5.5) @@ -385,7 +385,7 @@ ) ) ) - (func $frem_float (result f32) + (func $frem_float (; 17 ;) (result f32) (return (f32.demote/f64 (call $f64-rem @@ -399,7 +399,7 @@ ) ) ) - (func $big_uint_div_u (result i32) + (func $big_uint_div_u (; 18 ;) (result i32) (local $x i32) (set_local $x (i32.and @@ -414,7 +414,7 @@ (get_local $x) ) ) - (func $trapping_sint_div_s (result i32) + (func $trapping_sint_div_s (; 19 ;) (result i32) (local $x i32) (set_local $x (i32.div_s @@ -426,7 +426,7 @@ (get_local $x) ) ) - (func $fr (param $x f32) + (func $fr (; 20 ;) (param $x f32) (local $y f32) (local $z f64) (drop @@ -450,12 +450,12 @@ (f32.const 0) ) ) - (func $negZero (result f64) + (func $negZero (; 21 ;) (result f64) (return (f64.const -0) ) ) - (func $abs + (func $abs (; 22 ;) (local $x i32) (local $y f64) (local $z f32) @@ -489,7 +489,7 @@ ) ) ) - (func $minmax + (func $minmax (; 23 ;) (local $x f64) (local $y f64) (local $z f32) @@ -519,7 +519,7 @@ ) ) ) - (func $neg + (func $neg (; 24 ;) (local $x f32) (set_local $x (f32.neg @@ -537,7 +537,7 @@ ) ) ) - (func $cneg (param $x f32) + (func $cneg (; 25 ;) (param $x f32) (call_indirect $FUNCSIG$vf (get_local $x) (i32.add @@ -549,7 +549,7 @@ ) ) ) - (func $___syscall_ret + (func $___syscall_ret (; 26 ;) (local $$0 i32) (drop (i32.gt_u @@ -558,7 +558,7 @@ ) ) ) - (func $smallCompare (param $i i32) (param $j i32) (result i32) + (func $smallCompare (; 27 ;) (param $i i32) (param $j i32) (result i32) (if (i32.lt_s (get_local $i) @@ -587,7 +587,7 @@ (get_local $i) ) ) - (func $cneg_nosemicolon + (func $cneg_nosemicolon (; 28 ;) (call_indirect $FUNCSIG$vi (i32.const 1) (i32.add @@ -599,7 +599,7 @@ ) ) ) - (func $forLoop + (func $forLoop (; 29 ;) (local $i i32) (set_local $i (i32.const 1) @@ -628,7 +628,7 @@ ) ) ) - (func $ceiling_32_64 (param $u f32) (param $B f64) + (func $ceiling_32_64 (; 30 ;) (param $u f32) (param $B f64) (local $temp f32) (set_local $temp (f32.demote/f64 @@ -648,7 +648,7 @@ ) ) ) - (func $aborts + (func $aborts (; 31 ;) (drop (call $abort (f64.const 0) @@ -679,7 +679,7 @@ ) ) ) - (func $continues + (func $continues (; 32 ;) (loop $while-in (block $while-out (call $print @@ -703,7 +703,7 @@ ) ) ) - (func $bitcasts (param $i i32) (param $f f32) + (func $bitcasts (; 33 ;) (param $i i32) (param $f f32) (local $d f64) (drop (f32.reinterpret/i32 @@ -730,7 +730,7 @@ ) ) ) - (func $recursiveBlockMerging (param $x i32) (result i32) + (func $recursiveBlockMerging (; 34 ;) (param $x i32) (result i32) (drop (call $lb (i32.add @@ -875,7 +875,7 @@ (get_local $x) ) ) - (func $lb (param $a i32) (result i32) + (func $lb (; 35 ;) (param $a i32) (result i32) (i32.store (get_local $a) (i32.add @@ -890,17 +890,17 @@ (i32.const 0) ) ) - (func $forgetMe + (func $forgetMe (; 36 ;) (drop (f64.const 123.456) ) ) - (func $exportMe + (func $exportMe (; 37 ;) (drop (f64.const -3.14159) ) ) - (func $zeroInit (param $x i32) + (func $zeroInit (; 38 ;) (param $x i32) (local $y i32) (if (call $lb @@ -930,7 +930,7 @@ ) ) ) - (func $phi (result i32) + (func $phi (; 39 ;) (result i32) (local $x i32) (block $do-once (block @@ -954,7 +954,7 @@ (get_local $x) ) ) - (func $smallIf + (func $smallIf (; 40 ;) (block $do-once (if (call $return_int) @@ -968,7 +968,7 @@ (nop) ) ) - (func $dropCall (result i32) + (func $dropCall (; 41 ;) (result i32) (if (call $return_int) (block @@ -991,7 +991,7 @@ (call $phi) ) ) - (func $useSetGlobal (result i32) + (func $useSetGlobal (; 42 ;) (result i32) (local $x i32) (set_local $x (block (result i32) @@ -1013,7 +1013,7 @@ ) ) ) - (func $usesSetGlobal2 (result i32) + (func $usesSetGlobal2 (; 43 ;) (result i32) (return (block (result i32) (block @@ -1028,7 +1028,7 @@ ) ) ) - (func $breakThroughMany (param $$s i32) + (func $breakThroughMany (; 44 ;) (param $$s i32) (block $label$break$L1 (if (get_local $$s) @@ -1053,7 +1053,7 @@ (nop) ) ) - (func $ifChainEmpty (param $label i32) (result i32) + (func $ifChainEmpty (; 45 ;) (param $label i32) (result i32) (if (i32.eq (get_local $label) @@ -1074,14 +1074,14 @@ (i32.const 0) ) ) - (func $heap8NoShift (param $x i32) (result i32) + (func $heap8NoShift (; 46 ;) (param $x i32) (result i32) (return (i32.load8_s (get_local $x) ) ) ) - (func $conditionalTypeFun + (func $conditionalTypeFun (; 47 ;) (local $x i32) (local $y f64) (set_local $x @@ -1109,7 +1109,7 @@ ) ) ) - (func $loadSigned (param $x i32) + (func $loadSigned (; 48 ;) (param $x i32) (call $loadSigned (i32.shr_s (i32.shl @@ -1199,15 +1199,15 @@ ) ) ) - (func $z (param $x f32) + (func $z (; 49 ;) (param $x f32) (nop) ) - (func $w (result f64) + (func $w (; 50 ;) (result f64) (return (f64.const 0) ) ) - (func $globalOpts + (func $globalOpts (; 51 ;) (local $x i32) (local $y f64) (set_local $x @@ -1250,7 +1250,7 @@ (get_local $x) ) ) - (func $dropCallImport + (func $dropCallImport (; 52 ;) (if (call $return_int) (drop @@ -1258,7 +1258,7 @@ ) ) ) - (func $loophi (param $x i32) (param $y i32) + (func $loophi (; 53 ;) (param $x i32) (param $y i32) (local $temp i32) (local $inc i32) (local $loopvar i32) @@ -1301,7 +1301,7 @@ ) ) ) - (func $loophi2 (result i32) + (func $loophi2 (; 54 ;) (result i32) (local $jnc i32) (local $i i32) (local $i$lcssa i32) @@ -1355,7 +1355,7 @@ (get_local $i$lcssa) ) ) - (func $loophi2b (result i32) + (func $loophi2b (; 55 ;) (result i32) (local $jnc i32) (local $i i32) (local $i$lcssa i32) @@ -1409,7 +1409,7 @@ (get_local $i$lcssa) ) ) - (func $relooperJumpThreading (param $x i32) (result i32) + (func $relooperJumpThreading (; 56 ;) (param $x i32) (result i32) (local $label i32) (if (get_local $x) @@ -1648,7 +1648,7 @@ (get_local $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) + (func $relooperJumpThreading__ZN4game14preloadweaponsEv (; 57 ;) (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 @@ -1701,7 +1701,7 @@ ) ) ) - (func $relooperJumpThreading_irreducible (param $x i32) + (func $relooperJumpThreading_irreducible (; 58 ;) (param $x i32) (local $label i32) (if (i32.eq @@ -1772,7 +1772,7 @@ ) ) ) - (func $__Z12multi_varargiz (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32) + (func $__Z12multi_varargiz (; 59 ;) (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32) (local $$12 i32) (local $$20 i32) (if @@ -1799,7 +1799,7 @@ ) ) ) - (func $jumpThreadDrop (result i32) + (func $jumpThreadDrop (; 60 ;) (result i32) (local $label i32) (local $temp i32) (set_local $temp @@ -1841,7 +1841,7 @@ (get_local $temp) ) ) - (func $dropIgnoredImportInIf (param $$0 i32) (param $$1 i32) (param $$2 i32) + (func $dropIgnoredImportInIf (; 61 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32) (block $do-once (if (get_local $$0) @@ -1861,12 +1861,12 @@ ) (return) ) - (func $big_fround (result f32) + (func $big_fround (; 62 ;) (result f32) (return (f32.const 4294967296) ) ) - (func $dropIgnoredImportsInIf (param $$0 i32) (param $$1 i32) (param $$2 i32) + (func $dropIgnoredImportsInIf (; 63 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32) (block $do-once (if (get_local $$0) @@ -1885,21 +1885,21 @@ ) (return) ) - (func $f32_ucast (param $x i32) (result f32) + (func $f32_ucast (; 64 ;) (param $x i32) (result f32) (return (f32.convert_u/i32 (get_local $x) ) ) ) - (func $f32_scast (param $x i32) (result f32) + (func $f32_scast (; 65 ;) (param $x i32) (result f32) (return (f32.convert_s/i32 (get_local $x) ) ) ) - (func $store_fround (param $x i32) + (func $store_fround (; 66 ;) (param $x i32) (f64.store (i32.const 80) (f64.promote/f32 @@ -1909,7 +1909,7 @@ ) ) ) - (func $relocatableAndModules (result i32) + (func $relocatableAndModules (; 67 ;) (result i32) (call_indirect $FUNCSIG$v (i32.const 10) ) @@ -1924,12 +1924,12 @@ ) ) ) - (func $exported_f32_user (param $x i32) (param $y f32) (param $z f64) (result f32) + (func $exported_f32_user (; 68 ;) (param $x i32) (param $y f32) (param $z f64) (result f32) (return (get_local $y) ) ) - (func $sqrts (param $x f64) (result f64) + (func $sqrts (; 69 ;) (param $x f64) (result f64) (return (f64.add (f64.sqrt @@ -1945,21 +1945,21 @@ ) ) ) - (func $f2u (param $x f64) (result i32) + (func $f2u (; 70 ;) (param $x f64) (result i32) (return (i32.trunc_u/f64 (get_local $x) ) ) ) - (func $f2s (param $x f64) (result i32) + (func $f2s (; 71 ;) (param $x f64) (result i32) (return (i32.trunc_s/f64 (get_local $x) ) ) ) - (func $autoDrop (param $x i32) (result i32) + (func $autoDrop (; 72 ;) (param $x i32) (result i32) (loop $while-in (block $while-out (if @@ -1993,7 +1993,7 @@ (get_local $x) ) ) - (func $indirectInSequence + (func $indirectInSequence (; 73 ;) (local $i1 i32) (set_local $i1 (block (result i32) @@ -2011,7 +2011,7 @@ ) ) ) - (func $emterpretify_assertions_safeHeap + (func $emterpretify_assertions_safeHeap (; 74 ;) (local $i1 i32) (call_indirect $FUNCSIG$vi (get_local $i1) @@ -2029,7 +2029,7 @@ ) ) ) - (func $call_emscripten_log + (func $call_emscripten_log (; 75 ;) (call $emscripten_log) (if (i32.const 2) @@ -2045,7 +2045,7 @@ ) ) ) - (func $keepAlive + (func $keepAlive (; 76 ;) (drop (call $sqrts (f64.const 3.14159) @@ -2075,18 +2075,18 @@ (call $emterpretify_assertions_safeHeap) (call $call_emscripten_log) ) - (func $v + (func $v (; 77 ;) (nop) ) - (func $vi (param $x i32) + (func $vi (; 78 ;) (param $x i32) (nop) ) - (func $ii (param $x i32) (result i32) + (func $ii (; 79 ;) (param $x i32) (result i32) (return (get_local $x) ) ) - (func $legalstub$conversions (param $0 i32) (param $1 f64) (param $2 f64) + (func $legalstub$conversions (; 80 ;) (param $0 i32) (param $1 f64) (param $2 f64) (call $conversions (get_local $0) (get_local $1) @@ -2095,19 +2095,19 @@ ) ) ) - (func $legalstub$frem_float (result f64) + (func $legalstub$frem_float (; 81 ;) (result f64) (f64.promote/f32 (call $frem_float) ) ) - (func $legalstub$fr (param $0 f64) + (func $legalstub$fr (; 82 ;) (param $0 f64) (call $fr (f32.demote/f64 (get_local $0) ) ) ) - (func $legalstub$ceiling_32_64 (param $0 f64) (param $1 f64) + (func $legalstub$ceiling_32_64 (; 83 ;) (param $0 f64) (param $1 f64) (call $ceiling_32_64 (f32.demote/f64 (get_local $0) @@ -2115,7 +2115,7 @@ (get_local $1) ) ) - (func $legalstub$bitcasts (param $0 i32) (param $1 f64) + (func $legalstub$bitcasts (; 84 ;) (param $0 i32) (param $1 f64) (call $bitcasts (get_local $0) (f32.demote/f64 @@ -2123,7 +2123,7 @@ ) ) ) - (func $legalstub$exported_f32_user (param $0 i32) (param $1 f64) (param $2 f64) (result f64) + (func $legalstub$exported_f32_user (; 85 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64) (f64.promote/f32 (call $exported_f32_user (get_local $0) |