• Ng Zhi An's avatar
    [wasm-simd] Share i8x16.splat implementation · bb12c48a
    Ng Zhi An authored
    The optimal implementation is in TurboFan x64 codegen, move it into
    shared-macro-assembler, and have TurboFan ia32 and Liftoff use it. The
    optimal implementation accounts for AVX2 support.
    
    We add a couple of AVX2 instruction to ia32 in sse-instr.h, not all of
    them are used, but follow-up patches will use them, so we add support
    (including diassembly and test) in this change.
    
    Drive-by clean up to test-disasm-x64.cc to merge 2 AVX2 test sections.
    
    Bug: v8:11589
    Change-Id: I1c8d7deb0f8bb70b29e7a680e5dbcfb09ca5505b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3092555Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76352}
    bb12c48a
test-disasm-ia32.cc 34.6 KB