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

--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ilya Leoshkevich <i...@gcc.gnu.org>:

https://gcc.gnu.org/g:4f48c335d36674f90046b2823f0ac1c0545dc082

commit r12-379-g4f48c335d36674f90046b2823f0ac1c0545dc082
Author: Ilya Leoshkevich <i...@linux.ibm.com>
Date:   Mon Apr 26 14:12:08 2021 +0200

    IBM Z: Handle hard registers in s390_md_asm_adjust()

    gen_fprx2_to_tf() and gen_tf_to_fprx2() cannot handle hard registers,
    since the subregs they create do not pass validation.  Change
    s390_md_asm_adjust() to manually copy between hard VRs and FPRs instead
    of using these two functions.

    gcc/ChangeLog:

            PR target/100217
            * config/s390/s390.c (s390_hard_fp_reg_p): New function.
            (s390_md_asm_adjust): Handle hard registers.

    gcc/testsuite/ChangeLog:

            PR target/100217
            * gcc.target/s390/vector/long-double-asm-in-out-hard-fp-reg.c: New
test.
            * gcc.target/s390/vector/long-double-asm-inout-hard-fp-reg.c: New
test.

Reply via email to