Chromium Code Reviews
DescriptionSubzero WASM: avoid needless comparisons, add bounds check flag option
Introduces a new BooleanVariable type which represents zero-extended
variables generated from an i1, saving a pointer to the original
i1. The Wasm frontend uses this to avoid comparing against 0 if
possible when translating branches. This led to about a 12%
improvement on the bzip2 spec benchmark.
This change also adds the -wasm-disable-bounds-check command line
option which omits bounds checking code.
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4369
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=80ee5b3ff70567d7fead7102e06c69e79dcd8804
Patch Set 1 #Patch Set 2 : Add BooleanVariable::classof #
Total comments: 6
Patch Set 3 : Code review feedback #
Total comments: 6
Messages
Total messages: 8 (2 generated)
|
|||||||||||||||||||||||||||||||||||||