summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.clamp.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.clamp.no-opts')
-rw-r--r--test/unit.fromasm.clamp.no-opts168
1 files changed, 84 insertions, 84 deletions
diff --git a/test/unit.fromasm.clamp.no-opts b/test/unit.fromasm.clamp.no-opts
index 6342644e8..ad698921e 100644
--- a/test/unit.fromasm.clamp.no-opts
+++ b/test/unit.fromasm.clamp.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 $f64-to-int (param $0 f64) (result i32)
+ (func $f64-to-int (; 12 ;) (param $0 f64) (result i32)
(if (result i32)
(f64.ne
(get_local $0)
@@ -235,7 +235,7 @@
)
)
)
- (func $f32-to-int (param $0 f32) (result i32)
+ (func $f32-to-int (; 13 ;) (param $0 f32) (result i32)
(if (result i32)
(f32.ne
(get_local $0)
@@ -261,7 +261,7 @@
)
)
)
- (func $conversions (param $i i32) (param $d f64) (param $f f32)
+ (func $conversions (; 14 ;) (param $i i32) (param $d f64) (param $f f32)
(set_local $i
(call $f64-to-int
(get_local $d)
@@ -283,7 +283,7 @@
)
)
)
- (func $seq
+ (func $seq (; 15 ;)
(local $J f64)
(set_local $J
(f64.sub
@@ -302,7 +302,7 @@
)
)
)
- (func $switcher (param $x i32) (result i32)
+ (func $switcher (; 16 ;) (param $x i32) (result i32)
(local $waka i32)
(block $switch
(block $switch-case0
@@ -424,12 +424,12 @@
(i32.const 0)
)
)
- (func $blocker
+ (func $blocker (; 17 ;)
(block $label$break$L
(br $label$break$L)
)
)
- (func $frem (result f64)
+ (func $frem (; 18 ;) (result f64)
(return
(call $f64-rem
(f64.const 5.5)
@@ -437,7 +437,7 @@
)
)
)
- (func $frem_float (result f32)
+ (func $frem_float (; 19 ;) (result f32)
(return
(f32.demote/f64
(call $f64-rem
@@ -451,7 +451,7 @@
)
)
)
- (func $i32u-div (param $0 i32) (param $1 i32) (result i32)
+ (func $i32u-div (; 20 ;) (param $0 i32) (param $1 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $1)
@@ -463,7 +463,7 @@
)
)
)
- (func $big_uint_div_u (result i32)
+ (func $big_uint_div_u (; 21 ;) (result i32)
(local $x i32)
(set_local $x
(i32.and
@@ -478,7 +478,7 @@
(get_local $x)
)
)
- (func $i32s-div (param $0 i32) (param $1 i32) (result i32)
+ (func $i32s-div (; 22 ;) (param $0 i32) (param $1 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $1)
@@ -503,7 +503,7 @@
)
)
)
- (func $trapping_sint_div_s (result i32)
+ (func $trapping_sint_div_s (; 23 ;) (result i32)
(local $x i32)
(set_local $x
(call $i32s-div
@@ -515,7 +515,7 @@
(get_local $x)
)
)
- (func $fr (param $x f32)
+ (func $fr (; 24 ;) (param $x f32)
(local $y f32)
(local $z f64)
(drop
@@ -539,12 +539,12 @@
(f32.const 0)
)
)
- (func $negZero (result f64)
+ (func $negZero (; 25 ;) (result f64)
(return
(f64.const -0)
)
)
- (func $abs
+ (func $abs (; 26 ;)
(local $x i32)
(local $y f64)
(local $z f32)
@@ -578,7 +578,7 @@
)
)
)
- (func $minmax
+ (func $minmax (; 27 ;)
(local $x f64)
(local $y f64)
(local $z f32)
@@ -608,7 +608,7 @@
)
)
)
- (func $neg
+ (func $neg (; 28 ;)
(local $x f32)
(set_local $x
(f32.neg
@@ -626,7 +626,7 @@
)
)
)
- (func $cneg (param $x f32)
+ (func $cneg (; 29 ;) (param $x f32)
(call_indirect $FUNCSIG$vf
(get_local $x)
(i32.add
@@ -638,7 +638,7 @@
)
)
)
- (func $___syscall_ret
+ (func $___syscall_ret (; 30 ;)
(local $$0 i32)
(drop
(i32.gt_u
@@ -647,7 +647,7 @@
)
)
)
- (func $smallCompare (param $i i32) (param $j i32) (result i32)
+ (func $smallCompare (; 31 ;) (param $i i32) (param $j i32) (result i32)
(if
(i32.lt_s
(get_local $i)
@@ -676,7 +676,7 @@
(get_local $i)
)
)
- (func $cneg_nosemicolon
+ (func $cneg_nosemicolon (; 32 ;)
(call_indirect $FUNCSIG$vi
(i32.const 1)
(i32.add
@@ -688,7 +688,7 @@
)
)
)
- (func $forLoop
+ (func $forLoop (; 33 ;)
(local $i i32)
(set_local $i
(i32.const 1)
@@ -717,7 +717,7 @@
)
)
)
- (func $ceiling_32_64 (param $u f32) (param $B f64)
+ (func $ceiling_32_64 (; 34 ;) (param $u f32) (param $B f64)
(local $temp f32)
(set_local $temp
(f32.demote/f64
@@ -737,7 +737,7 @@
)
)
)
- (func $aborts
+ (func $aborts (; 35 ;)
(drop
(call $abort
(f64.const 0)
@@ -768,7 +768,7 @@
)
)
)
- (func $continues
+ (func $continues (; 36 ;)
(loop $while-in
(block $while-out
(call $print
@@ -792,7 +792,7 @@
)
)
)
- (func $bitcasts (param $i i32) (param $f f32)
+ (func $bitcasts (; 37 ;) (param $i i32) (param $f f32)
(local $d f64)
(drop
(f32.reinterpret/i32
@@ -819,7 +819,7 @@
)
)
)
- (func $recursiveBlockMerging (param $x i32) (result i32)
+ (func $recursiveBlockMerging (; 38 ;) (param $x i32) (result i32)
(drop
(call $lb
(i32.add
@@ -964,7 +964,7 @@
(get_local $x)
)
)
- (func $lb (param $a i32) (result i32)
+ (func $lb (; 39 ;) (param $a i32) (result i32)
(i32.store
(get_local $a)
(i32.add
@@ -979,17 +979,17 @@
(i32.const 0)
)
)
- (func $forgetMe
+ (func $forgetMe (; 40 ;)
(drop
(f64.const 123.456)
)
)
- (func $exportMe
+ (func $exportMe (; 41 ;)
(drop
(f64.const -3.14159)
)
)
- (func $zeroInit (param $x i32)
+ (func $zeroInit (; 42 ;) (param $x i32)
(local $y i32)
(if
(call $lb
@@ -1019,7 +1019,7 @@
)
)
)
- (func $phi (result i32)
+ (func $phi (; 43 ;) (result i32)
(local $x i32)
(block $do-once
(block
@@ -1043,7 +1043,7 @@
(get_local $x)
)
)
- (func $smallIf
+ (func $smallIf (; 44 ;)
(block $do-once
(if
(call $return_int)
@@ -1057,7 +1057,7 @@
(nop)
)
)
- (func $dropCall (result i32)
+ (func $dropCall (; 45 ;) (result i32)
(if
(call $return_int)
(block
@@ -1080,7 +1080,7 @@
(call $phi)
)
)
- (func $useSetGlobal (result i32)
+ (func $useSetGlobal (; 46 ;) (result i32)
(local $x i32)
(set_local $x
(block (result i32)
@@ -1102,7 +1102,7 @@
)
)
)
- (func $usesSetGlobal2 (result i32)
+ (func $usesSetGlobal2 (; 47 ;) (result i32)
(return
(block (result i32)
(block
@@ -1117,7 +1117,7 @@
)
)
)
- (func $breakThroughMany (param $$s i32)
+ (func $breakThroughMany (; 48 ;) (param $$s i32)
(block $label$break$L1
(if
(get_local $$s)
@@ -1142,7 +1142,7 @@
(nop)
)
)
- (func $ifChainEmpty (param $label i32) (result i32)
+ (func $ifChainEmpty (; 49 ;) (param $label i32) (result i32)
(if
(i32.eq
(get_local $label)
@@ -1163,14 +1163,14 @@
(i32.const 0)
)
)
- (func $heap8NoShift (param $x i32) (result i32)
+ (func $heap8NoShift (; 50 ;) (param $x i32) (result i32)
(return
(i32.load8_s
(get_local $x)
)
)
)
- (func $conditionalTypeFun
+ (func $conditionalTypeFun (; 51 ;)
(local $x i32)
(local $y f64)
(set_local $x
@@ -1198,7 +1198,7 @@
)
)
)
- (func $loadSigned (param $x i32)
+ (func $loadSigned (; 52 ;) (param $x i32)
(call $loadSigned
(i32.shr_s
(i32.shl
@@ -1288,15 +1288,15 @@
)
)
)
- (func $z (param $x f32)
+ (func $z (; 53 ;) (param $x f32)
(nop)
)
- (func $w (result f64)
+ (func $w (; 54 ;) (result f64)
(return
(f64.const 0)
)
)
- (func $globalOpts
+ (func $globalOpts (; 55 ;)
(local $x i32)
(local $y f64)
(set_local $x
@@ -1339,7 +1339,7 @@
(get_local $x)
)
)
- (func $dropCallImport
+ (func $dropCallImport (; 56 ;)
(if
(call $return_int)
(drop
@@ -1347,7 +1347,7 @@
)
)
)
- (func $loophi (param $x i32) (param $y i32)
+ (func $loophi (; 57 ;) (param $x i32) (param $y i32)
(local $temp i32)
(local $inc i32)
(local $loopvar i32)
@@ -1390,7 +1390,7 @@
)
)
)
- (func $loophi2 (result i32)
+ (func $loophi2 (; 58 ;) (result i32)
(local $jnc i32)
(local $i i32)
(local $i$lcssa i32)
@@ -1444,7 +1444,7 @@
(get_local $i$lcssa)
)
)
- (func $loophi2b (result i32)
+ (func $loophi2b (; 59 ;) (result i32)
(local $jnc i32)
(local $i i32)
(local $i$lcssa i32)
@@ -1498,7 +1498,7 @@
(get_local $i$lcssa)
)
)
- (func $relooperJumpThreading (param $x i32) (result i32)
+ (func $relooperJumpThreading (; 60 ;) (param $x i32) (result i32)
(local $label i32)
(if
(get_local $x)
@@ -1737,7 +1737,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 (; 61 ;) (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
@@ -1790,7 +1790,7 @@
)
)
)
- (func $relooperJumpThreading_irreducible (param $x i32)
+ (func $relooperJumpThreading_irreducible (; 62 ;) (param $x i32)
(local $label i32)
(if
(i32.eq
@@ -1861,7 +1861,7 @@
)
)
)
- (func $__Z12multi_varargiz (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32)
+ (func $__Z12multi_varargiz (; 63 ;) (param $$0 i32) (param $$$06$i4 i32) (param $$exitcond$i6 i32) (param $$2 i32)
(local $$12 i32)
(local $$20 i32)
(if
@@ -1888,7 +1888,7 @@
)
)
)
- (func $jumpThreadDrop (result i32)
+ (func $jumpThreadDrop (; 64 ;) (result i32)
(local $label i32)
(local $temp i32)
(set_local $temp
@@ -1930,7 +1930,7 @@
(get_local $temp)
)
)
- (func $dropIgnoredImportInIf (param $$0 i32) (param $$1 i32) (param $$2 i32)
+ (func $dropIgnoredImportInIf (; 65 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32)
(block $do-once
(if
(get_local $$0)
@@ -1950,12 +1950,12 @@
)
(return)
)
- (func $big_fround (result f32)
+ (func $big_fround (; 66 ;) (result f32)
(return
(f32.const 4294967296)
)
)
- (func $dropIgnoredImportsInIf (param $$0 i32) (param $$1 i32) (param $$2 i32)
+ (func $dropIgnoredImportsInIf (; 67 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32)
(block $do-once
(if
(get_local $$0)
@@ -1974,21 +1974,21 @@
)
(return)
)
- (func $f32_ucast (param $x i32) (result f32)
+ (func $f32_ucast (; 68 ;) (param $x i32) (result f32)
(return
(f32.convert_u/i32
(get_local $x)
)
)
)
- (func $f32_scast (param $x i32) (result f32)
+ (func $f32_scast (; 69 ;) (param $x i32) (result f32)
(return
(f32.convert_s/i32
(get_local $x)
)
)
)
- (func $store_fround (param $x i32)
+ (func $store_fround (; 70 ;) (param $x i32)
(f64.store
(i32.const 80)
(f64.promote/f32
@@ -1998,7 +1998,7 @@
)
)
)
- (func $relocatableAndModules (result i32)
+ (func $relocatableAndModules (; 71 ;) (result i32)
(call_indirect $FUNCSIG$v
(i32.const 10)
)
@@ -2013,12 +2013,12 @@
)
)
)
- (func $exported_f32_user (param $x i32) (param $y f32) (param $z f64) (result f32)
+ (func $exported_f32_user (; 72 ;) (param $x i32) (param $y f32) (param $z f64) (result f32)
(return
(get_local $y)
)
)
- (func $sqrts (param $x f64) (result f64)
+ (func $sqrts (; 73 ;) (param $x f64) (result f64)
(return
(f64.add
(f64.sqrt
@@ -2034,7 +2034,7 @@
)
)
)
- (func $f64-to-uint (param $0 f64) (result i32)
+ (func $f64-to-uint (; 74 ;) (param $0 f64) (result i32)
(if (result i32)
(f64.ne
(get_local $0)
@@ -2060,21 +2060,21 @@
)
)
)
- (func $f2u (param $x f64) (result i32)
+ (func $f2u (; 75 ;) (param $x f64) (result i32)
(return
(call $f64-to-uint
(get_local $x)
)
)
)
- (func $f2s (param $x f64) (result i32)
+ (func $f2s (; 76 ;) (param $x f64) (result i32)
(return
(call $f64-to-int
(get_local $x)
)
)
)
- (func $autoDrop (param $x i32) (result i32)
+ (func $autoDrop (; 77 ;) (param $x i32) (result i32)
(loop $while-in
(block $while-out
(if
@@ -2108,7 +2108,7 @@
(get_local $x)
)
)
- (func $indirectInSequence
+ (func $indirectInSequence (; 78 ;)
(local $i1 i32)
(set_local $i1
(block (result i32)
@@ -2126,7 +2126,7 @@
)
)
)
- (func $emterpretify_assertions_safeHeap
+ (func $emterpretify_assertions_safeHeap (; 79 ;)
(local $i1 i32)
(call_indirect $FUNCSIG$vi
(get_local $i1)
@@ -2144,7 +2144,7 @@
)
)
)
- (func $call_emscripten_log
+ (func $call_emscripten_log (; 80 ;)
(call $emscripten_log)
(if
(i32.const 2)
@@ -2160,7 +2160,7 @@
)
)
)
- (func $keepAlive
+ (func $keepAlive (; 81 ;)
(drop
(call $sqrts
(f64.const 3.14159)
@@ -2190,18 +2190,18 @@
(call $emterpretify_assertions_safeHeap)
(call $call_emscripten_log)
)
- (func $v
+ (func $v (; 82 ;)
(nop)
)
- (func $vi (param $x i32)
+ (func $vi (; 83 ;) (param $x i32)
(nop)
)
- (func $ii (param $x i32) (result i32)
+ (func $ii (; 84 ;) (param $x i32) (result i32)
(return
(get_local $x)
)
)
- (func $legalstub$conversions (param $0 i32) (param $1 f64) (param $2 f64)
+ (func $legalstub$conversions (; 85 ;) (param $0 i32) (param $1 f64) (param $2 f64)
(call $conversions
(get_local $0)
(get_local $1)
@@ -2210,19 +2210,19 @@
)
)
)
- (func $legalstub$frem_float (result f64)
+ (func $legalstub$frem_float (; 86 ;) (result f64)
(f64.promote/f32
(call $frem_float)
)
)
- (func $legalstub$fr (param $0 f64)
+ (func $legalstub$fr (; 87 ;) (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 (; 88 ;) (param $0 f64) (param $1 f64)
(call $ceiling_32_64
(f32.demote/f64
(get_local $0)
@@ -2230,7 +2230,7 @@
(get_local $1)
)
)
- (func $legalstub$bitcasts (param $0 i32) (param $1 f64)
+ (func $legalstub$bitcasts (; 89 ;) (param $0 i32) (param $1 f64)
(call $bitcasts
(get_local $0)
(f32.demote/f64
@@ -2238,7 +2238,7 @@
)
)
)
- (func $legalstub$exported_f32_user (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
+ (func $legalstub$exported_f32_user (; 90 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
(f64.promote/f32
(call $exported_f32_user
(get_local $0)