• Zhi An Ng's avatar
    [x64] Sort out move instructions in codegen · 506c0979
    Zhi An Ng authored
    In AVX, it is better to use the appropriate integer or floating point
    moves depending on which instructions produce/consume these moves, since
    there can be a delay moving from integer to floating point domain. On
    SSE systems, it is less important, and we can move movaps/movups which
    is 1 byte shorter than movdqa/movdqu.
    
    This patch cleans up a couple of places, and defines macro-assembler
    functions Movdqa, Movdqu, Movapd, to call into movaps/movups when AVX is
    not supported.
    
    Change-Id: Iba6c54e218875f1a70f61792978d7b3f69edfb4b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2599843
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71884}
    506c0979
test-disasm-x64.cc 34.3 KB