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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>:

https://gcc.gnu.org/g:5205f5b54ad769969ffd89978ba1bcee41380bf8

commit r13-2347-g5205f5b54ad769969ffd89978ba1bcee41380bf8
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Thu Sep 1 20:20:06 2022 +0200

    i386: Fix conversion of move to/from AX_REG into xchg [PR106707]

    The conversion of a move pattern where both operands are AX_REG
    should be prevented.

    2022-09-01  Uroš Bizjak  <ubiz...@gmail.com>

    gcc/ChangeLog:

            PR target/106707
            * config/i386/i386.md (moves to/from AX_REG into xchg peephole2):
            Do not convert a move pattern where both operands are AX_REG.

    gcc/testsuite/ChangeLog:

            PR target/106707
            * gcc.target/i386/pr106707.c: New test.

Reply via email to