diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2020-12-14 14:05:28 +0100 |
---|---|---|
committer | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-01-08 17:43:24 +0100 |
commit | f47df2af313d2ce7f9149149010a142c2237beda (patch) | |
tree | 2cb0a47b36c0630ef29ade877e97d74ac689224a /gcc/function.c | |
parent | 98546324c799c5c2d00491ab64e8dee3c3b0120e (diff) | |
download | gcc-f47df2af313d2ce7f9149149010a142c2237beda.zip gcc-f47df2af313d2ce7f9149149010a142c2237beda.tar.gz gcc-f47df2af313d2ce7f9149149010a142c2237beda.tar.bz2 |
IBM Z: Introduce __LONG_DOUBLE_VX__ macro
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 <iii@linux.ibm.com>
* config/s390/s390-c.c (s390_def_or_undef_macro): Accept
callables instead of mask values.
(struct target_flag_set_p): New predicate.
(s390_cpu_cpp_builtins_internal): Define or undefine
__LONG_DOUBLE_VX__ macro.
2020-12-14 Ilya Leoshkevich <iii@linux.ibm.com>
gcc/testsuite/ChangeLog:
* gcc.target/s390/vector/long-double-vx-macro-off-on.c: New test.
* gcc.target/s390/vector/long-double-vx-macro-on-off.c: New test.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions