summaryrefslogtreecommitdiff
path: root/test/two_sides.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-08-17 19:13:42 -0700
committerGitHub <noreply@github.com>2020-08-17 19:13:42 -0700
commit77fe6ded258ce37bd3ea78fd43c8bc0ef639682b (patch)
treebe2c33aa32f9063cdf6d29a64d0f0084e883f8cf /test/two_sides.fromasm.imprecise
parentf5a8bfd25c83dc05d48cbc525c5e8ec2deb246b3 (diff)
downloadbinaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.tar.gz
binaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.tar.bz2
binaryen-77fe6ded258ce37bd3ea78fd43c8bc0ef639682b.zip
Remove asm2wasm (#3042)
Now that fastcomp has been removed from Emscripten, there is no need for the asm2wasm tool which it used to compile fastcomp's asm.js output to wasm. See emscripten-core/emscripten#11860
Diffstat (limited to 'test/two_sides.fromasm.imprecise')
-rw-r--r--test/two_sides.fromasm.imprecise56
1 files changed, 0 insertions, 56 deletions
diff --git a/test/two_sides.fromasm.imprecise b/test/two_sides.fromasm.imprecise
deleted file mode 100644
index 60923fdfd..000000000
--- a/test/two_sides.fromasm.imprecise
+++ /dev/null
@@ -1,56 +0,0 @@
-(module
- (type $i32_i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32 i32) (result i32)))
- (export "_test" (func $_test))
- (func $_test (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32)
- (local $5 f64)
- (if (result i32)
- (local.get $4)
- (i32.trunc_f64_s
- (f64.mul
- (f64.add
- (f64.convert_i32_s
- (local.get $2)
- )
- (local.tee $5
- (f64.convert_i32_s
- (i32.mul
- (local.get $0)
- (local.get $1)
- )
- )
- )
- )
- (f64.add
- (local.get $5)
- (f64.convert_i32_s
- (local.get $3)
- )
- )
- )
- )
- (i32.trunc_f64_s
- (f64.mul
- (f64.add
- (f64.convert_i32_s
- (local.get $2)
- )
- (local.tee $5
- (f64.convert_i32_s
- (i32.mul
- (local.get $2)
- (local.get $3)
- )
- )
- )
- )
- (f64.add
- (f64.convert_i32_s
- (local.get $3)
- )
- (local.get $5)
- )
- )
- )
- )
- )
-)