summaryrefslogtreecommitdiff
path: root/test/min.fromasm.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-03-09 13:32:03 -0800
committerGitHub <noreply@github.com>2017-03-09 13:32:03 -0800
commitbe4be557567251a73f40bfd7a48220b33f5ddc58 (patch)
treed4aa0a25a1c7331b56404c76eea1a6cfa971c44e /test/min.fromasm.no-opts
parentd6508e1f9cef33c43016e4da7dd4b94392f280a9 (diff)
downloadbinaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.tar.gz
binaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.tar.bz2
binaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.zip
use a single space for pretty printing of wasts, so massive wasts are less unruly (#928)
Diffstat (limited to 'test/min.fromasm.no-opts')
-rw-r--r--test/min.fromasm.no-opts176
1 files changed, 88 insertions, 88 deletions
diff --git a/test/min.fromasm.no-opts b/test/min.fromasm.no-opts
index 6e8a1c9ea..3f017a73e 100644
--- a/test/min.fromasm.no-opts
+++ b/test/min.fromasm.no-opts
@@ -1,101 +1,101 @@
(module
- (import "env" "tempDoublePtr" (global $tDP$asm2wasm$import i32))
- (import "env" "memory" (memory $0 256 256))
- (import "env" "table" (table 0 0 anyfunc))
- (import "env" "memoryBase" (global $memoryBase i32))
- (import "env" "tableBase" (global $tableBase i32))
- (global $tDP (mut i32) (get_global $tDP$asm2wasm$import))
- (global $M (mut i32) (i32.const 0))
- (export "floats" (func $legalstub$floats))
- (export "getTempRet0" (func $ub))
- (export "neg" (func $legalstub$neg))
- (export "bitcasts" (func $legalstub$bitcasts))
- (export "ctzzzz" (func $ctzzzz))
- (func $floats (param $f f32) (result f32)
- (local $t f32)
- (return
- (f32.add
- (get_local $t)
- (get_local $f)
- )
- )
+ (import "env" "tempDoublePtr" (global $tDP$asm2wasm$import i32))
+ (import "env" "memory" (memory $0 256 256))
+ (import "env" "table" (table 0 0 anyfunc))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (global $tDP (mut i32) (get_global $tDP$asm2wasm$import))
+ (global $M (mut i32) (i32.const 0))
+ (export "floats" (func $legalstub$floats))
+ (export "getTempRet0" (func $ub))
+ (export "neg" (func $legalstub$neg))
+ (export "bitcasts" (func $legalstub$bitcasts))
+ (export "ctzzzz" (func $ctzzzz))
+ (func $floats (param $f f32) (result f32)
+ (local $t f32)
+ (return
+ (f32.add
+ (get_local $t)
+ (get_local $f)
+ )
)
- (func $neg (param $k i32) (param $p i32) (result f32)
- (local $n f32)
- (set_local $n
- (f32.neg
- (block f32
- (i32.store
- (get_local $k)
- (get_local $p)
- )
- (f32.load
- (get_local $k)
- )
- )
- )
- )
- (return
- (get_local $n)
+ )
+ (func $neg (param $k i32) (param $p i32) (result f32)
+ (local $n f32)
+ (set_local $n
+ (f32.neg
+ (block f32
+ (i32.store
+ (get_local $k)
+ (get_local $p)
+ )
+ (f32.load
+ (get_local $k)
+ )
)
+ )
)
- (func $bitcasts (param $i i32) (param $f f32)
- (drop
- (f32.reinterpret/i32
- (get_local $i)
- )
- )
- (drop
- (f64.promote/f32
- (f32.reinterpret/i32
- (get_local $i)
- )
- )
- )
- (drop
- (i32.reinterpret/f32
- (get_local $f)
- )
- )
+ (return
+ (get_local $n)
)
- (func $ctzzzz (result i32)
- (return
- (i32.ctz
- (i32.const 4660)
- )
- )
+ )
+ (func $bitcasts (param $i i32) (param $f f32)
+ (drop
+ (f32.reinterpret/i32
+ (get_local $i)
+ )
)
- (func $ub (result i32)
- (drop
- (call $ub)
- )
- (return
- (get_global $M)
+ (drop
+ (f64.promote/f32
+ (f32.reinterpret/i32
+ (get_local $i)
)
+ )
)
- (func $legalstub$floats (param $0 f64) (result f64)
- (f64.promote/f32
- (call $floats
- (f32.demote/f64
- (get_local $0)
- )
- )
- )
+ (drop
+ (i32.reinterpret/f32
+ (get_local $f)
+ )
)
- (func $legalstub$neg (param $0 i32) (param $1 i32) (result f64)
- (f64.promote/f32
- (call $neg
- (get_local $0)
- (get_local $1)
- )
- )
+ )
+ (func $ctzzzz (result i32)
+ (return
+ (i32.ctz
+ (i32.const 4660)
+ )
+ )
+ )
+ (func $ub (result i32)
+ (drop
+ (call $ub)
)
- (func $legalstub$bitcasts (param $0 i32) (param $1 f64)
- (call $bitcasts
- (get_local $0)
- (f32.demote/f64
- (get_local $1)
- )
+ (return
+ (get_global $M)
+ )
+ )
+ (func $legalstub$floats (param $0 f64) (result f64)
+ (f64.promote/f32
+ (call $floats
+ (f32.demote/f64
+ (get_local $0)
)
+ )
+ )
+ )
+ (func $legalstub$neg (param $0 i32) (param $1 i32) (result f64)
+ (f64.promote/f32
+ (call $neg
+ (get_local $0)
+ (get_local $1)
+ )
+ )
+ )
+ (func $legalstub$bitcasts (param $0 i32) (param $1 f64)
+ (call $bitcasts
+ (get_local $0)
+ (f32.demote/f64
+ (get_local $1)
+ )
)
+ )
)