• Zhi An Ng's avatar
    [wasm-simd][x64] Optimize arch shuffle if AVX supported · 46ce9b05
    Zhi An Ng authored
    AVX has 3-operands shuffle/unpack operations. We currently always
    require that dst == src0 in all cases, which is not required if we have
    AVX. For the arch shuffles that map to a single native instruction, add
    support to check for AVX in the instruction-selector, to not require
    same as first, and in the code-gen to support generating AVX.
    
    The other arch shuffles are slightly more complicated, and can be
    optimized in a future change.
    
    Bug: v8:11270
    Change-Id: I25b271aeff71fbe860d5bcc8abb17c36bcdab32c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2591858Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71820}
    46ce9b05
Name
Last commit
Last update
..
code-generator-x64.cc Loading commit data...
instruction-codes-x64.h Loading commit data...
instruction-scheduler-x64.cc Loading commit data...
instruction-selector-x64.cc Loading commit data...
unwinding-info-writer-x64.cc Loading commit data...
unwinding-info-writer-x64.h Loading commit data...