summaryrefslogtreecommitdiff
path: root/src/wasm-stack.h
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-10-12 20:20:30 +0300
committerGitHub <noreply@github.com>2021-10-12 10:20:30 -0700
commitcd4e0e8ca447158dcc7c7f95cac2adcc43f99094 (patch)
treec3a899faddfeccbbf160c9ce14b4c6193f076b97 /src/wasm-stack.h
parent5071f49988f65a5e8634714a7763ecce414651fe (diff)
downloadbinaryen-cd4e0e8ca447158dcc7c7f95cac2adcc43f99094.tar.gz
binaryen-cd4e0e8ca447158dcc7c7f95cac2adcc43f99094.tar.bz2
binaryen-cd4e0e8ca447158dcc7c7f95cac2adcc43f99094.zip
[Costs] More precise costs for int div & rem (#4229)
Div/rem by a constant can be optimized by VMs, so it is usually closer to the speed of a mul. Div on 64-bit (either with or without a constant) can be slower than 32-bit, so bump that up by one as well.
Diffstat (limited to 'src/wasm-stack.h')
0 files changed, 0 insertions, 0 deletions