summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.no-opts')
-rw-r--r--test/unit.fromasm.no-opts162
1 files changed, 81 insertions, 81 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts
index eda573fbd..b9cd7ce46 100644
--- a/test/unit.fromasm.no-opts
+++ b/test/unit.fromasm.no-opts
@@ -84,7 +84,7 @@
(export "relocatableAndModules" (func $relocatableAndModules))
(export "exported_f32_user" (func $legalstub$exported_f32_user))
(export "keepAlive" (func $keepAlive))
- (func $big_negative
+ (func $big_negative (; 8 ;)
(local $temp f64)
(set_local $temp
(f64.const -2147483648)
@@ -102,7 +102,7 @@
(f64.const -0.039625)
)
)
- (func $importedDoubles (result f64)
+ (func $importedDoubles (; 9 ;) (result f64)
(local $temp f64)
(set_local $temp
(f64.add
@@ -142,7 +142,7 @@
(f64.const 1.2)
)
)
- (func $doubleCompares (param $x f64) (param $y f64) (result f64)
+ (func $doubleCompares (; 10 ;) (param $x f64) (param $y f64) (result f64)
(local $t f64)
(local $Int f64)
(local $Double i32)
@@ -192,14 +192,14 @@
(get_local $y)
)
)
- (func $intOps (param $x i32) (result i32)
+ (func $intOps (; 11 ;) (param $x i32) (result i32)
(return
(i32.eqz
(get_local $x)
)
)
)
- (func $hexLiterals
+ (func $hexLiterals (; 12 ;)
(local $i i32)
(set_local $i
(i32.add
@@ -211,7 +211,7 @@
)
)
)
- (func $conversions (param $i i32) (param $d f64) (param $f f32)
+ (func $conversions (; 13 ;) (param $i i32) (param $d f64) (param $f f32)
(set_local $i
(call $f64-to-int
(get_local $d)
@@ -235,7 +235,7 @@
)
)
)
- (func $seq
+ (func $seq (; 14 ;)
(local $J f64)
(set_local $J
(f64.sub
@@ -254,7 +254,7 @@
)
)
)
- (func $switcher (param $x i32) (result i32)
+ (func $switcher (; 15 ;) (param $x i32) (result i32)
(local $waka i32)
(block $switch
(block $switch-case0
@@ -376,12 +376,12 @@
(i32.const 0)
)
)
- (func $blocker
+ (func $blocker (; 16 ;)
(block $label$break$L
(br $label$break$L)
)
)
- (func $frem (result f64)
+ (func $frem (; 17 ;) (result f64)
(return
(call $f64-rem
(f64.const 5.5)
@@ -389,7 +389,7 @@
)
)
)
- (func $frem_float (result f32)
+ (func $frem_float (; 18 ;) (result f32)
(return
(f32.demote/f64
(call $f64-rem
@@ -403,7 +403,7 @@
)
)
)
- (func $i32u-div (param $0 i32) (param $1 i32) (result i32)
+ (func $i32u-div (; 19 ;) (param $0 i32) (param $1 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $1)
@@ -415,7 +415,7 @@
)
)
)
- (func $big_uint_div_u (result i32)
+ (func $big_uint_div_u (; 20 ;) (result i32)
(local $x i32)
(set_local $x
(i32.and
@@ -430,7 +430,7 @@
(get_local $x)
)
)
- (func $i32s-div (param $0 i32) (param $1 i32) (result i32)
+ (func $i32s-div (; 21 ;) (param $0 i32) (param $1 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $1)
@@ -455,7 +455,7 @@
)
)
)
- (func $trapping_sint_div_s (result i32)
+ (func $trapping_sint_div_s (; 22 ;) (result i32)
(local $x i32)
(set_local $x
(call $i32s-div
@@ -467,7 +467,7 @@
(get_local $x)
)
)
- (func $fr (param $x f32)
+ (func $fr (; 23 ;) (param $x f32)
(local $y f32)
(local $z f64)
(drop
@@ -491,12 +491,12 @@
(f32.const 0)
)
)
- (func $negZero (result f64)
+ (func $negZero (; 24 ;) (result f64)
(return
(f64.const -0)
)
)
- (func $abs
+ (func $abs (; 25 ;)
(local $x i32)
(local $y f64)
(local $z f32)
@@ -530,7 +530,7 @@
)
)
)
- (func $minmax
+ (func $minmax (; 26 ;)
(local $x f64)
(local $y f64)
(local $z f32)
@@ -560,7 +560,7 @@
)
)
)
- (func $neg
+ (func $neg (; 27 ;)
(local $x f32)
(set_local $x
(f32.neg
@@ -578,7 +578,7 @@
)
)
)
- (func $cneg (param $x f32)
+ (func $cneg (; 28 ;) (param $x f32)
(call_indirect $FUNCSIG$vf
(get_local $x)
(i32.add
@@ -590,7 +590,7 @@
)
)
)
- (func $___syscall_ret
+ (func $___syscall_ret (; 29 ;)
(local $$0 i32)
(drop
(i32.gt_u
@@ -599,7 +599,7 @@
)
)
)
- (func $smallCompare (param $i i32) (param $j i32) (result i32)
+ (func $smallCompare (; 30 ;) (param $i i32) (param $j i32) (result i32)
(if
(i32.lt_s
(get_local $i)
@@ -628,7 +628,7 @@
(get_local $i)
)
)
- (func $cneg_nosemicolon
+ (func $cneg_nosemicolon (; 31 ;)
(call_indirect $FUNCSIG$vi
(i32.const 1)
(i32.add
@@ -640,7 +640,7 @@
)
)
)
- (func $forLoop
+ (func $forLoop (; 32 ;)
(local $i i32)
(set_local $i
(i32.const 1)
@@ -669,7 +669,7 @@
)
)
)
- (func $ceiling_32_64 (param $u f32) (param $B f64)
+ (func $ceiling_32_64 (; 33 ;) (param $u f32) (param $B f64)
(local $temp f32)
(set_local $temp
(f32.demote/f64
@@ -689,7 +689,7 @@
)
)
)
- (func $aborts
+ (func $aborts (; 34 ;)
(drop
(call $abort
(f64.const 0)
@@ -720,7 +720,7 @@
)
)
)
- (func $continues
+ (func $continues (; 35 ;)
(loop $while-in
(block $while-out
(call $print
@@ -744,7 +744,7 @@
)
)
)
- (func $bitcasts (param $i i32) (param $f f32)
+ (func $bitcasts (; 36 ;) (param $i i32) (param $f f32)
(local $d f64)
(drop
(f32.reinterpret/i32
@@ -771,7 +771,7 @@
)
)
)
- (func $recursiveBlockMerging (param $x i32) (result i32)
+ (func $recursiveBlockMerging (; 37 ;) (param $x i32) (result i32)
(drop
(call $lb
(i32.add
@@ -916,7 +916,7 @@
(get_local $x)
)
)
- (func $lb (param $a i32) (result i32)
+ (func $lb (; 38 ;) (param $a i32) (result i32)
(i32.store
(get_local $a)
(i32.add
@@ -931,17 +931,17 @@
(i32.const 0)
)
)
- (func $forgetMe
+ (func $forgetMe (; 39 ;)
(drop
(f64.const 123.456)
)
)
- (func $exportMe
+ (func $exportMe (; 40 ;)
(drop
(f64.const -3.14159)
)
)
- (func $zeroInit (param $x i32)
+ (func $zeroInit (; 41 ;) (param $x i32)
(local $y i32)
(if
(call $lb
@@ -971,7 +971,7 @@
)
)
)
- (func $phi (result i32)
+ (func $phi (; 42 ;) (result i32)
(local $x i32)
(block $do-once
(block
@@ -995,7 +995,7 @@
(get_local $x)
)
)
- (func $smallIf
+ (func $smallIf (; 43 ;)
(block $do-once
(if
(call $return_int)
@@ -1009,7 +1009,7 @@
(nop)
)
)
- (func $dropCall (result i32)
+ (func $dropCall (; 44 ;) (result i32)
(if
(call $return_int)
(block
@@ -1032,7 +1032,7 @@
(call $phi)
)
)
- (func $useSetGlobal (result i32)
+ (func $useSetGlobal (; 45 ;) (result i32)
(local $x i32)
(set_local $x
(block (result i32)
@@ -1054,7 +1054,7 @@
)
)
)
- (func $usesSetGlobal2 (result i32)
+ (func $usesSetGlobal2 (; 46 ;) (result i32)
(return
(block (result i32)
(block
@@ -1069,7 +1069,7 @@
)
)
)
- (func $breakThroughMany (param $$s i32)
+ (func $breakThroughMany (; 47 ;) (param $$s i32)
(block $label$break$L1
(if
(get_local $$s)
@@ -1094,7 +1094,7 @@
(nop)
)
)
- (func $ifChainEmpty (param $label i32) (result i32)
+ (func $ifChainEmpty (; 48 ;) (param $label i32) (result i32)
(if
(i32.eq
(get_local $label)
@@ -1115,14 +1115,14 @@
(i32.const 0)
)
)
- (func $heap8NoShift (param $x i32) (result i32)
+ (func $heap8NoShift (; 49 ;) (param $x i32) (result i32)
(return
(i32.load8_s
(get_local $x)
)
)
)
- (func $conditionalTypeFun
+ (func $conditionalTypeFun (; 50 ;)
(local $x i32)
(local $y f64)
(set_local $x
@@ -1150,7 +1150,7 @@
)
)
)
- (func $loadSigned (param $x i32)
+ (func $loadSigned (; 51 ;) (param $x i32)
(call $loadSigned
(i32.shr_s
(i32.shl
@@ -1240,15 +1240,15 @@
)
)
)
- (func $z (param $x f32)
+ (func $z (; 52 ;) (param $x f32)
(nop)
)
- (func $w (result f64)
+ (func $w (; 53 ;) (result f64)
(return
(f64.const 0)
)
)
- (func $globalOpts
+ (func $globalOpts (; 54 ;)
(local $x i32)
(local $y f64)
(set_local $x
@@ -1291,7 +1291,7 @@
(get_local $x)
)
)
- (func $dropCallImport
+ (func $dropCallImport (; 55 ;)
(if
(call $return_int)
(drop
@@ -1299,7 +1299,7 @@
)
)
)
- (func $loophi (param $x i32) (param $y i32)
+ (func $loophi (; 56 ;) (param $x i32) (param $y i32)
(local $temp i32)
(local $inc i32)
(local $loopvar i32)
@@ -1342,7 +1342,7 @@
)
)
)
- (func $loophi2 (result i32)
+ (func $loophi2 (; 57 ;) (result i32)
(local $jnc i32)
(local $i i32)
(local $i$lcssa i32)
@@ -1396,7 +1396,7 @@
(get_local $i$lcssa)
)
)
- (func $loophi2b (result i32)
+ (func $loophi2b (; 58 ;) (result i32)
(local $jnc i32)
(local $i i32)
(local $i$lcssa i32)
@@ -1450,7 +1450,7 @@
(get_local $i$lcssa)
)
)
- (func $relooperJumpThreading (param $x i32) (result i32)
+ (func $relooperJumpThreading (; 59 ;) (param $x i32) (result i32)
(local $label i32)
(if
(get_local $x)
@@ -1689,7 +1689,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 (; 60 ;) (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
@@ -1742,7 +1742,7 @@
)
)
)
- (func $relooperJumpThreading_irreducible (param $x i32)
+ (func $relooperJumpThreading_irreducible (; 61 ;) (param $x i32)
(local $label i32)
(if
(i32.eq
@@ -1813,7 +1813,7 @@
)
)
)
- (func $__Z12multi_varargiz (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32)
+ (func $__Z12multi_varargiz (; 62 ;) (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32)
(local $$12 i32)
(local $$20 i32)
(if
@@ -1840,7 +1840,7 @@
)
)
)
- (func $jumpThreadDrop (result i32)
+ (func $jumpThreadDrop (; 63 ;) (result i32)
(local $label i32)
(local $temp i32)
(set_local $temp
@@ -1882,7 +1882,7 @@
(get_local $temp)
)
)
- (func $dropIgnoredImportInIf (param $$0 i32) (param $$1 i32) (param $$2 i32)
+ (func $dropIgnoredImportInIf (; 64 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32)
(block $do-once
(if
(get_local $$0)
@@ -1902,12 +1902,12 @@
)
(return)
)
- (func $big_fround (result f32)
+ (func $big_fround (; 65 ;) (result f32)
(return
(f32.const 4294967296)
)
)
- (func $dropIgnoredImportsInIf (param $$0 i32) (param $$1 i32) (param $$2 i32)
+ (func $dropIgnoredImportsInIf (; 66 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32)
(block $do-once
(if
(get_local $$0)
@@ -1926,21 +1926,21 @@
)
(return)
)
- (func $f32_ucast (param $x i32) (result f32)
+ (func $f32_ucast (; 67 ;) (param $x i32) (result f32)
(return
(f32.convert_u/i32
(get_local $x)
)
)
)
- (func $f32_scast (param $x i32) (result f32)
+ (func $f32_scast (; 68 ;) (param $x i32) (result f32)
(return
(f32.convert_s/i32
(get_local $x)
)
)
)
- (func $store_fround (param $x i32)
+ (func $store_fround (; 69 ;) (param $x i32)
(f64.store
(i32.const 80)
(f64.promote/f32
@@ -1950,7 +1950,7 @@
)
)
)
- (func $relocatableAndModules (result i32)
+ (func $relocatableAndModules (; 70 ;) (result i32)
(call_indirect $FUNCSIG$v
(i32.const 10)
)
@@ -1965,12 +1965,12 @@
)
)
)
- (func $exported_f32_user (param $x i32) (param $y f32) (param $z f64) (result f32)
+ (func $exported_f32_user (; 71 ;) (param $x i32) (param $y f32) (param $z f64) (result f32)
(return
(get_local $y)
)
)
- (func $sqrts (param $x f64) (result f64)
+ (func $sqrts (; 72 ;) (param $x f64) (result f64)
(return
(f64.add
(f64.sqrt
@@ -1986,21 +1986,21 @@
)
)
)
- (func $f2u (param $x f64) (result i32)
+ (func $f2u (; 73 ;) (param $x f64) (result i32)
(return
(call $f64-to-int
(get_local $x)
)
)
)
- (func $f2s (param $x f64) (result i32)
+ (func $f2s (; 74 ;) (param $x f64) (result i32)
(return
(call $f64-to-int
(get_local $x)
)
)
)
- (func $autoDrop (param $x i32) (result i32)
+ (func $autoDrop (; 75 ;) (param $x i32) (result i32)
(loop $while-in
(block $while-out
(if
@@ -2034,7 +2034,7 @@
(get_local $x)
)
)
- (func $indirectInSequence
+ (func $indirectInSequence (; 76 ;)
(local $i1 i32)
(set_local $i1
(block (result i32)
@@ -2052,7 +2052,7 @@
)
)
)
- (func $emterpretify_assertions_safeHeap
+ (func $emterpretify_assertions_safeHeap (; 77 ;)
(local $i1 i32)
(call_indirect $FUNCSIG$vi
(get_local $i1)
@@ -2070,7 +2070,7 @@
)
)
)
- (func $call_emscripten_log
+ (func $call_emscripten_log (; 78 ;)
(call $emscripten_log)
(if
(i32.const 2)
@@ -2086,7 +2086,7 @@
)
)
)
- (func $keepAlive
+ (func $keepAlive (; 79 ;)
(drop
(call $sqrts
(f64.const 3.14159)
@@ -2116,18 +2116,18 @@
(call $emterpretify_assertions_safeHeap)
(call $call_emscripten_log)
)
- (func $v
+ (func $v (; 80 ;)
(nop)
)
- (func $vi (param $x i32)
+ (func $vi (; 81 ;) (param $x i32)
(nop)
)
- (func $ii (param $x i32) (result i32)
+ (func $ii (; 82 ;) (param $x i32) (result i32)
(return
(get_local $x)
)
)
- (func $legalstub$conversions (param $0 i32) (param $1 f64) (param $2 f64)
+ (func $legalstub$conversions (; 83 ;) (param $0 i32) (param $1 f64) (param $2 f64)
(call $conversions
(get_local $0)
(get_local $1)
@@ -2136,19 +2136,19 @@
)
)
)
- (func $legalstub$frem_float (result f64)
+ (func $legalstub$frem_float (; 84 ;) (result f64)
(f64.promote/f32
(call $frem_float)
)
)
- (func $legalstub$fr (param $0 f64)
+ (func $legalstub$fr (; 85 ;) (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 (; 86 ;) (param $0 f64) (param $1 f64)
(call $ceiling_32_64
(f32.demote/f64
(get_local $0)
@@ -2156,7 +2156,7 @@
(get_local $1)
)
)
- (func $legalstub$bitcasts (param $0 i32) (param $1 f64)
+ (func $legalstub$bitcasts (; 87 ;) (param $0 i32) (param $1 f64)
(call $bitcasts
(get_local $0)
(f32.demote/f64
@@ -2164,7 +2164,7 @@
)
)
)
- (func $legalstub$exported_f32_user (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
+ (func $legalstub$exported_f32_user (; 88 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
(f64.promote/f32
(call $exported_f32_user
(get_local $0)