• Ng Zhi An's avatar
    [wasm-simd][ia32] Fix ext add codegen · 39f9936c
    Ng Zhi An authored
    The main problem here is that the macro-assembler for Pmaddubsw and
    Pmaddwd expects dst == src1 when AVX is not supported.
    
    For Pmaddwd, we use an existing macro to define the function.
    
    For Pmaddubsw, we do the AVX check inline and use movaps if not
    supported because it requires a SSSE3 scope, and we don't have an
    existing macro to do this (we can find other uses and clean up as
    necessary in the future).
    
    Bug: v8:11086
    Change-Id: I97bd29cd93456744414d28e5f1ffcbc875c3ab22
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2716740Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73111}
    39f9936c
macro-assembler-ia32.h 44.3 KB