rs6000: Some builtins require IBM-128 long double format (PR103623)
authorBill Schmidt <wschmidt@linux.ibm.com>
Tue, 14 Dec 2021 16:09:06 +0000 (10:09 -0600)
committerBill Schmidt <wschmidt@linux.ibm.com>
Tue, 14 Dec 2021 17:20:11 +0000 (11:20 -0600)
commit74aeb9726756aa79c21028712c26910866e33026
tree404713a5185c5a9a177a21a137887572c1b75406
parent3736837806fdb26daa51300bee1554bef89db9fe
rs6000: Some builtins require IBM-128 long double format (PR103623)

2021-12-14  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/
PR target/103623
* config/rs6000/rs6000-builtin-new.def (__builtin_pack_longdouble): Add
ibmld attribute.
(__builtin_unpack_longdouble): Likewise.
* config/rs6000/rs6000-call.c (rs6000_expand_new_builtin): Add special
handling for ibmld attribute.
* config/rs6000/rs6000-gen-builtins.c (attrinfo): Add isibmld.
(parse_bif_attrs): Handle ibmld.
(write_decls): Likewise.
(write_bif_static_init): Likewise.
gcc/config/rs6000/rs6000-builtin-new.def
gcc/config/rs6000/rs6000-call.c
gcc/config/rs6000/rs6000-gen-builtins.c