This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22568] Should use cmov in some stituations


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]