• jiepan's avatar
    [x64] Implement 256-bit assembler for SSE2_AVX instructions. · 411bb69c
    jiepan authored
        Not all the SSE2 instructions can be extended to
    256-bit wide AVX instructions, AVX only supports 128-bit
    wide packed integer operands, while AVX2 supports both
    128-bit and 256-bit wide packed integer operands. Moreover,
    the 256-bit shift instructions use XMM register/m128 to store
    the shift count, while all the operands of others are YMM
    registers/m256 operands,so we have to divide the
    SSE2_INSTRUCTION_LIST into 3 lists, packed double, packed
    integer and packed integer shift.
    
    Bug: v8:12228
    Change-Id: Ieb240673ec51eec4315871e873e145a59bf16d5a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3246760Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
    Commit-Queue: Jie Pan <jie.pan@intel.com>
    Cr-Commit-Position: refs/heads/main@{#77583}
    411bb69c
sse-instr.h 7.18 KB