• Pierre Langlois's avatar
    [arm64] Generate TBNZ for 32-bit '(x & (1 << N)) == (1 << N)' · 77021584
    Pierre Langlois authored
    Add support for matching '(x & mask) == mask' when mask has a single bit set,
    and translate this into a tbnz instruction. This patch only does this for 32-bit
    operations, we can port it to 64-bit operations as a follow-up if we find
    matches.
    
    This transformation mostly touches the snapshot where we get ~120 hits. This pattern can
    also show up in JavaScript when introduced by the EffectControlLinearizer pass.
    
    Bug: 
    Change-Id: Ib37c6e0bd3831b7c17709357b00ca53735621605
    Reviewed-on: https://chromium-review.googlesource.com/803272Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#49822}
    77021584
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector 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...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests 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...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...