This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26656] Optimization flaw on conditionnal set of a bit.
- From: "dominic dot quiet at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 21:41:52 -0000
- Subject: [Bug target/26656] Optimization flaw on conditionnal set of a bit.
- References: <bug-26656-12347@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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