public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/96958] New: Long Double in Hash Table policy forces soft-float calculations
@ 2020-09-07 16:12 jgreenhalgh at gcc dot gnu.org
  2020-09-07 16:24 ` [Bug libstdc++/96958] " jgreenhalgh at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2020-09-07 16:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958

            Bug ID: 96958
           Summary: Long Double in Hash Table policy forces soft-float
                    calculations
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jgreenhalgh at gcc dot gnu.org
  Target Milestone: ---

It was pointed out that some forks of GCC (
https://github.com/FEX-Emu/gcc/commit/8a2b7389f50a50a4e26ec98101d47fb1fc1c1bcd
) reduce the hashtable policy implementation from a long double to a double.
Doing this reduces it from a soft-float calculation to hardware floating-point.

Reading the discussion on libstdc++ from when this code was introduced the
intention was to provide massive amounts of forwards compatibility for Very Big
hash tables. We're taking quite an efficiency hit for that future proofing.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-10-31 13:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 16:12 [Bug libstdc++/96958] New: Long Double in Hash Table policy forces soft-float calculations jgreenhalgh at gcc dot gnu.org
2020-09-07 16:24 ` [Bug libstdc++/96958] " jgreenhalgh at gcc dot gnu.org
2020-09-07 17:45 ` redi at gcc dot gnu.org
2020-09-08  6:35 ` rguenth at gcc dot gnu.org
2020-09-08 10:54 ` redi at gcc dot gnu.org
2020-09-16 17:17 ` houdek.ryan@fex-emu.org
2020-10-30 21:20 ` cvs-commit at gcc dot gnu.org
2020-10-31  0:20 ` redi at gcc dot gnu.org
2020-10-31  1:13 ` cvs-commit at gcc dot gnu.org
2020-10-31  1:15 ` redi at gcc dot gnu.org
2020-10-31 12:50 ` redi at gcc dot gnu.org
2020-10-31 13:00 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).