This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22902] float128 test failures with GCC 8


https://sourceware.org/bugzilla/show_bug.cgi?id=22902

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #5)
> (In reply to H.J. Lu from comment #4)
> > (In reply to joseph@codesourcery.com from comment #3)
> > > On Tue, 27 Feb 2018, hjl.tools at gmail dot com wrote:
> > > 
> > > > https://sourceware.org/bugzilla/show_bug.cgi?id=22902
> > > > 
> > > > --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
> > > > (In reply to joseph@codesourcery.com from comment #1)
> > > > > I suspect a GCC bug.
> > > > > 
> > > > > These functions rely on knowing that libgcc's soft-fp for float128 uses 
> > > > > the x87 rounding mode for 32-bit but the SSE rounding mode for 64-bit - 
> > > > 
> > > > My GCC is configured with -with-fpmath=sse.
> > > 
> > > I don't think that should make any difference as regards rounding modes.
> > >
> > 
> > It did make a difference.  These tests pass without SSE math.
> 
> It works with GCC 8 configured without -with-fpmath=sse.  Use
> -mfpmath=387 to build glibc makes no difference.  Does it mean
> that it is a libgcc bug?

These tests pass even using -mfpmath=sse -msse2 with GCC 8 configured
without -with-fpmath=sse.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]