Re: [PATCH] IBM Z: Fix "+fvm" constraint with long doubles

2021-03-16 Thread Andreas Krebbel via Gcc-patches
On 3/16/21 1:16 AM, Ilya Leoshkevich wrote: > Bootstrapped and regtested on s390x-redhat-linux. Ok for master? > > > > When a long double is passed to an asm statement with a "+fvm" > constraint, a LRA loop occurs. This happens, because LRA chooses the > widest register class in this case

[PATCH] IBM Z: Fix "+fvm" constraint with long doubles

2021-03-15 Thread Ilya Leoshkevich via Gcc-patches
Bootstrapped and regtested on s390x-redhat-linux. Ok for master? When a long double is passed to an asm statement with a "+fvm" constraint, a LRA loop occurs. This happens, because LRA chooses the widest register class in this case (VEC_REGS), but the code generated by s390_md_asm_adjust()