• Benedikt Meurer's avatar
    [turbofan] Further optimize DataView accesses. · 5fecd146
    Benedikt Meurer authored
    This adds support for unaligned load/store access to the DataView
    backing store and uses byteswap operations to fix up the endianess
    when necessary. This changes the Word32ReverseBytes operator to be
    a required operator and adds the missing support on the Intel and
    ARM platforms (on 64-bit platforms the Word64ReverseBytes operator
    is also mandatory now).
    
    This further improves the performance on the dataviewperf.js test
    mentioned in the tracking bug by up to 40%, and at the same time
    reduces the code complexity in the EffectControlLinearizer.
    
    Bug: chromium:225811
    Change-Id: I7c1ec826faf46a144a5a9068f8f815a5fd040997
    Reviewed-on: https://chromium-review.googlesource.com/1174252Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55111}
    5fecd146
instruction-selector-x64.cc 94 KB