Re: clang miscompiles OpenLibm on i686-*-freebsd

2020-09-08 Thread Steve Kargl
On Mon, Sep 07, 2020 at 07:55:13PM -0700, Steve Kargl wrote: > On Mon, Sep 07, 2020 at 07:10:02PM -0700, Steve Kargl wrote: > > > > Interval tested for exp2f: [1,8] > >ulp <= 0.5: 0.056% 14072 | 0.056% 14072 > > 0.5 < ulp < 0.6: 0.000% 8 | 0.056% 14080 > > 3.0 <

Re: clang miscompiles OpenLibm on i686-*-freebsd

2020-09-08 Thread Dimitry Andric
On 8 Sep 2020, at 19:47, Steve Kargl wrote: > > On Mon, Sep 07, 2020 at 07:55:13PM -0700, Steve Kargl wrote: >> On Mon, Sep 07, 2020 at 07:10:02PM -0700, Steve Kargl wrote: >>> >>> Interval tested for exp2f: [1,8] >>> ulp <= 0.5: 0.056% 14072 | 0.056% 14072 >>> 0.5 < ulp < 0.6

[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)

2020-09-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 --- Comment #30 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Tue Sep 8 20:02:09 UTC 2020 New revision: 365471 URL: https://svnweb.freebsd.org/changeset/base/365471 Log: MFC r364753: Add atomic and

[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)

2020-09-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 Dimitry Andric changed: What|Removed |Added Resolution|--- |FIXED Status|In Progr

[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)

2020-09-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 --- Comment #31 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Tue Sep 8 20:28:40 UTC 2020 New revision: 365472 URL: https://svnweb.freebsd.org/changeset/base/365472 Log: Revert r365471 as it is breakin

[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)

2020-09-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 --- Comment #32 from Dimitry Andric --- Reopen, as various stable builds with old gcc's broke due to base r365471, with lots of errors similar to: /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:68: warning: implicit declar

Re: clang miscompiles OpenLibm on i686-*-freebsd

2020-09-08 Thread Steve Kargl
On Tue, Sep 08, 2020 at 09:11:50PM +0200, Dimitry Andric wrote: > On 8 Sep 2020, at 19:47, Steve Kargl > wrote: > > > > I think I've found the problem, and it appears to be > > due to a change byt Openlibm developers to the file > > math_private.h copied from FreeBSD. Namely, one finds > > > >