[Bug middle-end/19154] miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values

a dot kaiser at gmx dot net gcc-bugzilla@gcc.gnu.org
Thu May 29 17:02:00 GMT 2008



------- Comment #6 from a dot kaiser at gmx dot net  2008-05-29 17:01 -------
In a similar case I've got the impression that the ifcombine pass might be
responsible for rewriting the "if" into shift and mask. It is rather
questionable whether this really optimizes things for simple targets which jump
faster as they can shift.

I am suprised however, that many optimization strategies can be disabled by
some -fxxx option, but not this one. A first and probably simple approach could
be, to just add such an option.


-- 

a dot kaiser at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a dot kaiser at gmx dot net


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



More information about the Gcc-bugs mailing list