Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2019 08:08:09 -0400
From:      Diane Bruce <db@db.net>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Yuri <yuri@rawbw.com>, Konstantin Belousov <kostikbel@gmail.com>, Freebsd hackers list <freebsd-hackers@freebsd.org>, emaste@freebsd.org, cy@freebsd.org
Subject:   Re: What is the portable 128-bit floating point type?
Message-ID:  <20190526120809.GB65430@night.db.net>
In-Reply-To: <6183B49B-76F2-4ABF-A6A2-D170C6164553@FreeBSD.org>
References:  <eb15d9e4-c1d4-3886-a3b7-1264c12396cd@rawbw.com> <20190525200437.GV2748@kib.kiev.ua> <e13bc70d-4d7e-3407-a0a0-14a64f94addd@rawbw.com> <20190525210311.GW2748@kib.kiev.ua> <3E0ACABC-D17B-45AD-9810-06ADA52F597A@FreeBSD.org> <6d9857d7-9624-2013-81e0-191c78ed3a4f@rawbw.com> <6183B49B-76F2-4ABF-A6A2-D170C6164553@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 26, 2019 at 12:02:34PM +0200, Dimitry Andric wrote:
> On 26 May 2019, at 02:20, Yuri <yuri@rawbw.com> wrote:
> > 
> > On 2019-05-25 14:30, Dimitry Andric wrote:
> >> But from clang's OSTargets.h file, it looks like 128 bit float support
> >> is never set to enabled for FreeBSD.
> > 
> > 
> > If clang supports __float128, and clang is FreeBSD's main compiler, shouldn't it be enabled on FreeBSD then?
> 
> It probably should, but those kinds of things don't just magically appear
> out of thin air: Somebody(TM) has to do the actual work to implement the
> support, test it, maintain it, and so on.  Apparently there has not yet
> been any great need for this floating point precision.
> 
> Are you volunteering? :)

I've been slowly looking at it already in my copious spare time.
It's really something we should be supporting. The libgcc_s wrong version
problem is being dealt with by others by linking gfortran with a static
version of libgcc_s (!). (As discussed with Cy at BSDCan 2019)
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120#c24
specifically comment 35

> 
> -Dimitry
> 
> P.S.: I believe one of the first requirements is a <quadmath.h> header.
> 

- Diane
-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190526120809.GB65430>