• Ben L. Titzer's avatar
    [asmjs] Implement asm.js stores in terms of regular branches. · ea6bcbc0
    Ben L. Titzer authored
    The CheckedLoad and CheckedStore machine operators are a form of
    macro node used in the backend of TurboFan. They express bounds-checked
    accesses to typed arrays in the asm.js style. While their semantics
    can be expressed as normal machine operations and branches in the
    graph, they were originally used to save compile time when graphs
    were very big. ASM->WASM->TF graphs are smaller.
    
    This CL implements asm.js bounds checks for stores using normal
    branch nodes and removes the need for CheckedStore, improving
    maintainability at some small cost to compilation time.
    
    R=mstarzinger@chromium.org
    CC=​bradnelson@chromium.org
    
    Bug: 
    Change-Id: I928689cfe33acac5a422f32cb014850ba09196f1
    Reviewed-on: https://chromium-review.googlesource.com/822471
    Commit-Queue: Ben Titzer <titzer@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50044}
    ea6bcbc0
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...