• Leszek Swirski's avatar
    [x64] Avoid movl into register for cmpl · e66547b7
    Leszek Swirski authored
    Avoid materializing a compressed value into a register if that value is
    only used for a compare afterward. Instead, emit it directly as an
    immediate on the cml. We can only do this for the Cmp(Register,...)
    overload, not Cmp(Operand,...), since the latter already has the lhs as
    a complex operand.
    
    Change-Id: I99f192c9919e401164d31d2e2e1c3a0c21a6aaf0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3762577
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81721}
    e66547b7
Name
Last commit
Last update
..
assembler-x64-inl.h Loading commit data...
assembler-x64.cc Loading commit data...
assembler-x64.h Loading commit data...
constants-x64.h Loading commit data...
cpu-x64.cc Loading commit data...
fma-instr.h Loading commit data...
interface-descriptors-x64-inl.h Loading commit data...
macro-assembler-x64.cc Loading commit data...
macro-assembler-x64.h Loading commit data...
register-x64.h Loading commit data...
reglist-x64.h Loading commit data...
sse-instr.h Loading commit data...