https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104059

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

https://gcc.gnu.org/g:0103c2e4082c5a342a6834d31ea52bc7e5498016

commit r12-7089-g0103c2e4082c5a342a6834d31ea52bc7e5498016
Author: liuhongt <hongtao....@intel.com>
Date:   Mon Jan 24 18:17:47 2022 +0800

    Don't propagate for a more expensive reg-reg move.

    For i386, it enables optimization like:

            vmovd   %xmm0, %edx
    -       vmovd   %xmm0, %eax
    +       movl    %edx, %eax

    gcc/ChangeLog:

            PR rtl-optimization/104059
            * regcprop.cc (copyprop_hardreg_forward_1): Don't propagate
            for a more expensive reg-reg move.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr104059.c: New test.
  • [Bug rtl-optimization/104059] [... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to