Re: [PATCH] IBM Z: Introduce __LONG_DOUBLE_VX__ macro

2021-01-08 Thread Andreas Krebbel via Gcc-patches
On 1/8/21 1:17 AM, Ilya Leoshkevich wrote: > + s390_def_or_undef_macro ( > + pfile, > + [] (const struct cl_target_option *opts) { return TARGET_Z14_P (opts); > }, > + old_opts, opts, "__LONG_DOUBLE_VX__", "__LONG_DOUBLE_VX__"); Shouldn't this rather check TARGET_VXE_P instead?

[PATCH] IBM Z: Introduce __LONG_DOUBLE_VX__ macro

2021-01-07 Thread Ilya Leoshkevich via Gcc-patches
Bootstrapped and regtested on s390x-redhat-linux. Ok for master? Give end users the opportunity to find out whether long doubles are stored in floating-point register pairs or in vector registers, so that they could fine-tune their asm statements. gcc/ChangeLog: 2020-12-14 Ilya Leoshkevich