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

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

https://gcc.gnu.org/g:a9b3c451be58f0fe660154323ace7ba72a4211ec

commit r12-3780-ga9b3c451be58f0fe660154323ace7ba72a4211ec
Author: Andreas Krebbel <kreb...@linux.ibm.com>
Date:   Wed Sep 22 09:32:21 2021 +0200

    IBM Z: Fix PR102222

    Avoid emitting a strict low part move if the insv target actually
    affects the whole target reg.

    gcc/ChangeLog:

            PR target/102222
            * config/s390/s390.c (s390_expand_insv): Emit a normal move if it
            is actually a full copy of the source operand into the target.
            Don't emit a strict low part move if source and target mode match.

    gcc/testsuite/ChangeLog:

            * gcc.target/s390/pr102222.c: New test.

Reply via email to