public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "matz at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/22568] Should use cmov in some stituations
Date: Wed, 20 Jul 2005 14:27:00 -0000	[thread overview]
Message-ID: <20050720142052.894.qmail@sourceware.org> (raw)
In-Reply-To: <20050720134633.22568.arndt@jjj.de>


------- Additional Comments From matz at suse dot de  2005-07-20 14:20 -------
This still happens with 4.1.  I also can't make it use two cmovs, by changing 
the source a bit, e.g. like: 
 
typedef unsigned long ulong; 
extern ulong use (ulong, ulong); 
ulong f(ulong a, ulong b) 
{ 
  ulong tmp = a; 
  if (a < b) { 
    a = b; 
    b = tmp; 
  } 
  return use (a, b); 
} 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at suse dot de


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


  reply	other threads:[~2005-07-20 14:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-20 14:21 [Bug c++/22568] New: " arndt at jjj dot de
2005-07-20 14:27 ` matz at suse dot de [this message]
2005-07-20 15:14 ` [Bug rtl-optimization/22568] " pinskia at gcc dot gnu dot org
2005-08-31  9:42 ` rguenth at gcc dot gnu dot org
2005-09-01 12:38 ` rguenth at gcc dot gnu dot org
2005-09-02  9:47 ` bonzini at gcc dot gnu dot org
2005-09-02  9:54 ` rguenth 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=20050720142052.894.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).