public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: Andreas Schwab <schwab@suse.de>
Cc: davidm@hpl.hp.com, libc-hacker@sources.redhat.com
Subject: Re: what are __ieee754_exp2l/__ieee754_log2l for?
Date: Fri, 12 Nov 2004 21:49:00 -0000	[thread overview]
Message-ID: <16789.12277.746376.514104@napali.hpl.hp.com> (raw)
In-Reply-To: <je8y98907k.fsf@sykes.suse.de>

BTW: you were right that the test-ldouble failures were not caused by
the lack of exp2l/log2l.  The problem is/was due to these failures:

 Failure: yn (0, inf) == 0: Exception "Invalid operation" set
 Failure: yn (1, inf) == 0: Exception "Invalid operation" set
 Failure: yn (3, inf) == 0: Exception "Invalid operation" set
 Failure: yn (10, inf) == 0: Exception "Invalid operation" set

These appear to be due to a compiler-bug, where a division is executed
needlessly and that division ends up modifying the floating-point
status register flags.  I'm seeing these problems with:

  gcc version 3.3.5 (Debian 1:3.3.5-2)

but not with:

  gcc version 3.4.2 (Debian 3.4.2-3)

Aren't you also using a 3.3.x-based compiler?  I take it that one
doesn't show the problem?

	--david

  parent reply	other threads:[~2004-11-12 21:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10 23:52 David Mosberger
2004-11-11  0:14 ` Andreas Schwab
2004-11-11  1:39   ` David Mosberger
2004-11-11  9:58     ` Andreas Schwab
2004-11-12  7:56       ` David Mosberger
2004-11-12 21:49       ` David Mosberger [this message]
2004-11-12 22:18         ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16789.12277.746376.514104@napali.hpl.hp.com \
    --to=davidm@napali.hpl.hp.com \
    --cc=davidm@hpl.hp.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).