public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joern Rennecke <amylaar@cygnus.co.uk>
To: rth@cygnus.com
Cc: amylaar@cygnus.co.uk, wilson@cygnus.com, rth@cygnus.com, egcs@cygnus.com
Subject: Re: alpha failure on 920810-1
Date: Thu, 30 Apr 1998 10:25:00 -0000	[thread overview]
Message-ID: <199804301651.RAA14133@phal.cygnus.co.uk> (raw)
In-Reply-To: <19980429225753.08852@dot.cygnus.com>

> On Wed, Apr 29, 1998 at 10:13:05PM +0100, Joern Rennecke wrote:
> > If it tests only if all bits are zero, I think we should express this
> > as a DImode equality test to zero:
> > 
> >         (set (reg:DF 1)
> >           (eq:DF (reg:DF 2) (reg:DF 3)))
> >         (set (reg:DF 4)
> >           (if_then_else:DF (eq (subreg:DI (reg:DF 1) 0)
> >                                (const_int 0))
> >                            (reg:DF 5)
> >                            (reg:DF 4)))
> 
> Unfortunately that is not the whole truth.  I read the fine print
> last night and found that it handles -0.0 specially, so it is not
> really a DImode compare.  Which is unfortunate, since I'd like to 
> be able to do real DImode comparisons with them...

If that is the case, what is the problem?  After all, this is an
equality comparison, and if a NaN is found unequal because it is
unequal to everything, or becuase it is unequal to 0, doesn't really matter,
does it?

Or are you missing signals when you are comparing signaling NaNs?

  reply	other threads:[~1998-04-30 10:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-27  1:41 Richard Henderson
1998-04-27  8:47 ` Joern Rennecke
1998-04-27 13:59   ` Richard Henderson
1998-04-28 22:14 ` Jim Wilson
1998-04-29  2:20   ` Richard Henderson
1998-04-29 12:27     ` Jim Wilson
1998-04-29 16:08   ` Joern Rennecke
1998-04-29 22:57     ` Richard Henderson
1998-04-30 10:25       ` Joern Rennecke [this message]
1998-04-30 13:20         ` Richard Henderson
1998-04-30 22:29       ` Richard Henderson
1998-05-08 16:08         ` Jeffrey A Law
1998-05-09  2:05           ` Richard Henderson
1998-05-06 23:49 ` Jeffrey A Law

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=199804301651.RAA14133@phal.cygnus.co.uk \
    --to=amylaar@cygnus.co.uk \
    --cc=egcs@cygnus.com \
    --cc=rth@cygnus.com \
    --cc=wilson@cygnus.com \
    /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).