• bmeurer's avatar
    [turbofan] Introduce CheckedInt32Div and CheckedInt32Mod operators. · 03bde266
    bmeurer authored
    Consume Smi/Signed32 feedback for division and modulus and introduce
    appropriate checked operators. This is especially important for modulus
    where the Float64Mod operator is significantly slower than Int32Mod on
    most platforms. For division it's mostly important to propagate
    integerness, i.e. to avoid follow-up conversions between float and
    int32.
    
    Drive-by-fix: Use Int32Mod for the ModulusStub (and the bytecode handler)
    when the inputs are both Smi.
    
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2138633002
    Cr-Commit-Position: refs/heads/master@{#37621}
    03bde266
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...