public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions
Date: Thu, 01 Feb 2007 08:16:00 -0000	[thread overview]
Message-ID: <20070201081633.12485.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30652-1649@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from ubizjak at gmail dot com  2007-02-01 08:16 -------
(In reply to comment #2)
> The generic implementation, including for SSE, is 

I don't think we want to be too generic there. We should not implement proposed
transformations as part of fold_builtin_classify() [builtins.c] as this would
penalize soft-float targets too much. In this case, we would trade one call to
isinf() to calls to __unorddf2 and__ledf2 plus fabs() bit-manipulation. For
isnan(), we trade the call to isnan to the call to __unorddf2.

IMO, we still need optabs here...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30652


  parent reply	other threads:[~2007-02-01  8:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 12:39 [Bug target/30652] New: " ubizjak at gmail dot com
2007-01-31 12:57 ` [Bug target/30652] " rguenth at gcc dot gnu dot org
2007-02-01  0:28 ` rth at gcc dot gnu dot org
2007-02-01  8:16 ` ubizjak at gmail dot com [this message]
2007-06-13 15:57 ` ghazi at gcc dot gnu dot org
2007-06-16  3:44 ` ghazi at gcc dot gnu dot org
2007-07-18 17:31 ` ghazi at gcc dot gnu dot org
2007-07-18 17:42 ` ghazi at gcc dot gnu dot org
2007-07-18 17:51 ` ghazi at gcc dot gnu dot org
2007-07-18 18:01 ` ghazi at gcc dot gnu dot org
2008-03-14 16:46 ` rguenth at gcc dot gnu dot org
2008-06-07  4:03 ` ghazi at gcc dot gnu dot org
2009-11-22 17:58 ` ghazi at gcc dot gnu dot org

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=20070201081633.12485.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).