ppc32: math failures - logb_downward (1) gives wrong result

Andreas Jaeger aj@suse.com
Fri Jun 22 08:27:00 GMT 2012


On 06/21/2012 11:09 PM, Joseph S. Myers wrote:
> On Thu, 21 Jun 2012, Andreas Jaeger wrote:
>
>> Build current trunk (as of yesterday) on s390 with gcc 4.7, I see a couple of
>> failures in the math testsuite:
>
> ppc32 or s390?  For ppc32 it's a known GCC bug (though there may not be an
> entry in GCC Bugzilla for it): the code sequence generated for converting
> integers to floating-point, on older processors, wrongly converts 0 to -0
> in round-downwards mode (if -frounding-math, a more complicated sequence
> should be used instead that temporarily sets round-to-nearest mode).

ppc32 - I need to investigate the s390 failures separately.

thanks for the info,
Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126




More information about the Libc-alpha mailing list