diff options
Diffstat (limited to 'test/two_sides.fromasm.no-opts')
-rw-r--r-- | test/two_sides.fromasm.no-opts | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/test/two_sides.fromasm.no-opts b/test/two_sides.fromasm.no-opts deleted file mode 100644 index e9724a999..000000000 --- a/test/two_sides.fromasm.no-opts +++ /dev/null @@ -1,89 +0,0 @@ -(module - (type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32))) - (type $f64_=>_i32 (func (param f64) (result i32))) - (import "env" "memory" (memory $memory 256 256)) - (import "env" "table" (table $table 0 0 funcref)) - (import "env" "__memory_base" (global $__memory_base i32)) - (import "env" "__table_base" (global $__table_base i32)) - (import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32))) - (export "_test" (func $_test)) - (func $_test (param $i1 i32) (param $i2 i32) (param $i3 i32) (param $i4 i32) (param $i5 i32) (result i32) - (local $d6 f64) - (if - (i32.eqz - (local.get $i5) - ) - (block - (local.set $d6 - (f64.convert_i32_s - (i32.mul - (local.get $i4) - (local.get $i3) - ) - ) - ) - (local.set $d6 - (f64.mul - (f64.add - (f64.convert_i32_s - (local.get $i3) - ) - (local.get $d6) - ) - (f64.add - (f64.convert_i32_s - (local.get $i4) - ) - (local.get $d6) - ) - ) - ) - (local.set $i5 - (call $f64-to-int - (local.get $d6) - ) - ) - (return - (local.get $i5) - ) - ) - (block - (local.set $d6 - (f64.convert_i32_s - (i32.mul - (local.get $i2) - (local.get $i1) - ) - ) - ) - (local.set $d6 - (f64.mul - (f64.add - (f64.convert_i32_s - (local.get $i3) - ) - (local.get $d6) - ) - (f64.add - (local.get $d6) - (f64.convert_i32_s - (local.get $i4) - ) - ) - ) - ) - (local.set $i5 - (call $f64-to-int - (local.get $d6) - ) - ) - (return - (local.get $i5) - ) - ) - ) - (return - (i32.const 0) - ) - ) -) |