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 target/26656] Optimization flaw on conditionnal set of a bit.



------- Comment #4 from dominic dot quiet at gmail dot com  2006-03-12 21:41 -------
Created an attachment (id=11032)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11032&action=view)
My results with -march=athlon-xp

The behavior of the ?: compared to without -march=athlon-xp may be a sign that
-march=athlon-xp (I don't know about Intel CPUs and other AMD CPUs) generate
slower code for (<condition> ? <power of 2> : 0) operations in general, not
just in that case (see my first post in this bug for more details about the
generated code), but I don't have time to test it right now. Maybe it's worth
opening another bug...


-- 


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


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