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

--- Comment #1 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:80029561822fe4f010f72940527c4ee9ff8dbf56

commit r11-2188-g80029561822fe4f010f72940527c4ee9ff8dbf56
Author: Andreas Krebbel <kreb...@linux.ibm.com>
Date:   Fri Jul 17 08:49:29 2020 +0200

    Fix PR96127

    In s390_expand_insv the movstrict patterns are always generated with a
    CC clobber although only movstricthi actually needs one.  The patch
    invokes the expanders instead of constructing the pattern by hand.

    Bootstrapped and regression tested on s390x.

    gcc/ChangeLog:

            PR target/96127
            * config/s390/s390.c (s390_expand_insv): Invoke the movstrict
            expanders to generate the pattern.
            * config/s390/s390.md ("*movstricthi", "*movstrictqi"): Remove the
            '*' to have callable expanders.

    gcc/testsuite/ChangeLog:

            PR target/96127
            * gcc.target/s390/pr96127.c: New test.

Reply via email to