summaryrefslogtreecommitdiff
path: root/test/binaryen.js/sieve.js.txt
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2020-06-22 22:15:53 +0300
committerGitHub <noreply@github.com>2020-06-22 12:15:53 -0700
commita3acdae356fc53eecdb52338d9bdd82310afa8a7 (patch)
treed87618ce2b20b5be1042f576a341a4dda570ad03 /test/binaryen.js/sieve.js.txt
parent721f15831ca547de98992f9ce6158d822b94d167 (diff)
downloadbinaryen-a3acdae356fc53eecdb52338d9bdd82310afa8a7.tar.gz
binaryen-a3acdae356fc53eecdb52338d9bdd82310afa8a7.tar.bz2
binaryen-a3acdae356fc53eecdb52338d9bdd82310afa8a7.zip
More optimizations for pow of two and pos/neg one const on the right (#2870)
Diffstat (limited to 'test/binaryen.js/sieve.js.txt')
-rw-r--r--test/binaryen.js/sieve.js.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/binaryen.js/sieve.js.txt b/test/binaryen.js/sieve.js.txt
index 7a4223cd8..1da65a09f 100644
--- a/test/binaryen.js/sieve.js.txt
+++ b/test/binaryen.js/sieve.js.txt
@@ -73,12 +73,12 @@ optimized:
(drop
(memory.grow
(i32.sub
- (i32.div_u
+ (i32.shr_u
(i32.add
(local.get $0)
(i32.const 65535)
)
- (i32.const 65536)
+ (i32.const 16)
)
(memory.size)
)