[PATCH 05/34] rs6000: Add available-everywhere and ancient builtins

Segher Boessenkool segher@kernel.crashing.org
Tue Aug 10 17:34:34 GMT 2021


On Tue, Aug 10, 2021 at 11:17:05AM -0500, will schmidt wrote:
> On Thu, 2021-07-29 at 08:30 -0500, Bill Schmidt wrote:
> > +; This will break for long double == _Float128.  libgcc history.
> > +  const long double __builtin_pack_longdouble (double, double);
> > +    PACK_TF packtf {}
> 
> Add a few more words to provide bigger hints for future archeological
> digs?  (This is perhaps an obvious issue, but I'd need to do some
> spelunking)

It is for __ibm128 only, not for other long double formats (we have
three: plain double, double double, IEEE QP).  So maybe the return type
should be changed?  The name of the builtin of course is unfortunate,
but it is too late to change :-)


Segher


More information about the Gcc-patches mailing list