Bug 238129 - Please enable the type __float128 that is already supported by clang
Summary: Please enable the type __float128 that is already supported by clang
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-toolchain mailing list
Depends on:
Reported: 2019-05-26 01:47 UTC by Yuri Victorovich
Modified: 2019-07-06 14:15 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2019-05-26 01:47:57 UTC
Since clang supports it and there is no equivalent 128-bit type currently supported by clang, please enable it.

In the current ML conversation it has been revealed: "But from clang's OSTargets.h file, it looks like 128 bit float support is never set to enabled for FreeBSD." [1]


[1] hackers@ thread: https://lists.freebsd.org/pipermail/freebsd-hackers/2019-May/054660.html
Comment 1 Conrad Meyer freebsd_committer 2019-05-26 04:29:21 UTC
Is there some reason the compiler should emulate a floating point mode that doesn't exist on any hardware, rather than using a separate library like MPFR?
Comment 2 Yuri Victorovich freebsd_committer 2019-05-26 04:35:49 UTC
(In reply to Conrad Meyer from comment #1)

IMO, this question should be directed to the clang team. Once they have some feature we shouldn't be second guessing their judgement.
Comment 3 Dimitry Andric freebsd_committer 2019-07-06 14:15:56 UTC
As mentioned on the mailing list, it is not a matter of just "enabling" float128. Somebody has to step up and write a BSD licensed quadmath.h, to start with.