summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-10-14 17:27:08 -0700
committerGitHub <noreply@github.com>2016-10-14 17:27:08 -0700
commit16b9087e17effc544d82a69b93de17d8f8c979e2 (patch)
treebbe8ecd3cafa9c69c5750bba5414845f9146f25a /test/emcc_hello_world.fromasm.imprecise
parent58f7d6cd477701d7fb4c87ffa9e795ddc6423abb (diff)
parent5881b541a4b276dcd5576aa065e4fb860531fc7b (diff)
downloadbinaryen-16b9087e17effc544d82a69b93de17d8f8c979e2.tar.gz
binaryen-16b9087e17effc544d82a69b93de17d8f8c979e2.tar.bz2
binaryen-16b9087e17effc544d82a69b93de17d8f8c979e2.zip
Merge pull request #778 from WebAssembly/passe
Add remove-unused-functions to default passes
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise561
1 files changed, 0 insertions, 561 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 73176446f..931831ccc 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -150,82 +150,6 @@
)
)
)
- (func $copyTempFloat (param $0 i32)
- (i32.store8
- (get_global $tempDoublePtr)
- (i32.load8_s
- (get_local $0)
- )
- )
- (i32.store8 offset=1
- (get_global $tempDoublePtr)
- (i32.load8_s offset=1
- (get_local $0)
- )
- )
- (i32.store8 offset=2
- (get_global $tempDoublePtr)
- (i32.load8_s offset=2
- (get_local $0)
- )
- )
- (i32.store8 offset=3
- (get_global $tempDoublePtr)
- (i32.load8_s offset=3
- (get_local $0)
- )
- )
- )
- (func $copyTempDouble (param $0 i32)
- (i32.store8
- (get_global $tempDoublePtr)
- (i32.load8_s
- (get_local $0)
- )
- )
- (i32.store8 offset=1
- (get_global $tempDoublePtr)
- (i32.load8_s offset=1
- (get_local $0)
- )
- )
- (i32.store8 offset=2
- (get_global $tempDoublePtr)
- (i32.load8_s offset=2
- (get_local $0)
- )
- )
- (i32.store8 offset=3
- (get_global $tempDoublePtr)
- (i32.load8_s offset=3
- (get_local $0)
- )
- )
- (i32.store8 offset=4
- (get_global $tempDoublePtr)
- (i32.load8_s offset=4
- (get_local $0)
- )
- )
- (i32.store8 offset=5
- (get_global $tempDoublePtr)
- (i32.load8_s offset=5
- (get_local $0)
- )
- )
- (i32.store8 offset=6
- (get_global $tempDoublePtr)
- (i32.load8_s offset=6
- (get_local $0)
- )
- )
- (i32.store8 offset=7
- (get_global $tempDoublePtr)
- (i32.load8_s offset=7
- (get_local $0)
- )
- )
- )
(func $setTempRet0 (param $0 i32)
(set_global $tempRet0
(get_local $0)
@@ -16065,491 +15989,6 @@
)
(get_local $3)
)
- (func $_bitshift64Ashr (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
- (if
- (i32.lt_s
- (get_local $2)
- (i32.const 32)
- )
- (block
- (set_global $tempRet0
- (i32.shr_s
- (get_local $1)
- (get_local $2)
- )
- )
- (return
- (i32.or
- (i32.shr_u
- (get_local $0)
- (get_local $2)
- )
- (i32.shl
- (i32.and
- (get_local $1)
- (i32.sub
- (i32.shl
- (i32.const 1)
- (get_local $2)
- )
- (i32.const 1)
- )
- )
- (i32.sub
- (i32.const 32)
- (get_local $2)
- )
- )
- )
- )
- )
- )
- (set_global $tempRet0
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- )
- (i32.shr_s
- (get_local $1)
- (i32.sub
- (get_local $2)
- (i32.const 32)
- )
- )
- )
- (func $___muldsi3 (param $0 i32) (param $1 i32) (result i32)
- (local $2 i32)
- (local $3 i32)
- (local $4 i32)
- (set_local $2
- (i32.add
- (i32.shr_u
- (tee_local $4
- (i32.mul
- (tee_local $2
- (i32.and
- (get_local $1)
- (i32.const 65535)
- )
- )
- (tee_local $3
- (i32.and
- (get_local $0)
- (i32.const 65535)
- )
- )
- )
- )
- (i32.const 16)
- )
- (i32.mul
- (get_local $2)
- (tee_local $0
- (i32.shr_u
- (get_local $0)
- (i32.const 16)
- )
- )
- )
- )
- )
- (set_local $3
- (i32.mul
- (tee_local $1
- (i32.shr_u
- (get_local $1)
- (i32.const 16)
- )
- )
- (get_local $3)
- )
- )
- (set_global $tempRet0
- (i32.add
- (i32.add
- (i32.shr_u
- (get_local $2)
- (i32.const 16)
- )
- (i32.mul
- (get_local $1)
- (get_local $0)
- )
- )
- (i32.shr_u
- (i32.add
- (i32.and
- (get_local $2)
- (i32.const 65535)
- )
- (get_local $3)
- )
- (i32.const 16)
- )
- )
- )
- (i32.or
- (i32.const 0)
- (i32.or
- (i32.shl
- (i32.add
- (get_local $2)
- (get_local $3)
- )
- (i32.const 16)
- )
- (i32.and
- (get_local $4)
- (i32.const 65535)
- )
- )
- )
- )
- (func $___divdi3 (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
- (local $4 i32)
- (local $5 i32)
- (local $6 i32)
- (set_local $6
- (call $_i64Subtract
- (i32.xor
- (tee_local $4
- (i32.or
- (i32.shr_s
- (get_local $1)
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $0)
- )
- (i32.xor
- (tee_local $0
- (i32.or
- (i32.shr_s
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $1)
- )
- (get_local $4)
- (get_local $0)
- )
- )
- (set_local $5
- (i32.xor
- (tee_local $1
- (i32.or
- (i32.shr_s
- (get_local $3)
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $4)
- )
- )
- (set_local $0
- (i32.xor
- (tee_local $4
- (i32.or
- (i32.shr_s
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $0)
- )
- )
- (call $_i64Subtract
- (i32.xor
- (call $___udivmoddi4
- (get_local $6)
- (get_global $tempRet0)
- (call $_i64Subtract
- (i32.xor
- (get_local $1)
- (get_local $2)
- )
- (i32.xor
- (get_local $4)
- (get_local $3)
- )
- (get_local $1)
- (get_local $4)
- )
- (get_global $tempRet0)
- (i32.const 0)
- )
- (get_local $5)
- )
- (i32.xor
- (get_global $tempRet0)
- (get_local $0)
- )
- (get_local $5)
- (get_local $0)
- )
- )
- (func $___remdi3 (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
- (local $4 i32)
- (local $5 i32)
- (local $6 i32)
- (set_local $6
- (get_global $STACKTOP)
- )
- (set_global $STACKTOP
- (i32.add
- (get_global $STACKTOP)
- (i32.const 16)
- )
- )
- (drop
- (call $___udivmoddi4
- (call $_i64Subtract
- (i32.xor
- (tee_local $4
- (i32.or
- (i32.shr_s
- (get_local $1)
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $0)
- )
- (i32.xor
- (tee_local $5
- (i32.or
- (i32.shr_s
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $1)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $1)
- )
- (get_local $4)
- (get_local $5)
- )
- (get_global $tempRet0)
- (call $_i64Subtract
- (i32.xor
- (tee_local $0
- (i32.or
- (i32.shr_s
- (get_local $3)
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $2)
- )
- (i32.xor
- (tee_local $1
- (i32.or
- (i32.shr_s
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 31)
- )
- (i32.shl
- (select
- (i32.const -1)
- (i32.const 0)
- (i32.lt_s
- (get_local $3)
- (i32.const 0)
- )
- )
- (i32.const 1)
- )
- )
- )
- (get_local $3)
- )
- (get_local $0)
- (get_local $1)
- )
- (get_global $tempRet0)
- (tee_local $0
- (get_local $6)
- )
- )
- )
- (set_local $0
- (call $_i64Subtract
- (i32.xor
- (i32.load
- (get_local $0)
- )
- (get_local $4)
- )
- (i32.xor
- (i32.load offset=4
- (get_local $0)
- )
- (get_local $5)
- )
- (get_local $4)
- (get_local $5)
- )
- )
- (set_global $STACKTOP
- (get_local $6)
- )
- (get_local $0)
- )
- (func $___muldi3 (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
- (local $4 i32)
- (set_local $4
- (call $___muldsi3
- (get_local $0)
- (get_local $2)
- )
- )
- (set_global $tempRet0
- (i32.or
- (i32.add
- (i32.add
- (i32.mul
- (get_local $3)
- (get_local $0)
- )
- (i32.mul
- (get_local $1)
- (get_local $2)
- )
- )
- (tee_local $0
- (get_global $tempRet0)
- )
- )
- (i32.and
- (get_local $0)
- (i32.const 0)
- )
- )
- )
- (i32.or
- (i32.const 0)
- (i32.and
- (get_local $4)
- (i32.const -1)
- )
- )
- )
(func $___udivdi3 (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(call $___udivmoddi4
(get_local $0)