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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 21:45:29 -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 #5 from pinskia at gcc dot gnu dot org 2006-03-12 21:45 -------
Your benchmark is bad news as one rand is not a good randomizer for the lower
bits, oh after 127, the condition for your benchmark becomes always true which
is why it gets slower again.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Optimization flaw on |Optimization flaw on
|conditional set of a bit. |conditionnal set of a bit.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26656