summaryrefslogtreecommitdiff
path: root/test/wasm2js/dynamicLibrary.2asm.js
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2020-09-30 05:36:17 +0300
committerGitHub <noreply@github.com>2020-09-29 19:36:17 -0700
commit7e99538386e047bddc41ad50b9762b7d4b9611b8 (patch)
treebd0d875a773e255c6e35be3806de71ec47250180 /test/wasm2js/dynamicLibrary.2asm.js
parent67a96ae60085366b59d64bc997c9e6525c247e27 (diff)
downloadbinaryen-7e99538386e047bddc41ad50b9762b7d4b9611b8.tar.gz
binaryen-7e99538386e047bddc41ad50b9762b7d4b9611b8.tar.bz2
binaryen-7e99538386e047bddc41ad50b9762b7d4b9611b8.zip
Simplify signed remainders compared with zero (#3153)
Specifically when the divisor is a power of two. `eqz((signed)x % C_pot)` -> `eqz(x & (C_pot - 1))` `(signed)x % C_pot != 0` -> `x & (C_pot - 1) != 0`
Diffstat (limited to 'test/wasm2js/dynamicLibrary.2asm.js')
0 files changed, 0 insertions, 0 deletions